Configure Remote Desktop Services Licensing on Windows Server 2012

My Cheat Sheet for Installing a Terminal Services License Server

Note: This applies to Windows Server 2012 and Server 2012R2. 

Before you do this, install a few Server Roles:
Remote Desktop Services ( 2 of 6 Installed)
    Remote Desktop Licensing
    Remote Desktop Session Host

Then use the Licescing Wizard to add your licenses in the "Remote Desktop Licensing Manager". Add your CALS and your what not, and Activate your server.  Use a Campus Agreement to activate some fake CALS, almost any 7 digit number starting with 6 will work.

Configuring the License Server on a RD Session Hosts

After the RDS License Server is activated and running, you can reconfigure RD Session Host to obtain licenses from this server. You can select the license type and specify the name of the license server using PowerShell or GPO.
To select the license type to be used, run this command:
$obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting
Then specify the license type you need:
$obj.ChangeMode(4)
Note. Enter 4 if the server must use Per User licensing type, and 2, if it is Per Device.
Then specify the name of the RDS License Server:
$obj.SetSpecifiedLicenseServerList("rdslic2016.woshub.com")
And check the current settings:
$obj.GetSpecifiedLicenseServerList()
When configuring via GPO, you need to create a new GPO and link it to the OU with RDS servers. The licensing settings are located in the following section of the GPO:
Computer Configuration -> Policies -> Admin Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Licensing
There are 2 policies that we need:
  • Use the specified Remote Desktop license servers – the address of the License Server is set
  • Set the Remote Desktop licensing mode – the licensing method is selected
References:
and

Here are some Campus Agreements

Many Thanks To

This Tech Tidbit was brought to you by your friends at Eleven Dimensions Computer Technologies.
See our new 11D website at:

Our Partner Websites:

Bare Wire Networks:     http://www.barewirenetworks.com
CTI Solutions:   http://www.cti-solutions.com


Comments

Popular posts from this blog

Microsoft Visio 2010 Premium Product Keys

Mercedes Benz Diesel CDI EGR Emulator Circuit Diagrams

Fix: The Diagnostic Service Host service failed to start due to the following error. [ solved, no kidding ]