Remote Desktop license server registry

Ive been asked several times since XenDesktop 7 was released when Windows Server 2012 R1 and R2 were supported operating systems about how can a Remote Desktop Services License server be defined from a application server with a Windows Server 2012 R1 or R2 as the base OS:

Remote Desktop licensing mode is not configured.

Remote Desktop Services will stop working in xx days. On the RD Connection Broker server, use Server Manager to specify the Remote Desktop licensing mode and the license server.

Remote Desktop license server registry

Windows Server 2008 R2 doesnt have this problem because is a Remote Desktop Session Host Configuration console is included during the install of the RDS services:

Remote Desktop license server registry

but Windows Server 2012s Remote Desktop Session Host:

Remote Desktop license server registry

does not include any graphical consoles:

Remote Desktop license server registry

The only way to get a graphical user interface to configure the licensing server is to actually install the Remote Desktop Connection Broker:

Remote Desktop license server registry

Remote Desktop license server registry

Ive always been reluctant to install additional components on Citrix servers so get around this issue, I use an Active Directory Group Policy to configure these settings as shown in the following TechNet article:

Specify the Remote Desktop Licensing Mode on an RD Session Host Server
http://technet.microsoft.com/en-ca/library/cc754487.aspx

The GPO configuration setting is located at the following path:

Computer Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Licensing

Remote Desktop license server registry

Configure the settings:

  • Use the specified Remote Desktop license servers
  • Set the Remote Desktop licensing mode

Remote Desktop license server registry

Once the policy has been applied to the servers, you can confirm that the licensing server has been set by either logging onto another server with the RD Licensing Diagnoser installed to connect over:

Remote Desktop license server registry

Or alternatively navigate to the following registry key on the server:

HKEY_LOCAL_MACHINE > SOFTWARE > Policies > Microsoft > Windows NT > Terminal Services:

Note the configuration settings for:

  • LicenseServers
  • LicensingMode

Remote Desktop license server registry