Remote Server Licensing Fix

If you use Microsoft’s Remote Desktop connection on a regular basis, there’s a pretty good chance you’ve run into this problem:  Eventually, you get an error that tells you that your Remote Desktop License will expire in “X” number of days.  If you try to google a solution to this problem you’ll be inundated with accusations that you’re stealing the program and that you should go pay for a valid license.  How can you be stealing something that is included with most modern versions of the Windows operating system?  Without going into just why this happens, the solution is actually pretty easy.  The following procedure is for either Windows Vista or Windows 7.  Read below and follow the instructions closely:

  1. Click on the Start button and in the search box type “regedit” (without the quotes)
  2. The Regedit program should be highlighted at the top of the start window.  Either simply hit ENTER, or double click it.
  3. In Regedit, navigate to the following key:  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSLicensing
  4. Right click on the key name “MSLicensing” and select DELETE.
  5. Close Regedit
  6. Do NOT open any shortcuts for Remote Connections at this point.  Instead, you need to open the Remote Desktop Connection Manager.  It’s VERY important that you do this by RIGHT clicking on the program and selecting “Run as administrator.”  If you don’t do this properly, the registry key you deleted in step 4 will not be recreated.  The Remote Desktop Connection Manager can be found at: START/All Programs/Accessories/Remote Desktop Connection.
  7. Select the remote connection you want to use and click “Connect.”  If you’ve done this properly, a new registry key will be added that will have updated licensing information.

This fix will need to be redone on a somewhat regular basis.  I think I’ve got to do this about two to three times a year.

57 Responses to “Remote Server Licensing Fix”

  1. Hi,

    This changed problem statement from
    “A license error occurred while the client was attempting to connect (Licensing timed out)”

    to
    “This computer cant connect to the remote… try connecting again..”

    Any fix?

  2. Even if obsolete,

    “A license error occurred while the client was attempting to connect (Licensing timed out)”.

    Even after deleting the Regkey, it was necessary to reboot the client, login as admin connect to the server.

    after that, deleting the old RDP connection shotcut solved that problem for me.

    Kind Regards

  3. Hi,
    I have deleted MSLicensing but my issue was not resolved and I am still not able to connect using remote desktop connection so can run it as administrator.

    Is there a way to recover the MSLicensing back?

    Thanks
    Vaishali

  4. I have rebooted the server and instance but its not getting generated

  5. Works like magic.

    THanks a lot

  6. Should this work in windows 10 – do it regularly in other versions but having problems with windows 10. MSlicensing keeps coming back.?

  7. I have 5 windows 10 computers that this does NOT work. Is there way way to uninstall and reinstall RDL?

Leave a Reply