Windows XP and Windows 7 users sometimes encounter the error:
"The remote session was disconnected because there are no Terminal Server client licenses available for this computer" in Windows XP"
To work around this problem, follow these steps.
Click Start –> Run
Type regedit and press Enter
Browse to the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\MSLicensing
close registry editor.