Posts

Posts on this page are solutions found to issues that some of our clients have faced. And some IT tips & tricks

Wednesday, 1 June 2011

Enable “Remote Desktop” Remotely

Log on to your a Windows Server or workstation on the same domain using your administrator credentials and start Registry Editor by Start --> Run --> regedit --> OK. Then select the Connect Network Registry option under the File menu (Figure 2).

 Figure 2. Connecting to the Registry on a remote machine. 

This opens the Select Computer search box. Either browse Active Directory to locate the remote server, or type its name in the textbox (Figure 3).

 Figure 3. Connecting to the Registry on a remote server named MACHINE-NAME.

Click OK and a node will be displayed in Registry Editor for the remote machine (Figure 4).

 Figure 4. HKLM and HKU hives on MACHINE-NAME.

Now browse HKLM on SRV to find the following Registry key (Figure 5).
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server


Figure 5. Registry key for Terminal Server on remote machine.

Under the Terminal Server key, you'll find a REG_DWORD value named fDenyTSConnection. Double-click on that value to open the Edit DWORD Value box and change the value data from 1 (Remote Desktop disabled) to 0 (Remote Desktop enabled), as in Figure 6 below.

Figure 6. Set fDenyTSConnections to 0 to enable Remote Desktop on MACHINE-NAME.

If the remote machine needs to be rebooted for the change to take effect, open a command prompt and type the following command:
shutdown -m \\machine-name -r
After the remote machine reboots, Remote Desktop should be enabled on it. To test this from your workstation, open Start --> All Programs --> Accessories --> Communications --> Remote Desktop Connection, enter the name of the remote server in the Remote Desktop Connection logon box, supply your administrator password when prompted, and you're in.

Disclaimer

Any help notes or other technological details published on this website are provided for general information purposes only. Exact IT and its directors and shareholders shall not be liable for any damage or loss arising from reliance on them.