On some occasions, when accessing an Remote Desktop Server that gives out licenses based on devices, you may get this error:
Error: The remote session was disconnected because the Remote Desktop client access license stored on this computer has been modified
You can fix this using the following steps:
1) Open registry editor
Start -> Type regedit.exe and press Enter
2) In the registry editor, navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft
3) Find the entry called "MSLicensing" and delete it (if you are uncomfortable with it, you can first export it first)
Once deleted, close the registry editor and launch the RDP session with Administrator privileges (run as Administrator). This will regenerate the license and will allow you to login.