[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now


RDS License Server - Windows 2012

Posted on 2016-10-12
Medium Priority
Last Modified: 2016-10-31
Hello.  We are standing up a new environment in Windows 2012 that will require multiple users to access server desktops.  To accommodate this, we understand we need to implement RDS Licensing to handle more than 3 users at a time.  Currently we have a Windows 2008 R2 Server setup that is handling users accessing Remote sessions under the grace period license, this was a temporary setup until the 2012 could be completed.

We have setup a Windows 2012 system with the basic RDS License Server and applied our licenses. This looks good and is operational when viewing the Remote Desktop Licensing Manager, everything is working as expected.  

We have installed the Remote Desktop Services, used the quick setup per articles on the web which installed the RD Gateway, RD licensing, RD Connection Broker, RD Session Host, and RD Web Access.  We have initially started with our setup here.  In looking at the different aspects, it is not providing any errors or indicating something is not configured.

However, if you view the RD Licensing Diagnoser, it indicates that "Licenses are not available for this Remote Desktop Session Host server, and RD Licensing Diagnoser has identified licensing problems for RD Session Host Server."  The remote Desktop Session Host server is withing its grace period, but the RD Session Host server has not been configured with any license server.  This clearly is not seeing Remote Desktop Services or the Licensing Manager.

The question, we are simply using this box as you could say a 'jump' machine to access other systems as this resides in AWS.  There is a plethora of information on the web, but we are having trouble pealing apart the pieces we need for simple setup of the RD Session Host so users can RDP to the system they need.  The simple setup in Windows 2008 is no more. ;)

 So, any guidance and direction would be appreciated and helpful in terms of best / simple practices in getting this setup.

Question by:jnordeng
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
LVL 18

Assisted Solution

LesterClayton earned 2000 total points
ID: 41841466
I too don't like the way they made RDS configuration, which requires you to use Server Manager to do everything and all the servers inside your Remote Desktop pool.

In a nutshell, any RDS server that users will actually log on to - i.e. the Windows Session Host servers - needs to be configured to talk to an RDS license server.  You can configure the licensing configuration on individual servers using the following powershell command:

Set-RDLicenseConfiguration -LicenseServer <String[]> -Mode <LicensingMode> {PerDevice | PerUser | NotConfigured} [-ConnectionBroker <String> ] [-Force] [ <CommonParameters>]

Open in new window

Simple example: my License server is mgmt34, and my RDS session host is mgmt35, and I am licensing it per user, I'd open up a powershell session on mgmt35, and run

Set-RDLicenseConfiguration -LicenseServer mgmt34  -Mode PerUser

Open in new window

This will hopefully fix the problems you have.

Author Comment

ID: 41843735
Thanks, that is a good start and glad someone else isn't too excited about the change.  

My RDS Session Host and License server are on the same system.  That's why I'm so confused about the two areas of the product not seeing each other.  

I have run the powershell statement you provided, but it tells me that my server is not a valid license server.


Accepted Solution

jnordeng earned 0 total points
ID: 41860739
Thanks for pointing me in the right direction.

I have applied the following and this corrected it.  Thinking the biggest issue is the reg key wasn't getting set.

$obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting
$obj. SetSpecifiedLicenseServerList("licserver.domain.local")

Then, go into the registry and manually set the licensing mode:

HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\Licensing Core\LicensingMode

Reboot server to apply reg key.

Author Closing Comment

ID: 41866606
The information provided pointed me in the right direction, but wasn't complete.  Thanks for getting me started. :)

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What to do when Windows Update is not working correctly? What tools can I use to detect the cause of the malfunction problem? What does this numeric error code mean? These and other questions that you have been asking in the past are answered here (…
Let’s list some of the technologies that enable smooth teleworking. 
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question