Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Windows XP if you have a problem with your RDC client license, you can delete the HKLM\Software\Microsoft\MSLicensing key to force the license to rebuild itself on reconnection. If you try the same thing on Windows Vista or Windows 7, when you try to reconnect to the server you get this message:

The remote computer disconnected the session because of an error in the
licensing protocol. Please try connecting to the remote computer again or
contact your server administrator.

and the MSLicensing key does not reappear in the registry. What causes this and how to avoid it?

share|improve this question
up vote 1 down vote accepted

The problem is caused by UAC in Windows 7 / Windows Vista. Because the RDC client does not by default have permission to create a new key under the HKLM\Software\Microsoft branch, it cannot rebuild the licensing information once it has been deleted! This causes a silent failure with the error message "problem in licensing protocol". (Ideally, the program would be redesigned to display a UAC challenge prompt in this situation).

To fix it, just run the RDC as administrator when you first reconnect to the target computer. This will allow the RDC client permission to rebuild the necessary registry keys. You should only need to do this once.

share|improve this answer

This problem made by some kind of caching of remote desktop licensing in clients you can solve this by remove the bellow key in registry:


It's much convenient to make a reg file and run it so .

  1. Make a empty text file
  2. Name it "mypatch.reg" or "mypatch.reg"
  3. Put bellow text in it and save it

     Windows Registry Editor Version 5.00
  4. Run it by dubble click on file!

It should remove the key.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.