Windows Remote Desktop can also be enabled or disabled from the registry. This method is specially useful when you want to enable Remote Desktop remotely. You can connect to the registry of the remote computer through remote registry and make changes accordingly.
To enable Remote Desktop through registry, do the following:
Go to the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server
In the right hand pane, find the key fDenyTSConnections and make the value to 0 to enable Remote Desktop