Prerequisites
To install licenses for your session hosts, you need a Remote Desktop license server with activated per-user or per-device Client Access Licenses (CALs).
Configure licensing for an RDS deployment that includes the RD Connection Broker role
If you need to license session hosts in an RDS deployment that does not include the Connection Broker role, you need to specify the license server either centrally from the Active Directory domain using Group Policy, or locally on each session host. You also need to specify a license server when using Windows Server with Azure Virtual Desktop.
To specify a license server:
-
On the RD Connection Broker computer, open Server Manager.
-
In Server Manager, select "Remote Desktop Services" > "Overview" > "Edit Deployment Properties" > "RD Licensing".
-
Select the Remote Desktop licensing mode ("Per User" or "Per Device", as appropriate for your deployment).
If you use domain-joined servers for your RDS deployment, you can use both Per User and Per Device CALs. If you use workgroup servers for your RDS deployment, you must use Per Device CALs; Per User CALs are not allowed in that case.
- Specify a license server, then select "Add".
Configure licensing for an RDS deployment that includes only the RD Session Host and RD Licensing roles
Depending on whether you want to configure Group Policy centrally from your domain or locally on each session host, do the following:
-
Open the Group Policy Management Console (GPMC) and create or edit a policy that targets your session hosts.
-
Open the Local Group Policy Editor on the session host.
-
Go to "Computer Configuration" > "Administrative Templates" > "Windows Components" > "Remote Desktop Services" > "Remote Desktop Session Host" > "Licensing".
-
In the list of policies, right-click "Use the specified Remote Desktop license servers", then select "Properties".
-
Select "Enabled", then enter the name of the license server under "License servers to use". If you have more than one license server, separate their names with commas.
-
Select "OK".
-
In the list of policies, right-click "Set the Remote Desktop licensing mode", then select "Properties".
-
Select "Enabled".
-
Under "Specify the licensing mode for the Remote Desktop Session Host server", select "Per Device" or "Per User", as appropriate for your deployment.