The Remote Desktop Services (RDS) role in Windows server requires appropriate client access licenses (CALs) to be installed in order to function properly. However, there is a 120-day licensing grace period which begins when the role is installed. During this grace period, RDS functions without any CALs having been installed. This is to allow an organization to configure and test its RDS environment to ensure that everything works as expected before purchasing and installing CALs.
It is possible to reset this grace period, but resetting the grace period is not a substitute for purchasing and installing the required Remote Desktop CALs. The following steps should not be performed on a server that is in production.
To reset the RDS licensing grace period, perform the following steps:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\GracePeriod
.REG_BINARY
entry whose name begins with the string L$RTMTIMEBOMB
. (This is likely the only entry in this key.) The default permissions on this entry do not allow it to be modified or deleted, so these permissions must be changed.
L$RTMTIMEBOMB
... registry entry and select Delete. Click Yes to confirm the deletion.You may confirm that the procedure was successful by using the RD Licensing Diagnostic tool from the Tools menu of Server Manager. Clients should now be able to connect to this session host without the applicable CALs. Again, this procedure is not intended to be a substitute for purchasing and installing Remote Desktop CALs. It should only be performed in a non-production (that is, a test or lab) environment.
(invoke-cimmethod -inputobject (get-ciminstance -namespace root/CIMV2/TerminalServices -classname Win32_TerminalServiceSetting) -methodname GetGracePeriodDays).DaysLeft