License Recovery

vane bojcev 0 Reputation points
2026-05-21T15:40:51.36+00:00

Hi I need help recovering the license for server 19, i have the license server ID as well as the license Key Pack ID i need the license code.

Windows for business | Windows Server | Devices and deployment | Recovery key
0 comments No comments

2 answers

Sort by: Newest
  1. HLBui 12,140 Reputation points Independent Advisor
    2026-05-21T16:26:00.61+00:00

    Hi vane bojcev

    The License Server ID and the License Key Pack ID is a good start, but unfortunately Microsoft doesn’t provide the actual license code directly from those values. The way to recover it is by going through the Volume Activation Management Tool (VAMT) or by contacting the Microsoft Clearinghouse support team. They’ll validate your IDs and reissue or recover the license for you. If you’re running this on Windows Server 2019, you can also use the Remote Desktop Licensing Manager to re-install the key pack using those IDs. Just keep in mind that the license code itself isn’t something we can generate internally it has to come from Microsoft’s official channels for compliance reasons.

    If this clears things up and points you in the right direction, please go ahead and hit “Accept Answer” so I know it helped you out.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

  2. AI answer

    2026-05-21T15:41:06.0366667+00:00

    To recover or migrate Remote Desktop Services (RDS) / Terminal Services CALs for Windows Server 2019 when the license server ID and license key pack ID are available, use the Microsoft Clearinghouse and the RDS licensing tools rather than trying to obtain a separate “license code.” The key pack ID is what is used to reinstall or migrate CALs.

    Use one of these supported approaches:

    1. Migrate or reinstall CALs via the RDS Licensing Wizard
    2. Install and activate the Remote Desktop Licensing role on the (new or existing) Windows Server 2019 license server.
    3. Open Remote Desktop Licensing Manager (or Terminal Server Licensing on older versions).
    4. Right‑click the license server, select Install Licenses.
    5. On Obtain Client License Key Pack, choose the appropriate License Program and proceed.
    6. When prompted, provide the information from the original purchase (agreement/enrollment number, etc.) and use the existing license key pack ID to migrate the CALs to this server.
    7. Complete the wizard to apply the CALs.

    If using the older Terminal Services UI, set the installation method to Telephone, then:

    1. In the wizard, note the license server ID.
    2. Call the Microsoft Clearinghouse using the phone number shown in the wizard.
    3. Provide the license server ID and your existing license key pack ID and purchase details.
    4. The Clearinghouse will validate and, if appropriate, issue a license key pack ID that can be entered back into the wizard to reinstall/migrate the CALs.
    5. Recover CALs using Microsoft Clearinghouse (phone/web) If the wizard cannot complete online, or if the CALs were previously installed on another server:
    6. Use the license server ID from the current server.
    7. Contact the Microsoft Clearinghouse:
      • Via the activation site: Remote Desktop Services
      • Or by phone using the number shown in the wizard (for example, 1‑888‑571‑2048 in the referenced article).
    8. Provide:
      • License server ID
      • Existing license key pack ID
      • Purchase details (agreement/enrollment number from the paper agreement or volume licensing documentation)
    9. The Clearinghouse will generate or confirm a license key pack ID that can be entered into the licensing wizard to reinstall the CALs.
    10. WMI options for reinstall/import (advanced/automated) If scripting or automation is required on Windows Server 2019 (supported from Windows Server 2008 onward), use the Win32_TSLicenseKeyPack WMI class in the root\CIMV2 namespace:
    • To reinstall a retail purchase key pack:
      • ReinstallRetailPurchaseLicenseKeyPack(sLicenseCode, KeyPackId) – uses the 25‑character license code (no hyphens).
    • To reinstall a key pack obtained via Internet/phone:
      • ReinstallLicenseKeyPackOffline(sLicenseKeyPackId, KeyPackId) – uses the 35‑character license key pack ID (no hyphens).
    • To import a key pack from another license server (offline):
      • ImportLicenseKeyPackOffline(sLicenseKeyPackId, sSourceLSName, sSourceLSProductId, KeyPackId) – uses the 35‑character license key pack ID, the source license server name, and its 35‑character product ID.

    These methods do not reveal a separate “license code” beyond the license key pack ID and license code already provided by Microsoft; they are used to reinstall or import existing CALs onto a license server.

    If the original purchase documentation or volume licensing agreement details are missing, or if the key pack cannot be recovered through the wizard, contact Microsoft Volume Licensing or the Microsoft Clearinghouse with your license server ID, license key pack ID, and purchase agreement information so they can assist in recovering or reissuing the CALs.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.