All users or computing devices that connect to the server must have a valid Remote Desktop Services CAL issued by the Remote Desktop Licensing Server.
After you install and configure the license server, you must perform the following steps on the Remote Desktop Session Host (Terminal Server) server to enable the server to connect to the license server to request Remote Desktop Services CALs:
Step 1: Select the Remote Desktop Licensing Mode on the RD Session Host Server
1.1. On the RD Session Host server, open the RD Session Host Configuration component. To open Remote Desktop Session Host Configuration, click Start, then Administrative Tools, Remote Desktop Services, and then Remote Desktop Session Host Configuration.
1.2. If the User Account Control dialog box appears, make sure the box says the action you want, and then select Yes.
1.3. In the Licensing pane, under Change settings, double-click Remote Desktop Licensing Mode.
1.4. On the Licensing tab of the Properties dialog box, select the Per Device or Per User license type that best matches your environment of choice, which means that the Group Policy setting Specify Remote Desktop Licensing Mode has been enabled and applied to the Remote Desktop Session Host (Terminal) server. server).
1.5. After you select the Remote Desktop licensing mode, you must specify the license server that will be used by the Remote Desktop Session Host (Terminal Server) server. For more information, see the section below - Selecting the license server used by the RD Session Host Server.
1.6. Click OK to save your changes to the licensing settings.
Step 2: Select the license server used by the RD Session Host Server
2.1. On the RD Session Host server, open the RD Session Host Configuration component. To open Remote Desktop Session Host Configuration, click Start, then Administrative Tools, Remote Desktop Services, and then Remote Desktop Session Host Configuration.
2.2. If the User Account Control dialog box appears, make sure the box says the action you want, and then select Yes.
2.3. In the Licensing pane, under Change settings, double-click Remote Desktop Licensing Servers.
2.4. On the Licensing tab of the Properties dialog box, click Add.
2.5. In the Add License Server dialog box, select a license server from the list and click Add. If the required license server is not listed, in the Name or IP address of the license server field, enter the name or IP address of the license server that you want to add, and then click Add.
2.6. Click OK to close the Add License Server dialog box, and then click OK to save your changes to the licensing settings.
You can also specify a license server for a Remote Desktop Session Host (Terminal Server) server by using the Use Specified Remote Desktop License Servers Group Policy This Group Policy setting is located in Computer Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Licensing. You can use the Local Group Policy Editor or the Group Policy Management Console to configure it. Note that the Group Policy setting will take precedence over the license servers configured in Remote Desktop Session Host Configuration..
Sources:
- https://technet.microsoft.com/enus/library/cc731765(v=ws.11).aspx
- https://technet.microsoft.com/enus/library/cc771547(v=ws.11).aspx
- https://technet.microsoft.com/enus/library/cc725890(v=ws.11).aspx
- https://technet.microsoft.com/enus/library/cc771641(v=ws.11).aspx