So, at first we had an error like this:
The remote session has been disconnected because there are no available Terminal Server client licenses for this computer.
for Vista and Windows 7 additional steps may be required.
So, in short, here's what we do based on the article above:
- On the machine you're connecting from, open the registry (this can be done via remote registry).
- Go to the key: HKEY_LOCAL_MACHINE\Software\Microsoft\MSLicensing
- Delete the entire MSLicensing key
After you delete the necessary registry keys, a new error appears (this only happens on Vista and Windows 7):
The remote session has been disconnected due to a licensing protocol error.
The error gets in the way and won't go away on its own.
Solution.
In fact, the error only occurs if the user connecting via RDP is working without local administrator rights (although, in theory, this means it applies to any ordinary user on a corporate network). And because UAC is enabled by default in Windows Vista and 7, every user is effectively a non-admin.
To fix the error, you need to launch the connection to the required server at least once while logged in as a local administrator. One way to do this is to disable UAC, launch the connection, close it, and re-enable UAC (since there is no "Run as administrator" option on the RDP connection icon). Don't forget to reboot after disabling and after re-enabling UAC.
Comments