I bet the following scenario happened to you:
You install a server, configure it, install the required programs, set its IP address etc..
After half a day of work (since you didn’t create an image) you send the server to its remote location.
When the server arrives to its site and the local technician plugs it in,
you discover that you forgot a small but very important V: Allow remote connection to this computer.
Fear not, the following procedure will Enable Remote Desktop remotely by using the registry:
- The RemoteRegistry Service must be enabled in order for this to work.
- Administrator privileges on the remote machine is required.
- This works on Windows Server 2003 /Windows XP Professional or higher.
- Click Start, click Run, type regedit, and then click OK.
- On the File menu, click Connect Network Registry.
- In the Select Computer dialog box, type the computer name and then click Check Names.
- In the Enter Network Password dialog box, provide Domain Admins credentials for the domain of the server, and then click OK.
- After the computer name resolves, click OK.
- In the computer node that appears in the Registry Editor, navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server.
- In the console tree, click Terminal Server and then, in the details pane, double-click fDenyTSConnections.
- In the Edit DWORD Value box, in Value data, type 0, and then click OK.
- To implement the change, reboot the server remotely, as follows:Open a command prompt, type the following, and then press Enter:shutdown -m \\ ServerName -r -t 10
REG.exe command line to enable remote desktop
REG.exe ADD “HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server” /v fDenyTSConnections /t REG_DWORD /d 0
If the right services are enabled you may be able to use this format to do the same thing on a remote machine
REG.exe ADD “\\MachineName\HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server” /v fDenyTSConnections /t REG_DWORD /d 0