Enable Remote Desktop

The steps involved in doing this are already discussed all over the Internet. As with most things I find the steps that work, bookmark them and then am unable to find the bookmark when I need it. So I post these steps for my own reference, but if this helps others do the same, that’s a bonus!

These steps can either be run locally, or remotely. To perform these steps remotely also carry out the optional steps, otherwise skip them and do it locally. :).
Enable remote desktop in the remote registry.


  1. Run Regedit

  2. Select File | Connect Network Registry (Optional)

  3. Enter the name of the remote computer and select Check Names (Optional)

  4. Go to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\fDenyTSConnections

  5. Change the fDenyTSConnections to 0


Allow Remote Desktop through the Windows Firewall


  1. Get the PSTools from Microsoft. We need the psexec utility. (Optional)

  2. At a command prompt, run the following: psexec <remotecomputer> cmd (Optional)

  3. Run the following commands:netsh firewall set portopening protocol=TCP port=3389 name=TS mode=ENABLE profile=DOMAIN

    netsh firewall set service remoteadmin enable

    netsh firewall set service remotedesktop enable


Neil

0 Comments