Saturday, April 30, 2016

How to define a Remote Desktop Services License Server for Windows Server 2012 application server

There is always a pop up in windows taskbar that gives error for Remote Desktop license will expire in xx days.

clip_image002[8]

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.

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

image
… but Windows Server 2012’s Remote Desktop Session Host:

clip_image002[4]
… does not include any graphical consoles:

clip_image002 

The only way to get a graphical user interface to configure the licensing server is to actually install the Remote Desktop Connection Broker:
image
clip_image002[6]
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
 
clip_image002[11]

Configure the settings:
  • Use the specified Remote Desktop license servers
  • Set the Remote Desktop licensing mode
clip_image002[13]

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:
image 
 
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
image

No comments:

Post a Comment