sy

2.10.2004

Enable Remote Desktop Remotely

Windows Servers - Enable Remote Desktop Remotely

Make a network connection to the remote computer to ensure that you have administrative access to the machine (i.e. \\computer\c$). This will prompt for a username and password of the administrator. Enter the correct details.

Start the registry editor regedit.exe (and not the older application regedt32.exe if it exists - it does not in later releases of Windows)

Choose File, Connect Network Registry

Enter the computer name as above.

Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server for the registry settings for the remote computer (take care not to select your own desktop)
Double-click fDenyTSConnections.

Change the value of this setting to 0 to enable Remote Desktop or 1 to disable it, and click OK.

If your remote computer has multiple network cards and you want to ensure that Remote Desktop is operating only on a selected card then navigate to the following registry location: (as above)\WinStations\RDP-Tcp and note the LanAdapter value. If this is 0 Remote Desktop operates on all networks, and if this is another number then it operates only on the network as identified in the (as first)\lanatable registry key

Disconnect the remote computer from the registry editor using File, Disconnect Network Registry, and selecting the correct remote computer in the list.

Finally you need to reboot the remote computer for the changes to take effect. For this, use the shutdown command line program found on all Windows XP and 2003 Server computers (or available in the Resource Kit for all earlier versions). The command to enter is shutdown /r /m computer_name /t 5