Professional Documents
Culture Documents
Reset 120 day RDS Grace period on 2016 and 2019 - Virtualization Howto
Reset 120 day RDS Grace period on 2016 and 2019 - Virtualization Howto
Don t miss out on new posts! Sign up! Also, visit the VHT Forums!
johnsmith@example.com Subcribe
Confirm-deletion-of-the-timebomb-key-in-the-registry
If you have a home lab environment or another lab where you continually test various
solutions, licensing, and trial expiration is a challenge that you constantly tend to run
into. It is just part of the fun of lab environments. While most trials are fairly “hard and
fast” and don’t allow you to reset the trial expiration, if you work with Microsoft Windows
Server and Remote Desktop Services (RDS), there is a “hack” that allows you to effectively
reset the expiration of Remote Desktop Services grace period where you can essentially
rewind the clock on your RDS licensing if you are making use of this role inside your lab
environment. I am using Windows Server 2019 for my Windows workloads in my lab
https://www.virtualizationhowto.com/2020/10/reset-120-day-rds-grace-period-on-2016-and-2019/ 1/17
2/27/24, 7:06 PM Reset 120 day RDS Grace period on 2016 and 2019 - Virtualization Howto
environment. In this post, I will show how to reset 120 day RDS licensing Grace period on
2016 and 2019 Windows Server. Let’s see.
However, when you install the true Remote Desktop Services role, you can have multiple
sessions on your server. This is similar to the legacy Terminal Server role in previous
versions of windows.
When you install the role, by default, you have a 120-day grace period that Microsoft
gives you to license the server for use as an RDS installation properly. This is
accomplished by configuring remote desktop license servers with client access licenses. If
you are using a server in a lab environment, most likely, you are not going to license this
type of server outside of production in a testing environment, using a license server with
a remote desktop session host.
https://www.virtualizationhowto.com/2020/10/reset-120-day-rds-grace-period-on-2016-and-2019/ 2/17
2/27/24, 7:06 PM Reset 120 day RDS Grace period on 2016 and 2019 - Virtualization Howto
Error after 120 day grace period has expired for Remote Desktop Services
You can either redeploy your Windows Server which will allow you to spin up a new 120
day grace period, or you can actually reset the grace period. If you are like me, the latter
is certainly the path of least resistance and work involved. Let’s take a look at how to
reset the 120 day RDS grace period.
You can take a closer look at the official licensing documentation for Remote Desktop
Services here:
https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-
services/rds-client-access-license
To reset the grace period, there are actually just 3 steps involved:
Now that we have level-set, once you have your snapshot or other backup created, you
need to navigate to the following key location on your RDS server:
https://www.virtualizationhowto.com/2020/10/reset-120-day-rds-grace-period-on-2016-and-2019/ 3/17
2/27/24, 7:06 PM Reset 120 day RDS Grace period on 2016 and 2019 - Virtualization Howto
Computer\\HKEY_LOCAL_MACHINE\\SYSTEM\CurrentControlSet\\Control\\Terminal
Server\\RCM\\GracePeriod
Change Permissions on the RDS GracePeriod key and delete the key
Open a command prompt, and type regedit. After you have navigated to the key
documented above, right-click GracePeriod and select Permissions.
For obvious reasons, there are no default permissions on this key for even Administrators.
So you have to first take ownership of the key before you can delete the timebomb
value. Click the Advanced button on the permissions dialog box.
https://www.virtualizationhowto.com/2020/10/reset-120-day-rds-grace-period-on-2016-and-2019/ 4/17
2/27/24, 7:06 PM Reset 120 day RDS Grace period on 2016 and 2019 - Virtualization Howto
https://www.virtualizationhowto.com/2020/10/reset-120-day-rds-grace-period-on-2016-and-2019/ 5/17
2/27/24, 7:06 PM Reset 120 day RDS Grace period on 2016 and 2019 - Virtualization Howto
Here I have selected local administrators group as the owner of the key. However, you
will want to choose whichever user/group you want to use to delete the registry key.
Select the options to replace owners and replace all child object permissions.
https://www.virtualizationhowto.com/2020/10/reset-120-day-rds-grace-period-on-2016-and-2019/ 6/17
2/27/24, 7:06 PM Reset 120 day RDS Grace period on 2016 and 2019 - Virtualization Howto
User for ownership selected and set to replace permissions on child objects
Now that we have changed ownership on the key, we can actually set permissions
without getting permissions errors. Here I am granting administrators full control on the
key.
https://www.virtualizationhowto.com/2020/10/reset-120-day-rds-grace-period-on-2016-and-2019/ 7/17
2/27/24, 7:06 PM Reset 120 day RDS Grace period on 2016 and 2019 - Virtualization Howto
Change permissions for the user you want to be able to delete the key
Now, with permissions set, right-click the timebomb value in the GracePeriod key and
Delete.
https://www.virtualizationhowto.com/2020/10/reset-120-day-rds-grace-period-on-2016-and-2019/ 8/17
2/27/24, 7:06 PM Reset 120 day RDS Grace period on 2016 and 2019 - Virtualization Howto
https://www.virtualizationhowto.com/2020/10/reset-120-day-rds-grace-period-on-2016-and-2019/ 9/17
2/27/24, 7:06 PM Reset 120 day RDS Grace period on 2016 and 2019 - Virtualization Howto
Next, the only thing left to do is reboot your server. Once the server is rebooted, you can
enjoy once again having the full 120 day grace period for your RDS server in the lab
environment.
1:46 2:18
Wrapping up
https://www.virtualizationhowto.com/2020/10/reset-120-day-rds-grace-period-on-2016-and-2019/ 10/17
2/27/24, 7:06 PM Reset 120 day RDS Grace period on 2016 and 2019 - Virtualization Howto
The process to reset 120 day RDS Grace period on 2016 and 2019 Windows Servers as
well as older server versions such as Windows Server 2012 and 2012 R2 is very
straightforward using this process to delete the timebomb registry key.
Keep in mind this is not supported and certainly not a process for running in production.
However, it is very handy for lab environments to keep from having to redeploy Windows
Server virtual machines to have a fresh 120 day grace period.
Brandon Lee
Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com and has over two
decades of experience in Information Technology. Having worked for numerous Fortune 500
companies as well as in various industries, Brandon has extensive experience in various IT segments
and is a strong advocate for open source technologies. Brandon holds many industry certifications,
loves the outdoors and spending time with family.
Related Articles
Upgrade Windows Server 2019 Evaluation to Full Windows Server 2019 Remote Desktop Services
Version Standard to Datacenter without Domain
February 25, 2019 June 26, 2020
https://www.virtualizationhowto.com/2020/10/reset-120-day-rds-grace-period-on-2016-and-2019/ 11/17
2/27/24, 7:06 PM Reset 120 day RDS Grace period on 2016 and 2019 - Virtualization Howto
11 Comments
Mark
March 17, 2023 at 9:31 pm
Loading...
Reply
Mike W
September 12, 2023 at 10:01 am
Have you verified that 6 resets is the maximum? For Server 2022?
What if RDS feature was uninstalled and reinstalled? Would it go 120 days again?
Loading...
Reply
https://www.virtualizationhowto.com/2020/10/reset-120-day-rds-grace-period-on-2016-and-2019/ 12/17
2/27/24, 7:06 PM Reset 120 day RDS Grace period on 2016 and 2019 - Virtualization Howto
brandon.lee
September 12, 2023 at 10:38 am
Mike,
Honestly, I have reset it this many times, only a couple in various lab environments.
I am not sure what happens when you hit 6 or more. Is this a documented
limitation you have seen?
Brandon
Loading...
Reply
ABDULLAHIL BAKI
June 18, 2023 at 10:57 am
Loading...
Reply
Chris Pierce
July 5, 2023 at 3:09 am
yes it does
Loading...
Reply
john raymon
August 24, 2023 at 10:21 pm
thank you i got it to work. I am almost done testing. just waiting for wow to install the fiber lines than i can
go live. thankyou again it did work on 2022
Loading...
Reply
https://www.virtualizationhowto.com/2020/10/reset-120-day-rds-grace-period-on-2016-and-2019/ 13/17
2/27/24, 7:06 PM Reset 120 day RDS Grace period on 2016 and 2019 - Virtualization Howto
brandon.lee
August 25, 2023 at 8:25 am
John,
Thanks for the comment! I’m glad the process is still working on Windows Server 2022.
Brandon
Loading...
Reply
daniel winters
September 14, 2023 at 1:01 am
you can use it as many times you want i am running a home lab wich sometimes need to be spun up and i
have resetted it 12 times already and still working.
i only need this machine 6 times and only for testing purposes.
Loading...
Reply
Raphael
October 31, 2023 at 10:48 am
You dont need to Reboot the Server. Just restarting Remotedesktopservices Service does the job for me
Loading...
Reply
WanpengQian
November 22, 2023 at 12:21 am
I have create a service program that will automatic remove this registerkey values.
Feel free to have a try.
github.com/WanpengQian/RRKS
Loading...
https://www.virtualizationhowto.com/2020/10/reset-120-day-rds-grace-period-on-2016-and-2019/ 14/17
2/27/24, 7:06 PM Reset 120 day RDS Grace period on 2016 and 2019 - Virtualization Howto
Reply
Infratech
January 23, 2024 at 12:18 pm
great master, how do I install this program? Thank you for the instruction!
Loading...
Reply
Leave a Reply
Your email address will not be published. Required fields are marked *
Name *
Email * Website
Post Comment
This site uses Akismet to reduce spam. Learn how your comment data is processed.
https://www.virtualizationhowto.com/2020/10/reset-120-day-rds-grace-period-on-2016-and-2019/ 15/17
2/27/24, 7:06 PM Reset 120 day RDS Grace period on 2016 and 2019 - Virtualization Howto
Best Virtualization Projects in 2024 for the GMKtek Nucbox M5: Perfect Mid-tier Home
Home Lab Server in 2024?
Subscribe
https://www.virtualizationhowto.com/2020/10/reset-120-day-rds-grace-period-on-2016-and-2019/ 16/17
2/27/24, 7:06 PM Reset 120 day RDS Grace period on 2016 and 2019 - Virtualization Howto
HP Envy x360 with Intel Meteor Lake and AMD Hawkpoint 14 inch convertible
News of HP updating its Envy x360 14-inc...
By Brandon Lee , 14 hours ago
RE: Does the Minisforum MS-01 support bifurcation with the PCI-e slot?
@jaxjiang Do you know if Minisforum is p...
By Brandon Lee , 16 hours ago
https://www.virtualizationhowto.com/2020/10/reset-120-day-rds-grace-period-on-2016-and-2019/ 17/17