Post navigation

Error “The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license” !!

One of our clients had recently configured Remote Desktop Services on a Windows Server 2012 R2 OS. Since it was a small infrastructure, all the remote desktop roles were installed on the single server. The RDP CALs were installed on the Remote Desktop Licensing Manager console as well.

However, every time the client tries to RDP to the RDP server, it shows the below error :

Other than this, in the RD Licensing Manager, the RDS per user CAL information was not being displayed. When accessing the Remote Desktop Services Overview option from Server Manager, all it show is :

At the same time, when trying to find the configuration details from the PowerShell by executing the command Get-RDLicenseConfiguration, you get

Upon checking the event log errors and the Remote Desktop License Diagnoser some errors were displayed. Once of the error reported as follows :

Another error was,

The second error was resolved by deleting the binary key L$RTMTIMEBOMB from the GracePeriod registry in the location HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\GracePeriod.

Note: In order to delete this key, you will have to take full permission of the GracePeriod registry key or you may receive an error as shown below:

You may have to reboot your server as well. However, the issue persisted even after performing the above steps. In order to check whether the licensing server is configured you can execute the below command in PowerShell