Remove the RDS licensing time-bomb registry entry with the help of Sysinternals PSExec (Regedit alone couldn’t do it because it had to be run under highest privileges):
psexec -s -i regedit.exe:
Locate the registry key: HKLM\system\CurrentControlSet\Control\Terminal Server\RCM\GracePeriod
Remove the registry key GracePeriod and reboot the computer.