This article explains how to set up a Remote Desktop Services Licensing Server for use with a Cloud Server. Remote Desktop Services allow users to access applications and data on a remote computer over a network.
Before you complete the steps, make sure that Microsoft Internet Information Server (IIS) and Microsoft SQL Server are installed and properly configured.
- Setting Up a Remote Desktop Services Licensing Server
- Running the Remote Desktop Services Licensing Manager
- Configuring the Remote Desktop Session Host Server
To set up a Remote Desktop Services licensing server:
- Navigate to Start > Administrative Tools > Server Manager:
- In Server Manager, select Roles > Add Roles:
- Click Next.
- On the Select Server Roles screen, select Remote Desktop Services and then click Next:
- On the Remote Desktop Services screen, select Remote Desktop Licensing and then click Next:
- On the Select Role Services screen, select Role Services.
- On the Select Role Services screen:
- If a single server is used for Terminal Services, select Remote Desktop Session Host. (In a multi-server configuration, select Remote Desktop Licensing only.)
- Select Remote Desktop Licensing (if it is not already installed).
- Click Next.
- Navigate to Start >Administrative Tools > Remote Desktop Services > Run Remote Desktop Licensing Manager.
- In the RD Licensing Manager, right-click the desired server and then select Activate Server:
- On the Welcome to the Activate Server wizard screen, click Next.
- On the Connection Method page, confirm that Automatic Connection (recommended) is selected and then click Next:
- On the Company Information: Requested Company Information screen, enter values next to the required fields of First Name, Last Name, Company, and Country or Region and then click Next:
- On the Company Information: Enter this Optional Information screen, click Next (these fields are optional and can remain empty).
- On the Completing the Activate Server Wizard screen, de-select Start Install Licenses Wizard Now and then click Next:
- On the RD Licensing Manager screen, right-click the desired server and then select Properties:
- From the Server Properties page, copy the License Server ID to a text file for safe-keeping:
Make a note of the following information, which you will need to order licenses from Microsoft:
- License Server ID
- Server name
- Number of licenses
When you receive your licenses from Microsoft, submit:
- the Remote Desktop License ID;
- the licensing Server Name and login credentials;
- the Subscriber Access License (SAL) type (for example, per-User, per-Device)
to Smarsh Hosted Services. Smarsh Hosted Services will then procure and install the SALs on the Licensing Server. When these steps are completed, configure the Remote Desktop Session Host listener to use the Licensing Server on which the SALs were installed.
- Navigate to Start > Administrative Tools > Remote Desktop Services > Remote Desktop Session Host Configuration.
- Right-click Remote Desktop License Servers and click Properties:
- In the Properties window, go to the Licensing tab and click Add.
- On the Add License Server screen, select the desired server and then click Add.
- Fill in the desired fields and then click OK:
Note: In order to specify Licencing mode and Licensing server in Windows 2012 you need to use Powershell/WMI. To configure the Remote Desktop Session Host role with to use the local Remote Desktop Licensing server follow these steps:
- Open an elevated Windows PowerShell prompt
- Type the following command on the PS prompt and press Enter:
$obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting
- Run the following command to set the licensing mode:
Note: Value = 2 for Per device, Value = 4 for Per User
- Run the following command to replace the machine name with License Server:
- Run the following command to verify the settings that are configured using above mentioned steps:
- You should see the server name in the output.