You must be able to access the server in another way in order to do this. Mine was a VM so I was able to get into a console session through VMware vSphere.
Open your Registry Editor and navigate to
and select GracePeriod.
Right-click this key and back it up by choosing export and putting it in a safe place.
Now you won't be able to delete it without taking ownership first. Right-click the key and choose Permissions...
Then go to Advanced
Change the owner to your user name.
For good measure, choose Replace owner on subcontainers and objects under your name and Replace all child object permission entries with inheritable permission entries from this object
Now you can delete the key. After a restart you should be able to access your server via remote desktop again.