Created
June 22, 2019 06:36
-
-
Save D4R4/d82153547e23840abe304f7c3c1f571b to your computer and use it in GitHub Desktop.
Extend windows RDP graceperiod after 120 day trial expiration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hkey_local_machine\system\CurrentControlSet\Control\Terminal Server\RCM\GracePeriod | |
-> Change permission to full control | |
--> delete the key inside | |
@echo off | |
REG DELETE \\ServerName\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\GracePeriod /v L$RTMTIMEBOMB_1320153D-8DA3-4e8e-B27B-0D888223A588 | |
net stop termservice | |
timeout 30 | |
net start termservice | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment