Reset RDS Grace Period – Terminal Service

Steps to reset Remote Desktop Services

Licensing notification

Open Regedit and go to the ‘GracePeriod’ key shown below.

GracePeriod key

Give the local Administrators group ‘Full Control’ of the ‘GracePeriod’ key. It’s assumed you are a member of the local Administrators group.

Permissions for the GracePeriod key

Delete the binary data highlighted in the second image.

Reset Grace Period

Reboot the server or restart the Terminal Service.

Modify Registry Using Command-line

Modify the registry without prompts – suitable for use with batch files. Run with elevated privileges.

reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\etc\etc /v Valuename /t REG_SZ /d valuedata /f

/v Value : The value name eg ProgId

/t DataType : REG_SZ (default) | REG_DWORD | REG_EXPAND_SZ | REG_MULTI_SZ

/d Data : The actual data to store as a “String”, integer etc

/f Force: Force an update without prompting “Value exists, overwrite Y/N”