Tuesday, June 26, 2018

The remote desktop session was disconnected because there are no Remote Desktop License Servers available to provide a license. Server 2012 R2

You must be able to access the server in another way in order to do this. Mine was a VM so I was able to get into a console session through VMware vSphere. 

Open your Registry Editor and navigate to 
HKLM\System\CurrentControlSet\Control\Terminal Server\RCM 
and select  GracePeriod.

Right-click this key and back it up by choosing export and putting it in a safe place.

Now you won't be able to delete it without taking ownership first. Right-click the key and choose Permissions... 

Then go to Advanced

Change the owner to your user name.

For good measure, choose Replace owner on subcontainers and objects under your name and Replace all child object permission entries with inheritable permission entries from this object

Now you can delete the key. After a restart you should be able to access your server via remote desktop again.

Featured Post

How to set up Remote Desktop (RDP) on Sophos UTM9

I'm creating this because I didn't find a good guide online and the way Sophos does this was confusing to me at first. For demo...

Popular Tutorials