Windows 8.1 “No terminal server license servers available”

After a couple days of using Windows 8.1 I suddenly got an error when connecting with Citrix or a normal remote desktop session. Both the applications gave the error that there were no terminal server license servers available, which prevented me from connecting.

Because this did work for a couple of days there must be a file or registry key that got corrupted. After searching Google for a while someone suggested to me that it might be the MS licensing entry within the registry.


I started with looking in the registry and found MSlicensing under:
Computer – HKEY_LOCAL_MACHINE – SOFTWARE – Microsoft – MSlicensing
Of course we want to make sure this is the correct key (as there multiple entries in the registry with mslicensing). So I went back to Google and searched for this entry. This lead me to the following TechNet post in which they confirmed this was the right key.

First make a backup of the registry before going any further.
When this is done delete the MSlicensing directory and make sure its gone.
Now there is another key that needs removal (Remko Weijnen adviced me on this one)
This key is under
Computer – HKEY_LOCAL_MACHINE-SOFTWARE-WOW6432 – MICROSOFT – MSLicensing  This key is to prevent any problems with different Bit versions of Windows

At this point when starting Citrix or remote desktop de machine will still give an error about not being able to create the correct file.

So go to your Windows 8 desktop and make a new mstsc shortcut there.
Right click and choose run as administrator and connect to a server.
It should connect now and when checking the registry there should be a newly made MSlicensing directory. When that is the case you can start using Citrix and Remote desktop as normal again without administrator rights.