There are no available remote desktop licensing servers available (RDP)

If the grace period of the Remote Desktop Server has expired, an error will occur when connecting to it: "The remote session was disconnected because there are no Remote Desktop License Servers available..."

In this case, if the problem needs to be solved remotely, you need to connect to the console session on the server. No Remote Desktop Licenses are required for this. The locally working user will be disconnected from the session. To do this, you need to run the RDP client in administrative mode: mstsc /admin.

You can check the number of days remaining by running in the command line:

wmic /namespace:\\root\CIMV2\TerminalServices PATH Win32_TerminalServiceSetting WHERE (__CLASS !="") CALL GetGracePeriodDays

To reset the counter and get another 120 days of work, you need to delete the L$RTMTIMEBOMB registry value in the branch:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\GracePeriod

By default, the administrator does not have permission to edit this branch, so first you need to take ownership of it and set the permissions.

Next, click OK / Apply in all windows and set full access rights.

After deleting the setting, you must restart Remote Desktop Service or restart your computer for the changes to take effect.

Author: admin