A fully functional and activated 2012 Remote Desktop Session Host server displayed the following message:

error no licence

This was a simple setup on one server with the: connection broker, Session Host and Licensing server with 2012 CAL’s installed.

Even though the licensing seems to be configured correctly, in server manager:


and powershell:


Licensing diagnostics:


everywhere you look, everything seems to be OK. But the license manager shows something odd:


No licenses are being used? This server was used since late 2012. Some interesting things could also be found in the event logs, the following events appear:

EventID: 1130
Source: TerminalServices-RemoteConnectionManager

The Remote Desktop Session Host server does not have a Remote Desktop license server specified. To specify a license server for the Remote Desktop Session Host server, use the Remote Desktop Session Host Configuration tool.



EventID: 1128
Source: TerminalServices-RemoteConnectionManager

The RD Licensing grace period has expired and the service has not registered with a license server with installed licenses. A RD Licensing server is required for continuous operation. A Remote Desktop Session Host server can operate without a license server for 120 days after initial start up.


The solution was to delete the REG_BINARY in

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\GracePeriod

Only leaving the default.


Note: you must take ownership and give admin users full control to be able to delete this key.

After a reboot the server should be working again, licenses are now being used:

Although everything seemed to be ok and configured correctly with valid licenses, it seems that the setup was still in a 180 day grace period, even though it was correctly configured.
A possible bug in RDS 2012?

Categories: Remote Desktop


  1. Sean

    Works thanks for the write up!

    1. ankush

      if i do so is there any discrepancy happening,pls suggest

      1. ankush

        if i delete this key is there any negative impact on my netywork or do i need to take a backup ofr the same.

        1. Eric Verdurmen

          I haven’t encountered a single issue, but is it’s always wise take a snapshot or make a backup before making this change.

          1. Bryan

            It works!!! client is able to resume using TS. But strange that in my case the license server still reported no TS licesnse being issued out. Wondering if there is a permanent fix for it. Otherwise I would have to delete this registry key once again after every 120 days.

          2. Eric Verdurmen

            Great! If there are still no licenses being used on the licence server, then it isn’t really fixed. It will return in 120 days, try checking all licence options just like I did in the article. And perhaps you also need the steps pointed out by Dave:

  2. Wow.. I have looked all over for this fix and I found a few locations that had a brief mention of it but not in this detail. Had two servers I was battling with this problem and both are up now. Thank you!

  3. David

    Thank you for taking the time to write this issue up and find the solution. The issue just hit use today and the suggested fix worked!


    Thx alot – works like a charm…
    Seems to be a MS Bug 🙂

  5. Martin

    works for 2008r2 too

    Thank you

  6. abe

    It says:
    Unable to delete all specified values

  7. Eric Verdurmen


    Note the note:
    Note: you must take ownership and give admin users full control to be able to delete this key.

    Click the key you want to take ownership of.
    On the Edit menu, click Permissions.
    Click Advanced, and then click the Owner tab.
    Under Change owner to, click the new owner, and then click OK.

    1. Noor al-jaberi

      Thanks so much for this hint of “taking ownership” I was wondering how to make the permission.

    2. SB

      It works like a charm! I managed to delete the key by changing the owner under the Owner tab as instructed by you. Thanks

    3. SB

      Great to know this trick! I managed to edit the permission.

  8. Zack

    This was a huge help. Fixed the issue with RDS 2012 not recognizing license server even though it was installed on the same box!

  9. fit

    BIG BEER – where to send it?

    1. Eric Verdurmen

      Beer is always welcome! 🙂

      1. Adam Koppel

        You are lucky boy. You saved my ass right now and I am from Czech republic. So seriously: where can I send a pack of Pilsen/Bud (your choice)?

  10. Nice catch – thank you for the article!

  11. Graham

    Just wondering if you tried this first to point to the Licensing server?
    Although I can understand why you may not have done this.
    1.Open an elevated Windows PowerShell prompt
    2.Type the following command on the PS prompt and press Enter:

    $obj = gwmi -namespace “Root/CIMV2/TerminalServices” Win32_TerminalServiceSetting

    3.Run the following command to set the licensing mode:
    Note: Value = 2 for Per device, Value = 4 for Per User


    4.Run the following command to replace the machine name with License Server:


    5.Run the following command to verify the settings that are configured using above mentioned steps:


    1. Eric Verdurmen

      Hi, I tried a lot of things, not everything I tried was in the blog item. But i tried this as well, didn’t work though.


    2. Ayaz Tutla

      After hours of troubleshooting and looking for a solution. Your Resolution worked for me. Thanks a lot for this.

    3. Marc

      Thanks a lot!! This solution also worked for me! Now i am not in grace period anymore.

    4. LlawZ

      Thanks @Graham!!!
      Hours searching at microsoft technical forums and with everything well configured and the licences activated the server failed to issue licenses.
      Because I couldn’t set the license server with the microsft wizard, with your suggestion everything was solved 🙂
      You saved my day!!!

    5. Tim

      Thanks! This actually fix my issue!

    6. sachin

      $obj.GetSpecifiedLicenseServerList() is not working

      1. Eric Verdurmen

        Did you supply the correct license server name in the command between () ?

  12. Zachary Long

    You are a god. Almost 4 hours of crushing my face against the desk, and then I found this. Fixed it instantly. WTF, Microsoft????

  13. Dave

    Trying this on server 2012, the Reg_Binary re-appears after a reboot.

    1. Eric Verdurmen

      That’s correct, but the licensing should be working after the reboot. You can check this in the license manager. You should be able to see licenses in use.


      1. Zack Sutton

        I have done this for a few 2012 boxes, but the key ALWAYS comes back, and I have to repeat after 180 days. It always shows 0 licenses issued…..

  14. juan valencia

    Gracias Excelente me salvaste

  15. Regis

    It works for me. Thanks. You are BIG !

  16. Maan

    Excellent, after 1 day fight with W2012 RDS I found this website and now I am winner. Thx a lot.

  17. DaveG

    I also encountered this same error in Server 2008 R2 RDS… The same fix worked like a charm.

    Thank you!

  18. Schyler Jones

    Nice job on finding this out and posting the fix. Had the same exact issue and your solution saved me a boat load of time – thanks! Eric Verdurmen for Microsoft CEO!

    1. Eric Verdurmen

      Well, they are looking for a new guy! But I don’t think I would be the right person for the job 😉

      I’m glad it worked for you!

  19. Peb

    Thank you, that was the trick !

  20. HM Patel

    Problem solved by above mentioned solution…. Great!!! Thanks

  21. Anhad

    Name what you want and I shall grant it boy.

  22. Nick

    You’re a star. Thanks very much.

  23. Thomas

    Thanks a lot! You are a star.

  24. Richard

    If you didn’t know, I’ll tell you now.


    Worked for me on 2012.

  25. […] poměrně dost lidí, nakonec jsem našel jednoduchou radu jak to vše zprovoznit. Podle článku http://www.360ict.nl/blog/no-remote-desktop-licence-server-availible-on-rd-session-host-server-2012/ stačí pouze upravit hodnotu v registru. Nevím, zda je to legální ,ale jede […]

  26. Joe C

    Thank you very much! This worked great for Server 2008 R2 as well.

  27. Florian

    Ran into the same problem today even though it seemed a bit different :

    The License manager showed that licences were issued but the ID1030 event was still shown in the Event Viewer.

    And instead of ID 1028 it show ID1029 but with the same text (in german though on this machine 😉 )

    I deleted the key but havnt started the server yet – as most users are still conncted at the moment – new users still get the above shown error.

    Will restart later and report 😉

  28. Ricardo de Valencia- Spain

    Many, many thanks…

  29. Paulie D

    Right On -worked and saved the day!

  30. I had this issue. However following this didn’t resolve the issue. I had to carry out a few extra steps in WMI to fix it.


  31. Hi !

    This was super 🙂

    It worked for my RDS solution on Azure Cloud (Azure Virtual Machines – MS Windows Server 2012). Thank you, Thank you !!!!

    Best regards

    Ole Henrik Oftedal
    System Engineer
    Timeflex Systemer AS

  32. […] This was posted by Eric Verdurmen at this site: http://www.360ict.nl/blog/no-remote-desktop-licence-server-availible-on-rd-session-host-server-2012/ […]

    1. Eric Verdurmen

      Nice, can somebody verify if this really fixes this?

  33. Nguyen Minh hoang

    Thank you so much.

  34. Roop

    Hi Eric

    Did you have success with the hotfix? If yes , can you please mention hotfix as a solution in the article instead of deleting the Grace period key.


    1. Eric Verdurmen

      I usually just fix it using the described workaround, haven’t tried the hotfix yet. It could be worth a shot though, but as far as I can see the hotfix fixes certificate issues.
      If you try it and it works, please tell us.

      1. Roop

        Yes. It does work for us. Thanks.

  35. Vladimir

    Thank you so much man!
    I wonder if this issue will really come back after 180 or 120 days?

    1. Eric Verdurmen


      It didn’t came back after that period.

    2. Roop

      Installing http://support.microsoft.com/kb/2916846 should fix the issue permanently

    3. Iryna

      The solution is quite elegant and helps, but the problem reoccures after 3 month. Will try hotfix mentioned below or just create a task schedule what will clean registry key like once a month (when installing Windows updates)

      1. Eric Verdurmen

        Some are indeed reporting this, strange. On all the machines I had to do this, I only had to do in once.

        Please report back if the hotfix fixes it permanently.

  36. albieg

    Thanks for the solution to this problem, it worked.

  37. Hi,

    This seems to have fixed my issue however the licenses are still not being issued properly. All that has done has reset the grace period again. Has anybody else had this?

  38. I think the final steps in the link that Vivek provided has fixed my issue so thanks to you both for your help. Much appreciated.

  39. MadEmY


    Work fine!!!

  40. gtm

    Fantastic tip. It was working at once, and it has saved “my life”. Thanks a lot.

  41. noman

    You save our life thanks a lot perfect superb hasta la vista

  42. Ron DeOliveira

    Microsoft, we need to RDP to servers to manage them so you can make money. Free RDP licenses!!!!

  43. Jason

    Would like to confirm this works with server 2008R2.

  44. Heyie
    Thanks a ton for the tip.
    But my major issue is that I am totally locked out of the server and cannot access it at all as whenever I try to connect it gives me the same error on RDP and I cannot physically sit on the server as it is an offshore server set up remotely.
    Can you help me with this?

    1. Eric Verdurmen


      That can be troublesome indeed, but I beleave an admin session is still possible, try using /admin in mstsc to connect to the server. Assuming you cannot connect to the Console using tools like Dell RAC, HP ILO or any other way to connect to the console.

      good luck!

  45. Lisa

    Thanks so much…this really saved me valuable time hunting down why the licensing server didn’t recognize itself.

  46. […] fonte: http://www.360ict.nl/blog/no-remote-desktop-licence-server-availible-on-rd-session-host-server-2012/ […]

  47. PaulE

    We had the same issue at a customer site running Citrix XenDesktop 7.1 were W2K8 R2 server desktops are published. After modyfing the vdsik image för W2K8 (using Citrix Provisioning Server) with the registry fix the issue was resolved. Many thanks for sharing this information. Great stuff!

  48. Tomas Dybdahl

    This solved my problem – thanks!!!

  49. Haruma Ahn Tghuen

    I have a problem with installing W12 RDS as it always says:”Your version of microsoft windows does not support following data formats:..” and then comes list with about 150 items I don’t understand at all. I have W7 with all the latest uptades.

  50. DanY

    Excellent! It helped me also! Life saver!

    Just wasn’t sure, at first, how to take ownership on Security of the key but your answer here helped me again! I guess whenever that is done, it works!!

  51. arjun

    thanks guys..it helped!

  52. Todd

    Nailed it! Was having a HELLUVA time with an offsite server that was reprovisioned. it kept looking back at an expired timebomb entry and would not let me finish configuration remotely. saved my a$$

  53. Daniel

    This works for Windows Server 2012 and Windows Server 2012 R2.
    Available hotfix is only for 2012, not R2.

    Somebody knows if there is a hotfix for 2012 R2?

  54. gopherlechien

    Merci, merci…
    You’ve just save me from the big BUG, happy new year.

  55. Joinerman

    Thanks for the help. Luckily for me this was the first link I tried. Worked like a charm!!!

  56. Phasers

    Add me to the list of people who this resolved my issue on Windows Server 2012 R2. Now if only the hotfix applied to R2 as well…

  57. Shaun

    I think I love you, this has been an issue for me for weeks, LIFESAVER!!!!

  58. Amazing !It’s working after follow your steps .Many thx.

  59. Deepak

    My server is NOT running on original windows server 2008r2, will it still work for extending RDP 120 days grace period.?
    I am getting following message : No remote desktop license server is specified, remote desktop services will stop working in 10 days if a license server is not specified. Click this message to launch the RD session host server configuration tool to specify a license server for the RD session host server to use.

    1. Eric Verdurmen

      I only use the mentioned fix to fix 2012(R2) RDSH servers to fix it not seeing valid licenses. I never tried it on a 2008R2, I also never encountered the issue on a 2008R2 server.

  60. harshal

    What happens if we don’t do this and 180 day period expires? Does it by default activate the CALs or it just stops working?

    1. Eric Verdurmen

      It stops working, working and activated CALs should work immediately.

  61. Florian

    Still getting this on nearly every RDS I deploy 2012 or 2012R2 and the strange thing is, that some of these servers were already in use for about a year or a half – so more than 180days …. I dont get it. I didnt even use the grace period on these servers but installed the licenses the day i’ve setup the machine.

    The deletion of the registry value always seems to help though

  62. Jeremy

    I’m having this problem ON my Remote Desktop License Server itself. My Session Host is a different server. Effectively, My Remote Desktop License Server cannot find itself to issue itself Remote Desktop Licenses. The only way I can access it after the “Grace period” is by way of the “console” on my vSphere.

    This solution fixed it, for a couple more months, but it still insists it is unconfigured.

    1. Eric Verdurmen

      Have you checked the configuration using the methods I used in the article?

  63. Hari

    Deleting the grace period key is policy violation. Installing the hotfix http://support.microsoft.com/kb/2916846 is the correct resolution.

    1. Eric Verdurmen

      Using the hotfix should be the first thing to try, but if it doesn’t work and you have a valid license installed which isn’t working. This fix does come in handy.

      The fix isn’t available for 2012R2, and some are reporting that they also experience it on those servers.
      In this case you’re doing it to fix a bug, not being able to use the licenses which you bought. It’s a bit of a grey area really.

  64. navi

    We have Terminal license expired on windows server 2008 R2. We access the server by remote desktop only and have no access to physical server. As terminal license was expired I could not log into server but from other server in domain using Administrativ Tools->Remote Desktop Services -> Remote Desktop I was able to log into server from other server and delete the file from GRACE PERIOD as expalined above. We were going to put permanent fix later but after 1-2 days its locked the license again and I am not able to log into server again.
    If I try to log from other server like I did before using Administrativ Tools->Remote Desktop Services -> Remote Desktop I can not log in. It just says disconnected from server.
    Can anyone help with this to suggest what can I do to log into server.

    1. Eric Verdurmen

      Haven’t you got a DRAC or ILO in that server? And I believe a console session still works, look at: http://www.360ict.nl/blog/mstsc-command-line-switches-a-bit-more-explained/

    2. RJ

      RDP will still work but you will need to RDP with the /admin option: mstsc /v:servername /admin

  65. Mohit Bharatwal

    Hi Guys,

    I also share a tweak if you want to make the the grace period forever or for 600+ days.

    If you extent and change the server date to another year, lets say 1st March 2017 or 1st march 2016 and log off and re login the server. Once you do that then login to server and delete the registry key mentioned above.

    After this log off from server and re login to the server and bring back the original date of the server (for e.g. 1st March 2015) to correct date time and year.

    You will see that now the grace period have been extent for 600+ days.

    Caveat – Do not try this in case you’ve license antivirus or IIS server running. It would be prudent to disable/uninstall them prior doing date change else this will causes unnecessary issues. or make server out of network before you do this and STOP all critical services prior doing this.

    Enjoy the unlimited days guys!!

  66. scice

    Works for server 2008R2 as well. Thanks!! Saved me.

  67. […] Grace Period has expired even though RD Licensing is properly configured, see Eric Verdumen No remote Desktop Licence Server availible on RD Session Host server 2012. The solution was to delete the REG_BINARY in […]

  68. Pawan Soni

    Hi, we buy 40 RD License and 5 servers and all server in domain.
    i want to configure per user mode.
    how to give 8 RD license each server.
    kindly provide me step by step\


    1. Eric Verdurmen

      Hi, I don’t think it’s possible to assign per user licenses to servers. You could just limit the number of users per server to 8.

  69. arshad alam

    Thanks a lot, it saved me my job! Thanks again, facing this issue for four days and got the solution in 4 minits, a big hug and many many thanks!

  70. Matt

    Tried this on Server 2008, after removing the reg key and rebooting the key was added back by the system. The license server error was still present.

    Found that if I deleted the key and then went back into RD License Manager –> My Server –> Right Mouse click and choose Advanced: Reactivate Server. The server was working and licenses are being used.

    Have not had a chance to try this on another server (maybe you can and post back), thinking that after installing the RD Role and before performing the configuration for the license server, delete the reg key above. Have the system in a state where there is no Grace Period key in place, before adding the license server.

  71. […] Grace Period has expired even though RD Licensing is properly configured, see Eric Verdumen No remote Desktop Licence Server availible on RD Session Host server 2012. The solution was to delete the REG_BINARY […]

  72. Matt

    Just a quick followup as I do my second PC and find a little more information.

    In addition to the issue with the registry key present for the grace period I found that I also needed to set the license server using the power shell. “Eric Verdurmen” linked above (blackforce.co.uk) that shows how to do this. My setup is a little different in that I don’t have a domain license server, rather we have CALs from the Open License program – activated by connecting to Microsoft and then the license is installed locally.
    From the link to the blackforce.co.uk site we have:
    I changed this to:
    Following this I went back into the RD License Manager –> Advanced –> Reactivate server. License is activated, issues resolved.

    1. Benoit

      I too don’t have a domain, single RDS, licensing on the same server. Deleting the key works but I still don’t have any licensed beeing “Issued”. The count is always at 0.

      I’ve applied the hotfix but same result. I fear that the issue will come back in 120 days.

      1. Eric Verdurmen

        After the fix, there should be issued licenses, if there aren’t. The fix didn’t work

    2. sean

      This fails with a ‘you cannot call a method with a null expression’

      1. Eric Verdurmen

        This sometimes happens when you copy the code, and paste it in a powershell window, paste the code in notepad first, replace all the spaces an quotation marks. This should fix it.

  73. Thank you so much for posting the solution. I spent an entire day removing no RDP licence error when connecting to the RDS server. After following your instructions, I was able to fix the issue in matter of minutes. Thank you once again!

  74. larry heier


    I’ve seen this issue on Windows 2012 R2 and really could use the hotfix on this platform. Any one know if this is coming out or what to do other than the registry edits?


  75. larry heier


    Great blog entry. We’re having this issue with some Windows 2012 R2 RDS servers and want to apply some sort of Microsoft Hotfix for this newer operating system like the one that exists for Windows 2012. Does anyone know if there’s something out there to compliment http://support.microsoft.com/kb/2916846?

    thanks in advance,

    1. Eric Verdurmen

      Not as far as I know. It would be great if they did though. Perhaps you could report it to Microsoft? Just to put it on their radar.

      1. larry heier


        It has been half a year since I reported the same issue on Windows 2012 r2 and I didn’t get anywhere with Microsoft on my call BUT I have seen another customer with this issue and also see on people starting to see this issue more often with Windows 2012 R2.

        Has anyone else with Windows 2012 R2 found a permanent fix for this problem as deleting the registry key is a temporary fix.

        thanks all,

  76. Eduardo

    Lord Eric, thanks a lot, you are welcome to Cancún México whenever u want

  77. Jeison

    Great !, in support Microsoft (forums, e-mail, phone) does not provide solutions to this

    Thank you!

  78. Marjon

    wow, thank you so much for this solution!

  79. Group Policy setting takes precedence over the license servers configured in Remote Desktop Session Host Configuration.

  80. […] Grace Period has expired even though RD Licensing is properly configured, see Eric Verdumen No remote Desktop Licence Server availible on RD Session Host server 2012. The solution was to delete the REG_BINARY […]

  81. Sandeep

    Awesome, thank you

  82. TheGreenGorilla

    Spot on! This sorted it for me!

  83. Paulo

    Still working for me with Windows 2008 R2 with all updates to date. Thanks mate!

    Note: I compared registry values with another server and GracePeriod and all its subkeys were not present.

  84. ras

    great!! Thanx

  85. Ganesh

    “Remote Desktop Session Host server is within its grace period, but the RD Session Host server has not been configured with any license server”

    To activate the licenses or better to hook the RDS service to the already inserted licenses you must launch GPEDIT.MSC and go to:

    Computer Configuration > Administrative Template > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Licensing

  86. Jean

    Removing the Hex Key from the registry solved the issue here as well.

    It boggles the mind that as of April 2016 Microsoft still has not resolved this issue from their server software. A licence update was done as per Microsoft documentation, the server was showing rds licensing to be valid and all systems were “green”; yet when the grace period ended, nothing worked anymore.

    1. Jean,

      You said it very well – this should be included in a hotfix for Windows 2012 R2 yesterday.

      Please Microsoft do this!


  87. […] Grace Period has expired even though RD Licensing is properly configured, see Eric Verdumen No remote Desktop Licence Server availible on RD Session Host server 2012. The solution was to delete the REG_BINARY […]

  88. Thanks for the write up, it has been a life saver!

    I have licenses installed, but every few months I have to delete the GracePeriod registry. Any idea why?

    1. Eric Verdurmen

      Did you check the configuration of the licensing server?

  89. […] Grace Period has expired even though RD Licensing is properly configured, see Eric Verdumen No remote Desktop Licence Server availible on RD Session Host server 2012. The solution was to delete the REG_BINARY in […]

  90. Fronk

    Thank You Very much!!!

  91. Bobby Brown

    Thank you so much

  92. Luis D.

    Thank you so much Thank you so much Thank you so much Thank you so much Thank you so much Thank you so much Thank you so much Thank you so much Thank you so much Thank you so much Thank you so much Thank you so much Thank you so much Thank you so much Thank you so much Thank you so much Thank you so much Thank you so much

  93. Toby Peterson

    I beleive this is fix you’re looking for https://support.microsoft.com/en-us/kb/2916846

  94. […] Grace Period has expired even though RD Licensing is properly configured, see Eric Verdumen No remote Desktop Licence Server availible on RD Session Host server 2012. The solution was to delete the REG_BINARY in […]

  95. […] Grace Period has expired even though RD Licensing is properly configured, see Eric Verdumen No remote Desktop Licence Server availible on RD Session Host server 2012. The solution was to delete the REG_BINARY in […]

  96. Thanks, you saved me from a lot of headaches. Great solution!

  97. Francisco

    To this day . This solution still works!!

    Where do we send the beer?

    Thank you Sir !

    Like the Note said. Make sure you take ownership of the permissions for that particular Key. Otherwise this fix will not work !

  98. […] Grace Period has expired even though RD Licensing is properly configured, see Eric Verdumen No remote Desktop Licence Server availible on RD Session Host server 2012. The solution was to delete the REG_BINARY in […]

  99. Anmol

    I have purchased xenapp eseentials with remote access licneses, xenapp doCumentaion says if I am paying extra cost for remote access licenses I dont need RDS CAL’s how come when I RDP into my VDA I see there that Remote desktop services will expire in 120days? I dont need to install the CAL licenses A/Q to the xenapp essentials documentation then How will I get rid of this warning? Can anyone help me with this.

    1. Eric Verdurmen

      according to:


      The Citrix XenApp Essentials offering accesses Windows Server remote session capabilities that would typically require RDS User CALs. RDS CALs are licensed along with Windows Server software, separately from Microsoft Azure, and require minimum 12-month commitments. For the convenience of customers subscribing to the Citrix XenApp Essentials service via Azure Marketplace, Microsoft will charge a Remote Access Fee for each registered user (current price is $6.25 per user per month), which will enable you to use Citrix XenApp Essentials on Azure, without needing to purchase separate RDS CALs for this workload. However, if you have already purchased RDS User CALs with Software Assurance, and wish to use these licenses with this workload on Azure, then please contact your Microsoft representative.

      you still need RDS licenses

      1. Anmol

        But I have purchased the CAL Licenses from azure marketplace along with xenapp, and in there documentaiton they have written that I dont required to install those licenses If I have purchased from Citrix? So I dont need the RDS CAL’s, then how come I am facing this warning on one of my VDA.

  100. Eric Verdurmen

    From what I know, you still need the CAL’s, and they’re located in the customer Azure subscription service.

    I haven’t tested Xen App essentials myself, so I can’t help you here.

  101. mik

    Is it possible to check via script/reg entry if RDS licensing is activated?
    I have couple of systems where users did not bother to uncheck not-required roles before installation so filtering those machines serving as actual RDS Licesing machines via SCCM (SMS_G_System_SERVER_FEATURE.Name = “Remote Desktop Licensing” or SMS_G_System_SERVER_FEATURE.ID = 131) is difficult.

    1. Eric Verdurmen

      You could run a powershell query on all servers:
      Get-WindowsFeature -computer {computername} -name “RDS-Licensing” | ? {$_.installed -eq $true}
      And if it’s installed, check wether or not it’s activated. I don’t know how the latter part can be done though.

  102. Thanks for the post – was wracking my brain on this one for a while on a server that appeared to be correctly licensed but still wouldn’t let people connect. Deleting the registry key sorted the problem out.

  103. […] Grace Period has expired even though RD Licensing is properly configured, see Eric Verdumen No remote Desktop Licence Server availible on RD Session Host server 2012. The solution was to delete the REG_BINARY in […]

  104. Thank you, life saver !

  105. JBfromIT

    The solution fixed a problem I was experiencing for months in my Citrix XenApp + Pvs environment. My golden image / vDisk had the non-default value in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\GracePeriod and it only impacted the FIRST LOGON on each of my XenApp servers. I can’t thank you enough!

  106. Johan

    Perfect – deleting the GracePeriod Binary entry solved also my problem:
    5 years after you published it – it still works!
    You rocks!!!

  107. […] Grace Period has expired even though RD Licensing is properly configured, see Eric Verdumen No remote Desktop Licence Server availible on RD Session Host server 2012. The solution was to delete the REG_BINARY in […]

  108. Manny

    Excellent, the only one that got this right. Thank You

  109. heshan steve

    i had a same issue
    my enviromant have 24 RDS session host servers and 1 rds licensing server. all RDSH servers point to licensing server so there are no any issue from that side.
    i delete registry binary and problem sorted so far ..
    i just want to know what happend after 120 days ? i mean shall i delete same key again after 120 days?

    1. Eric Verdurmen

      In most cases, 1 time deletion is enough.

      If it’s working correctly, you should be able to see licenses being used on the licensing server.

  110. […] Grace Period has expired even though RD Licensing is properly configured, see Eric Verdumen No remote Desktop Licence Server availible on RD Session Host server 2012. The solution was to delete the REG_BINARY in […]

  111. Ian

    Cheers Microsoft. Now means my lab can have RDP access past the grace period. 🙂

  112. […] Grace Period has expired even though RD Licensing is properly configured, see Eric Verdumen No remote Desktop Licence Server availible on RD Session Host server 2012. The solution was to delete the REG_BINARY in […]

  113. SyneyIT

    It has been more than 6 years since you post it. But it worked ‘today’

    1. Eric Verdurmen

      I’m glad it worked for you

  114. Frank

    Many Thanks for this post!
    Like the writer before me, this post helps me also in 2019.

    1. Eric Verdurmen

      Fijn dat je er nog iets aan hebt 🙂

  115. eddy

    thanks! been looking for this fix!

  116. Stephan

    Thanks a lot ! Solved my problem on Server 2019 RDP with SBS 2011 DC after hours of trial and error.

  117. […] Grace Period has expired even though RD Licensing is properly configured, see Eric Verdumen No remote Desktop Licence Server availible on RD Session Host server 2012. The solution was to delete the REG_BINARY in […]

  118. Carl

    Thanks, bug still happens in 2019, just fixed it for me 7 years later

  119. Don

    This also works for Server 2016!

  120. Sam

    Thanks man! you save my life!

  121. Awesome! After so many years, its still works. Thanks.

  122. Stephen Barrett

    Not working for me – even has MS support puzzled. RDS hosts active for 5 years suddenly complains about no licence server. All licencing config is correct. Deleting Grace Key has a 50% of working. If it doesn’t work, no login is possible unless using the console RDP connection.

    10 RDS host affected out of 70 now and it’s spreading. 🙁

    1. Eric Verdurmen

      All servers are 2012?

      maybe an update broke this fix?

  123. Joining in as I had the case with a Server 2016 where everything was set properly (CALs installed, license server activated and matching local group policy entries set up, as illustrated as this article) but remote clients still had the error message no matter what. First of all, many thanks for this article that finally nails the issue much better than the countless outdated posts and solutions flooding the internet. This is what I want to see more on the internet, not the countless posts stupidly repeating the same things over and over, and which are never updated.

    Something to add for those who can’t restart their server: go to services.msc then restart the Remote Desktop Services service.
    And magic. Now future RDP connexions first go into the temporary slots for the first 4 of them, then finally use the CAL for the next ones.

    I tried that after deleting the “TIMEBOMB” registry key. I have no idea if restarting the service would have worked without deleting that key.

Leave a Reply to Eric Verdurmen Cancel Reply

Your email address will not be published. Required fields are marked *