Javascript required
Skip to content Skip to sidebar Skip to footer

How to Remotely Connect to Another Computer Windows 10

We've all been there – we've finished at a customer's site, and need to quickly remote in later on to finish/fix something. Trouble is, Windows doesn't enable Remote Desktop Protocol by default.

There are four steps needed to remotely enable RDP connections in Windows 10.

  1. Open ports in the Windows firewall
  2. Edit the registry
  3. Start the Remote Desktop service
  4. Connect

This guide relies on you being on the same LAN as the remote PC you wish to access – you may already have RDP'ed into another server on that LAN. You must also have Windows administrative privileges for the remote computer. These instructions work well in a domain environment.

Note: If you have access to the computer, you can follow the standard procedure for enabling Remote Desktop.

Step 1: Open firewall ports in Windows firewall

There is no native way to change the settings of a remote Windows firewall. However, you can use PsExec from SysInternals to disable it or change some rules.

If you download the app and drop it into your c:\ drive, you can run this command and get command line access for that remote box.

c:\psexec \\remote_machine_name cmd

Once you have that command line open, you can run this command to disable the firewall:

netsh advfirewall set currentprofile state off

Alternatively you can run this command to allowonly Remote Desktop while still leaving the rest of the firewall as is:

netsh advfirewall firewall set rule group="remote desktop" new enable=Yes

Step 2: Registry Changes to enable Remote Desktop

Option 1: Psexec registry changes

While still in psexec, run this command to change the remote registry:

reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f

Option 2: Manually change registry settings

If you don't want to continue using psexec, you can follow these instructions instead.

Load up the Services MMC (Control Panel > Administrative Tools > Services), right click on "Services (Local)" and choose "Connect to another computer". Enter the name of your remote machine and connect to it. You should now be able to find the "Remote Registry" service and start it.

Depending on your environment, this may already be running, but I have found it generally isn't on newly imaged computers.

It's time to make use of the Remote Registry and actually enable RDP. Load up regedit and go to File > Connect Network Registry. Enter the name of your remote computer and connect to it. Navigate to HKEY_LOCAL_MACHINE > System > CurrentControlSet > Control > Terminal Server. Change the value of "fDenyTSConnections" to "0".

Step 3: Start the Remote Desktop service

Go back to the Services MMC you used in Step 2 Option 2, find the service "Remote Desktop Services" and start it (or restart if it is already running).

Step 4: Connect

By this point you should be able to connect to a remote desktop session on your remote computer. Remember that only administrative users can connect to an out-of-the-box Remote Desktop setup.

If you have got this far and still can't connect, it is worth checking your firewall rules to ensure nothing is being blocked.

Get the Broadcast Technology Newsletter

Sign up for the email newsletter about media and technology. Sent irregularly. No spam.

I'm Anthony Eden, and I'm a IT Professional, Broadcast Technician, Software Developer, and Solutions Engineer. I've been working in broadcast media since 2008, and developing software and websites for just as long. Right now, I provide freelance services through Media Realm - in particular, to the media and not-for-profit industries.

Follow Anthony on Twitter: @anthony_eden

How to Remotely Connect to Another Computer Windows 10

Source: https://mediarealm.com.au/articles/remotely-enable-remote-desktop-windows-10/