http://www.techbuzz.in/turn-on-enable-remote-desktop-remotely-in-windows-7-registry-settings.php
you just need to follow the procedure mentioned below:
- Log on to your local workstation with administrator privileges.
- To open the Registry Editor, select “Run” (Start Search in case of Vista 7) option from the Start Menu. Type in “regedit” and press Enter.
- Click to view the “File” menu. From the pull-down menu that appears, select the option “Connect Network Registry”.
- A dialog search box “Select Computer” appears. Browse the Active Directory to find the remote/ distant server or type the name of the distant PC within the text box. You may also click on the “Advanced” button in order to search the remote computer.
- After selecting the remote computer, click on “OK” button. A node representing the network registry of the remote or distant computer will be shown within Registry Editor with registry keys “HKEY_USERS (HKU)” and “HKEY_LOCAL_MACHINE (HKLM)”.
- Just navigate to the below mentioned registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server
- Within the right pane, find a REG_DWORD value by the name “fDenyTSConnection”, double-click on it and alter its value data from (the default value) “1” (which means that RD is disabled) to “0” (which means that RD is enabled).
- Now, in the command prompt, issue the below mentioned command to reboot or restart the remote/ distant computer.shutdown -m \\hostname –r
- In the above command, you need to replace “hostname” with actual name of the distant/ remote computer.
- You have now enabled the Remote Desktop on the remote/ distant computer and the default RD listening port will now allow any incoming RDC (Remote Desktop Connection). However, you may change the RD listening port for security reasons.