Link to home
Start Free TrialLog in
Avatar of Dawn Spiegl
Dawn Spiegl

asked on

Help with RD licensing errors - Windows Server 2012

I have done everything I can find to do - I have installed RDS services, I have purchased licenses, I have defined my server to be the RD Session Host server, the RD Licensing Server, and I have installed the licenses.  I had the licenses defined as per user and installed the purchased licenses as per user, but it didn't work (licensing error below).  I have rebooted.  I then changed the licensing mode from 'per user' to 'per device' as there is an unlimited license for that in RD licensing.  This doesn't work either - same error.  So I took things a step further as per some online advice - I also set up my server as the RD Connection broker server and the RD Gateway server.  Still get the error...also I can't find a way to directly access 'RD Session Host' utility...that seems to be an issue for lots of people though it is an aside.

The licensing error says 'The licensing mode for the Remote Desktop Session host server is not configured' and the grace period is expired.  I cannot connect to this server via Remote Desktop Connection.

I have attached a screenshot of the RD licensing diagnoser.  Thanks, Dawn
Screenshot--1-.png
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

These are 2012 RDS licenses? Your image doesn't show the licensing error.

I then changed the licensing mode from 'per user' to 'per device' as there is an unlimited license for that in RD licensing. TRIAL ONLY not real licenses or I'd get one and save a lot of money.
Avatar of Dawn Spiegl
Dawn Spiegl

ASKER

Was this what you were asking for?  As you see, yes - the licenses are installed.  And, all of the RD services are already installed as well....
Is this server a workgroup member, domain member, or domain controller?
Domain member - 2012 Server; Domain controller is 2008 R2 and it has properly installed and running RDS
ASKER CERTIFIED SOLUTION
Avatar of DrDave242
DrDave242
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Well...I did uninstall RDS altogether this afternoon - I had been struggling with it so long, I decided to just start over.  I followed instructions above to re-install - had to choose 'Remote Desktop Services installation' to get the 'Session-based desktop deployment' option though.  From there, I chose 'Quick Start..' which sets the same server for all roles.  It started the install, rebooted and then I get errors when the system comes back up to finish.   So frustrated -  I have attached the screen.  

I'd be happy to try your suggestion...but I can't even get it to install now.  uggggghhh...
no screen shot
Can you verify that the necessary role services are all installed? For a Quick Start deployment, that'll be the Session Host, Connection Broker, and Web Access services. Your screenshot appears to show that they all installed successfully, but it won't hurt to be sure.

If they're all there, try to create a session collection manually, since that seems to be where things went wrong. If this doesn't work, post any errors you receive here. If it does work, try to add the Licensing role service and specify the license settings as you normally would.
My screen shot shows that session collection install failed and remoteapp programs failed - does that not matter?  I just assumed...it was late :).  Anyway, I checked and yes the RDS are installed.  I activated and added the licenses - which actually showed up by themselves.  Problem still the same as my first screenshot.

Then I followed the instructions to 'Configure Manually' - tried first way, error changed in licensing diagnoser - now just says the session host is not configured as 'per user' or 'per device'.  So I did the second way.  I did 'gpudate /force' on the domain controller, and checked that the group policy was applying to the RDS server in question, and logged off and back on after 20 minutes.  Still the same error.  I may reboot later to see if I can effect a change.  

Any thoughts further appreciated!
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Well the problem is changing for sure - did as you suggested.  Just to clarify - in the screen shot showing the gpresult, I have defined 2 licensing servers - the domain controller and the domain member we have been working on.  

As you can see in the second screenshot, the licensing diagnoser is now showing just an error about the domain CONTROLLER, not the domain member we are working on.  Still, licensing does not work - I am given a message when I try to RDC that 'there is no licensing server available' and I get the balloon on the domain member telling me RDS Session host is not configured.  

There are no known issues with the RDS on the domain controller...
Screenshot--6-.png
Screenshot--7-.png
The warning about the DC is expected; since it's running 2008 R2, it can't serve as a license server for a 2012 or 2012 R2 session host server because those CALs can't be installed on it - they're not forward-compatible.

The diagnoser even shows that there are 20 licenses available now. I'm kinda baffled why you're still getting the "No licensing server available" errors. Let me see if I can dig up anything.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Will do - have to wait till evening to reboot it, but will check back in with you when I get back in next Tuesday - thanks!
Well what do you know - I was able to get a reboot in so I did the key deletion.  And voila!  I can use RDC to get to that server now and no evil balloon message.  I wonder though - does this mean that I am in another grace period that when it expires will put me right back where I am?
What does the licensing diagnoser show now?
Same - screenshot attached
Screenshot--4-.png
Have a few users connect via RDP, then open the RD Licensing Manager, right-click the server, and select Create Report > CAL Usage. The report will appear in the console, but it appears that you have to right-click it and save it to a file before you can actually see the data in it.

If the report shows that user CALs are being issued, things are working correctly.
Thank you Dr Dave - for your excellent help and for sticking it thru to the end!