Solved

RDS License Server - Windows 2012

Posted on 2016-10-12
4
142 Views
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.

Thanks
0
Comment
Question by:jnordeng
[X]
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
4 Comments
 
LVL 18

Assisted Solution

by:LesterClayton
LesterClayton earned 500 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.
0
 

Author Comment

by:jnordeng
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.

Thoughts?
0
 

Accepted Solution

by:
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.
0
 

Author Closing Comment

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

Featured Post

Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

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 (…
You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

707 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