Remote session disconnected due to no available licenses

Practice



It happens that on one client machine, when trying to connect to a terminal server, a window pops up saying "The remote session was disconnected because there are no terminal server client access licenses available for this computer." At the same time, free licenses are actually available on the terminal services licensing server. In other words, the client machine seemingly "doesn't want to request a license" for itself.

This has been observed on Windows Server 2003 and Windows XP clients.

How to fix it:

1. On the machine you're connecting from, open the registry (this can be done via remote registry).

2. Go to the key: HKEY_LOCAL_MACHINE\Software\Microsoft\MSLicensing

3. Delete the entire MSLicensing key

Now the machine will request a license from the licensing server again.

Just be careful if the number of licenses on the licensing server is already at its limit (i.e., the machine might not get a license, and you'll have to go to the Remote Desktop licensing server and work some magic with it).

created: 2017-05-10
updated: 2026-03-08
682



Was this answer useful?
Choose a quick rating so we can improve the next answer for you.
How satisfied are you?


Comments

To leave a comment

If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Lectures and tutorial on "Operating Systems and System Programming"

Terms: Operating Systems and System Programming