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.

28 Responses to “Remote Server Licensing Fix”

  1. This is not fixing my issue in windows 7.

  2. didnt work for me either

  3. Is there any other fix available for windows 7 professional

  4. Hey guys. I used this fix when my office was running Microsoft Server 2000. I can vouch that it works with Windows 7 in this situation. I’m not sure if it works with any other versions of Server. We’ve upgraded to Server 2003 and this error no longer seems to be a problem (**UPDATE: It’s STILL a problem**). All I can say is to make sure you follow the instructions to the letter. It’s VERY important that you run the Remote Desktop Connection Manager as administrator in order for it to work. Simply being logged in as an administrator will NOT work. Other than that, I don’t know. If you still have problems feel free to post the specifics of your case here and I’ll see what I can scrape up. Make sure you let me know what Server version you are using.

  5. Hey Jeff,

    How do you do you fix it for WS Server 208 R2??

  6. Thank you :) this fixed my issue…..

  7. Problem fixed! Thanks..

  8. Jeff,
    I’ve done this process for years with regedit and just recently have not been able to delete the mslicensing key. It says error deleting the key. I am on windows 7 also. I was able to fix this several months ago, but not today.

  9. Thank you so much

  10. your computer could not connect another console session on the remote computer because you already have a console session in progress. what about this???

  11. Dears,
    If facing issue in Windows 7 try this registry setting changes in Local machine not on server or system.

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSLicensing]

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSLicensing\HardwareID]
    “ClientHWID”=hex:02,00,00,00,36,bd,78,59,69,70,6c,3c,18,bd,16,53,f2,f7,b9,17

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSLicensing\Store]

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSLicensing\Store\LICENSE000]
    “LicenseScope”=hex:6d,69,63,72,6f,73,6f,66,74,2e,63,6f,6d,00
    “CompanyName”=hex:4d,00,69,00,63,00,72,00,6f,00,73,00,6f,00,66,00,74,00,20,00,\
    43,00,6f,00,72,00,70,00,6f,00,72,00,61,00,74,00,69,00,6f,00,6e,00,00,00
    “ProductID”=hex:41,00,30,00,32,00,00,00
    “ClientLicense”=hex:30,82,04,c6,06,09,2a,86,48,86,f7,0d,01,07,02,a0,82,04,b7,\
    30,82,04,b3,02,01,01,31,00,30,0b,06,09,2a,86,48,86,f7,0d,01,07,01,a0,82,04,\
    9b,30,82,01,ae,30,82,01,5c,a0,03,02,01,02,02,08,01,9e,79,7f,15,a3,90,a0,30,\
    09,06,05,2b,0e,03,02,1d,05,00,30,2a,31,28,30,0f,06,03,55,04,07,1e,08,00,41,\
    00,50,00,41,00,43,30,15,06,03,55,04,03,1e,0e,00,49,00,4e,00,46,00,53,00,30,\
    00,32,00,39,30,1e,17,0d,37,30,30,39,31,32,30,30,35,38,32,38,5a,17,0d,34,39,\
    30,39,31,32,30,30,35,38,32,38,5a,30,2a,31,28,30,0f,06,03,55,04,07,1e,08,00,\
    41,00,50,00,41,00,43,30,15,06,03,55,04,03,1e,0e,00,49,00,4e,00,46,00,53,00,\
    30,00,32,00,39,30,5c,30,0d,06,09,2a,86,48,86,f7,0d,01,01,01,05,00,03,4b,00,\
    30,48,02,41,00,e8,6c,03,b1,3c,91,bc,e4,46,b2,62,19,a3,fa,a8,5c,9f,79,34,bd,\
    60,fb,8c,c9,26,93,1c,46,74,c2,d1,6c,80,47,9d,a1,5f,af,54,6b,63,ae,89,16,2b,\
    a6,b4,27,54,90,2f,48,a3,5c,6b,b7,9d,46,39,74,aa,71,d3,bd,02,03,01,00,01,a3,\
    6a,30,68,30,0f,06,03,55,1d,13,04,08,30,06,01,01,ff,02,01,00,30,55,06,09,2b,\
    06,01,04,01,82,37,12,08,04,48,4b,00,36,00,44,00,47,00,54,00,48,00,4a,00,48,\
    00,59,00,4a,00,56,00,36,00,43,00,54,00,48,00,36,00,44,00,56,00,50,00,4b,00,\
    58,00,46,00,32,00,36,00,43,00,4b,00,42,00,57,00,46,00,59,00,56,00,47,00,54,\
    00,4a,00,44,00,00,00,30,09,06,05,2b,0e,03,02,1d,05,00,03,41,00,a8,05,fd,07,\
    9a,78,86,40,76,f4,5e,ee,fc,b3,dd,60,37,f9,a2,29,28,e3,b4,64,c1,b2,fc,b2,5a,\
    50,41,1b,6c,d2,40,67,bd,00,3e,7d,1a,b3,08,b8,3a,79,ee,01,75,21,54,63,62,3d,\
    e1,b4,bb,fa,61,6f,dd,4c,7a,45,30,82,02,e5,30,82,02,93,a0,03,02,01,02,02,05,\
    04,00,00,00,04,30,09,06,05,2b,0e,03,02,1d,05,00,30,2a,31,28,30,0f,06,03,55,\
    04,07,1e,08,00,41,00,50,00,41,00,43,30,15,06,03,55,04,03,1e,0e,00,49,00,4e,\
    00,46,00,53,00,30,00,32,00,39,30,1e,17,0d,31,32,30,39,31,33,31,31,31,34,34,\
    30,5a,17,0d,31,32,31,32,31,32,31,31,31,34,34,30,5a,30,81,8a,31,81,87,30,1f,\
    06,03,55,04,03,1e,18,00,49,00,4e,00,47,00,55,00,52,00,4c,00,52,00,35,00,32,\
    00,42,00,39,00,52,30,1f,06,03,55,04,07,1e,18,00,44,00,65,00,65,00,70,00,61,\
    00,6b,00,5f,00,52,00,61,00,77,00,61,00,74,30,43,06,03,55,04,05,1e,3c,00,31,\
    00,42,00,63,00,4b,00,65,00,52,00,74,00,53,00,62,00,64,00,51,00,59,00,56,00,\
    44,00,51,00,51,00,45,00,44,00,4b,00,75,00,76,00,55,00,7a,00,43,00,77,00,4a,\
    00,6f,00,3d,00,0d,00,0a,30,5c,30,0d,06,09,2a,86,48,86,f7,0d,01,01,01,05,00,\
    03,4b,00,30,48,02,41,00,e8,6c,03,b1,3c,91,bc,e4,46,b2,62,19,a3,fa,a8,5c,9f,\
    79,34,bd,60,fb,8c,c9,26,93,1c,46,74,c2,d1,6c,80,47,9d,a1,5f,af,54,6b,63,ae,\
    89,16,2b,a6,b4,27,54,90,2f,48,a3,5c,6b,b7,9d,46,39,74,aa,71,d3,bd,02,03,01,\
    00,01,a3,82,01,41,30,82,01,3d,30,14,06,09,2b,06,01,04,01,82,37,12,04,01,01,\
    ff,04,04,01,00,05,00,30,3c,06,09,2b,06,01,04,01,82,37,12,02,01,01,ff,04,2c,\
    4d,00,69,00,63,00,72,00,6f,00,73,00,6f,00,66,00,74,00,20,00,43,00,6f,00,72,\
    00,70,00,6f,00,72,00,61,00,74,00,69,00,6f,00,6e,00,00,00,30,56,06,09,2b,06,\
    01,04,01,82,37,12,05,01,01,ff,04,46,00,30,00,00,01,00,00,00,ff,00,00,00,09,\
    04,00,00,1c,00,08,00,24,00,16,00,3a,00,01,00,41,00,30,00,32,00,00,00,41,00,\
    30,00,32,00,2d,00,35,00,2e,00,30,00,32,00,2d,00,53,00,00,00,05,00,02,00,00,\
    80,d4,80,00,00,00,00,30,66,06,09,2b,06,01,04,01,82,37,12,06,01,01,ff,04,56,\
    00,30,00,00,00,00,10,00,40,00,49,00,4e,00,46,00,53,00,30,00,32,00,39,00,00,\
    00,37,00,36,00,38,00,36,00,39,00,2d,00,36,00,34,00,34,00,2d,00,31,00,39,00,\
    34,00,33,00,30,00,31,00,33,00,2d,00,35,00,30,00,30,00,31,00,38,00,00,00,41,\
    00,50,00,41,00,43,00,00,00,00,00,30,27,06,03,55,1d,23,01,01,ff,04,1d,30,1b,\
    a1,12,a4,10,49,00,4e,00,46,00,53,00,30,00,32,00,39,00,00,00,82,05,04,00,00,\
    00,04,30,09,06,05,2b,0e,03,02,1d,05,00,03,41,00,3c,eb,25,38,6f,42,95,f7,2d,\
    13,2c,e7,5f,4c,00,8d,a1,1d,c9,3b,29,ef,0c,21,21,d6,ec,8e,33,11,0e,d5,01,44,\
    ea,82,35,7b,97,35,00,38,7c,b1,1a,61,78,fe,7f,49,f6,ad,55,4a,20,9a,5a,fb,19,\
    f3,74,7f,f4,c9,31,00

  12. I have fixed my problem with deleting registry and then running RDC as administrator so this really works.

  13. Thank you! Thank you! Thank you! I have been trying to connect to my customer’s server for weeks. This did the trick!

  14. Jeff,

    Thanks for posting this. I was able to fix the issue on a Windows 7 machine where this registry had been deleted.

  15. my windows server 2008n r2 have remote desktop licensing which was not set and its now expired,hw do i get to use remote desktop connetion still

  16. Hey guys this is the right fix to resolve this issue. After you delete the REG key run RDC as administrator. Right Click RDC and run as administrator, this will reset you RDC and give you a new license.

  17. worked like a bomb!!
    RDP using Win7 to WinSrv2008

  18. Worked for me!! Thank you. I was getting an error stating my license for client access to Windows Server 2003 were counting down to expire.

    I followed the initial instructions to a “T” and thank you!!!

  19. very helpful..thanks a lot..:)

  20. Hi there!

    I had the same issue on multiple clients running Windows XP SP3, workstation were ghosted and sysprepped but we had about 100 stations with the same Hardware ID.

    According the post bellow, Sysprep on XP SP3 doesn’t delete this key, resulting in this situation. Could anyone confirm this, and maybe provide a KB number from Microsoft Support?
    http://pberblog.com/post/2009/12/01/Sysprepped-XP-SP3-images-gets-error-in-the-licensing-protocol-when-connecting-to-Terminal-Server.aspx

  21. TY!

    Worked like a charm.

    Client. W7 Enterprice.

  22. Thank you so much…!

  23. You are my saver !!!
    My office support made me wait 4 days with no solutions to my problem.
    Just applyed your fix and was able to work !!
    Thanks !!!!!!!!!!!!!

  24. Thank you for the information. However I couldn’t do it with my server 2008 R2 – 64 bit.
    I will apreciate your help

  25. It works for Windows 7 64b! TY

  26. It works for Windows 8,1 x64
    many thanks for the solution

  27. you are genius!!!!It worked. I was mad at this issue since 1 day.
    Thanks a lot. On other sited steps are given but not like given by you.

  28. Thanks so much Jeff. Have used TS for years and never saw this error. Tried several other sources then stumbled upon you site and your suggestions solved my problem immediately.
    I was very careful to follow your instructions exactly (run as administrator) and it worked the first time.
    Your site is bookmarked. I appreciate you sharing your knowledge!
    Thanks,
    Richard

Leave a Reply