Skip to content
0
Windows Server

How to Install RDS CALs on Windows Server

Install the Remote Desktop Licensing role, activate the license server, add your RDS CALs, and point the session host at it. Steps for 2019, 2022 and 2025.

To install RDS CALs, add the Remote Desktop Licensing role, open Remote Desktop Licensing Manager, activate the license server, install your license pack with the Retail Purchase program, then set the licensing mode and license server on your session host. Without this, Remote Desktop works only during a limited grace period.

What you need

  • A Windows Server with the Remote Desktop Services roles. The session host and the license server can be the same machine in a small setup.
  • Administrator rights and internet access, or a phone for activation.
  • Your CAL license code, and the number of licenses you bought. The CAL version must be equal to or newer than the server version.
  • A choice of Per User or Per Device. Read RDS CALs explained if you are not sure.

Step 1: add the Remote Desktop Licensing role

  1. Open Server Manager and select Add roles and features.
  2. Choose Remote Desktop Services installation, or role-based installation if you add a role to a standalone server.
  3. In the role services, tick Remote Desktop Licensing.
  4. Finish the wizard and wait for the install to complete. A restart is not usually required.

Step 2: activate the license server

  1. Open Remote Desktop Licensing Manager from Administrative Tools (the program is licmgr).
  2. Right-click the server name and choose Activate Server.
  3. Pick Automatic connection if the server has internet access, and fill in your name and company. For a server without internet, choose web browser or telephone and follow the screens.
  4. Leave Start Install Licenses Wizard now ticked and select Next.

Activation proves to Microsoft that your license server is legitimate. It does not consume a license.

Step 3: install the CAL pack

  1. In the Install Licenses Wizard, choose the license program. For a license bought as a retail key, choose Retail Purchase.
  2. Enter the license code from your order.
  3. Select the product version, for example Windows Server 2022, and the license type, Per User or Per Device.
  4. Enter the quantity, which is the number of licenses in the pack.
  5. Finish. The pack appears under the server in License Manager.

Step 4: point the session host to the license server

For a Remote Desktop deployment managed by Server Manager:

  1. Open Server Manager, then Remote Desktop Services, then Overview.
  2. In Deployment Overview, open Tasks, then Edit Deployment Properties, and select RD Licensing.
  3. Choose Per Device or Per User, add the license server and apply.

For a standalone session host, set the same two items with Group Policy: Use the specified Remote Desktop license servers and Set the Remote Desktop licensing mode.

Step 5: check that it works

Open RD Licensing Diagnoser from Administrative Tools under Remote Desktop Services. It reports whether the license server is reachable, activated and has licenses for your mode. A green status means clients will receive CALs.

Common problems

Problem Likely cause Fix
Message that the grace period is over No license server configured Complete Step 4
Licenses not issued Wrong licensing mode Match Per User or Per Device to the pack
Server cannot be activated No internet, firewall Use web browser or phone activation
Licenses not accepted by the server CAL version older than the server Buy CALs of the same version as the server, or newer

Microsoft documents the full process in its guide to licensing your RDS deployment with client access licenses.

Where to get CAL packs

Webdigikey sells 50-license packs: Windows Server 2022 user CALs and device CALs, and the same for Windows Server 2025 with device CALs. For counting how many you need, see How many Windows Server CALs do you need?.

Frequently asked questions

How long can I use Remote Desktop without licenses?

Microsoft allows a grace period of 120 days for a deployment without a license server. After that, connections need a valid CAL.

Can the license server be a different machine?

Yes. Many companies use a small, separate server for licensing so session hosts can be rebuilt freely.

Do I need to reinstall CALs after I rebuild the server?

Yes, unless you restore the license database. Keep your license codes and a backup of the licensing database.

Does an upgrade of Windows Server keep the CALs?

CALs stay valid if their version is equal to or newer than the server. Reinstall them on the new license server if it changed.

Microsoft, Windows, Office and other product names are trademarks of their respective owners.

Products mentioned in this guide

Keep reading

Windows Server

SQL Server 2019 Standard vs Enterprise

SQL Server 2019 Standard or Enterprise? Compare CPU and memory limits, availability groups, encryption and online index work, and see when Standard fits.

4 min read November 23, 2026
Windows Server

Windows Server Standard vs Datacenter

Standard or Datacenter? The real difference is virtual machine rights and a few storage and networking features. A clear guide to choosing.

4 min read November 23, 2026