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

To set up a Remote Desktop Services licensing server:

  1. Navigate to Start > Administrative Tools > Server Manager:
  2. In Server Manager, select Roles > Add Roles:
  3. Click Next.
  4. On the Select Server Roles screen, select Remote Desktop Services and then click Next:
  5. On the Remote Desktop Services screen, select Remote Desktop Licensing and then click Next:
  6. On the Select Role Services screen, select Role Services.
  7. 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.
  8. On the Configure Discovery Scope for RD Licensing screen, click Next. Microsoft recommends you do not configure a discovery scope for the Licensing Server.
  9. On the next screen, click Install.
  10. When the Installation Results screen indicates the installation succeeded, click Close.

Go back to top

Running the Remote Desktop Services Licensing Manager

To run the Remote Desktop Services Licensing Manager:

  1. Navigate to Start >Administrative Tools > Remote Desktop Services > Run Remote Desktop Licensing Manager.
  2. In the RD Licensing Manager, right-click the desired server and then select Activate Server:
  3. On the Welcome to the Activate Server wizard screen, click Next.
  4. On the Connection Method page, confirm that Automatic Connection (recommended) is selected and then click Next:
  5. 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:
  6. On the Company Information: Enter this Optional Information screen, click Next (these fields are optional and can remain empty).
  7. On the Completing the Activate Server Wizard screen, de-select Start Install Licenses Wizard Now and then click Next:
  8. On the RD Licensing Manager screen, right-click the desired server and then select Properties:
  9. 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.
  10. When you receive the License Key Pack ID from Microsoft, right-click the desired server name on the RD Licensing Manager screen and click Properties.
  11. Change the connection method to Web Browser and then click OK:
  12. Right-click the Licensing Server, select Install Licenses, and then click Next.
  13. Enter the License Key Pack ID (which you can paste into this field) and click Next.
  14. When the initialization process is complete, click Finish.

Go back to top

Configuring the Remote Desktop Session Host Server

To configure the Remote Desktop session host server:

  1. Navigate to Start > Administrative Tools > Remote Desktop Services > Remote Desktop Session Host Configuration.
  2. Right-click Remote Desktop License Servers and click Properties:
  3. In the Properties window, go to the Licensing tab and click Add.
  4. On the Add License Server screen, select the desired server and then click Add.
  5. 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:

  1. Open an elevated Windows PowerShell prompt
  2. Type the following command on the PS prompt and press Enter:
    $obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting
  3. Run the following command to set the licensing mode:
    Note:
    Value = 2 for Per device, Value = 4 for Per User
    $obj.ChangeMode(value)
  4. Run the following command to replace the machine name with License Server:
    $obj.SetSpecifiedLicenseServerList("LicServer")
  5. Run the following command to verify the settings that are configured using above mentioned steps:
    $obj.GetSpecifiedLicenseServerList()
  6. You should see the server name in the output.

Go back to top