Error : The remote session was disconnected because there are no Remote Desktop
client access licenses available for this computer. Please contact the server
administrator.
The solution is to delete the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSLicensing
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSLicensing
After deleting the key from the registry start Remote desktop connection as administrator by right clicking on the"mstsc.exe" icon in c:\windows\system32\mstsc.exe.