Remote desktop Connection is used a lot among administrators. I have encountered a minor problem which prevents the connection. If the license is invalid, the connection is denied and the following error message will appear:
Process Terminal Server
The Terminal Server checks the license which is stored locally on the client without contacting the licensing server.
If the client is unable to provide a valid license during the connection phase, the Terminal Server will automatically obtain a new license from the license server. The client will store the new license locally.
The license has been issued by a previous Terminal Server environment and does not exist anymore.
Delete the invalid license which is stored in the registry:
1. Open regedit and locate hkey_local_machine\software\microsoft\mslicensing
2. Delete the mslicensing folder.