Windows Server 2012 – No Remote Desktop License Servers Available

Sometimes on Windows Server 2012 (R2) Remote Desktop farm you start receiving error, “The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license. Please contact the server administrator.“, while trying to connect using Remote Desktop or Remote App .



If you think you have all necessary RDS configurations, licenses (CALs) etc in place, the possibility is, the issue might be related to a bug on Remote Desktop Session Host (RDSH) where it will not look to the Remote Desktop Services Licensing Server for CALs when the grace period ends.

Just for the fact, you can still connect to the computer reporting error through admin session, mstsc /admin

The solution to fix this error is to delete a registry key related to Grace Period.

Open registry editor (regedit) and go to ComputerHKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal ServerRCMGracePeriod

Delete GracePeriod key (folder).

Restart the server.

Note: remember you might have to repeat this every 120 days. Also Microsoft has released below hotfix for the same issue, shout out in comments if this works for you.

HotfixNo RDS license when you connect to an RDS farm in Windows Server 2012.

Alternate solution:

If for some reason you don’t need more than 2 remote sessions at one point of time, you can remove the Remote Desktop Services role. Windows by default allows 2 RDP sessions to the host machine that doesn’t require licensing server.

If you liked the story and want to see more of this kind of content, please follow our twitter handle @CursorRun or FB page @CursorRun
If you liked the story and want to see more of this kind of content, please follow our twitter handle @CursorRun or FB page @CursorRun
Default image
Rahul Sharma
Rahul is a technology enthusiast, solutions architect, trainer, and blogger, working on various Microsoft and open source solutions with more than 18 years of industry experience. He specially takes interest in designing enterprise applications, cloud integrations, IoT, and other architecture rich business solutions.

Leave a Reply

%d bloggers like this: