How to configure “Licensing Mode” and “License Server to Use” on a Windows Server?

how to configure Licensing Mode and License Server on a Windows Server, illustrating RDS CAL setup steps

Configuring RDS Licensing Mode and License Server

A guide for Windows Server 2016, 2019, 2022, and 2025.

Configuring the Remote Desktop Services (RDS) licensing mode and license server on a Windows Server is a critical step for allowing more than two concurrent remote connections. The process can be done through Server Manager, Group Policy, or PowerShell.

⚠️ Before you begin: Ensure you have the Remote Desktop Session Host (RD Session Host) and Remote Desktop Licensing roles installed on your server.

Method 1: Using Server Manager

This method is best for small deployments or when you have a single RD Session Host server.

  1. Open Server Manager.
  2. In the left pane, click on Remote Desktop Services.
  3. Click on Overview, and in the Deployment Overview section, click the Tasks dropdown menu, then select Edit Deployment Properties.
  4. In the Deployment Properties window, click on RD Licensing.
  5. Select the Remote Desktop licensing mode that matches your purchased CALs (Per User or Per Device).
  6. Under "Specify the RD licensing server," enter the name or IP address of the server where the RDS Licensing role is installed.
  7. Click Add to add the server to the list, then click OK.

Method 2: Using Group Policy

Recommended for larger environments with multiple RD Session Host servers to ensure consistent configuration.

  1. Open the Local Group Policy Editor by running gpedit.msc. (For a domain-wide policy, use gpmc.msc).
  2. Navigate to the following path:
    Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Licensing
  3. Set the Remote Desktop licensing mode:
    • Double-click the policy "Set the Remote Desktop licensing mode".
    • Select Enabled and choose either Per User or Per Device.
    • Click OK.
  4. Specify the license server:
    • Double-click the policy "Use the specified Remote Desktop license servers".
    • Select Enabled.
    • In the "License servers to use" box, enter the name or IP address of your license server. (Separate multiple servers with a comma).
    • Click OK.
  5. To apply the changes immediately, open a Command Prompt as an administrator and run:

gpupdate /force

Method 3: Using PowerShell

PowerShell offers a quick and scriptable way to configure licensing. Run PowerShell as Administrator.

To set the licensing mode:
(Replace "PerUser" with "PerDevice" if needed)

Set-RDLicenseConfiguration -ConnectionBroker <ConnectionBrokerName> -Mode "PerDevice"

To specify the license server:
(Replace placeholders with your actual server names)

Set-RDLicenseConfiguration -ConnectionBroker <ConnectionBrokerName> -LicenseServer <LicenseServerName>

Understanding Licensing Modes

  • Per User CALs: A license is assigned to each individual user that connects to the RD Session Host, regardless of how many devices they use.
    (Best for mobile workforce or users with multiple devices).
  • Per Device CALs: A license is assigned to each unique device that connects to the RD Session Host, regardless of how many users share that device.
    (Best for shared workstations or kiosks).

Related Posts

Everything you need to know about Microsoft RDS CALs

August 12, 2025

Everything you need to know about Microsoft RDS CALs A complete guide to Remote Desktop Services Client Access Licenses. What are Microsoft RDS CALs? RDS CALs (Remote Desktop Services Client Access Licenses) are a type of license required for a user or device to connect to a Windows Server running the Remote Desktop Session Host…

How to Remove or Delete all RDS CALs from a Windows Server?

September 12, 2025

How to Delete All RDS CALs from Windows Server A guide for resetting licensing on Windows Server 2016, 2019, and 2022. The process for deleting all Remote Desktop Services (RDS) CALs from a Windows Server can be done through a few different methods. The most reliable method is to rebuild the license database. ⚠️ Warning:…

How to revoke Per-Device RDS CALs on a Windows Server?

September 12, 2025

Revoking Per-Device RDS CALs Understanding the complexities of revoking Client Access Licenses in Windows Server. Revoking per-device Remote Desktop Services (RDS) Client Access Licenses (CALs) can be a complex and often misunderstood process in a Windows Server environment. The key takeaway is that direct revocation of a single per-device CAL is not always possible or…

How to Install Active Directory on a Windows Server?

September 12, 2025

Setting up Active Directory Domain Services (AD DS) A guide to installing the role and promoting your server to a Domain Controller. Setting up Active Directory Domain Services (AD DS) on a Windows Server involves a two-part process: installing the role and then promoting the server to a domain controller. This can be done using…