Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home » Windows

How to Use Remote Desktop Connection (Step-by-Step Guide)

Abhishek SilwalBy Abhishek SilwalApril 23, 2023
how to use remote desktop connection

Remote Desktop Connection is the default feature on Windows devices that allows you to remotely control it using another device. During a remote session, the computer gets logged out, and all control is given to the client device.

It is useful if you want to access or control your remote computer while doing any other tasks at your home or office.

Below, I have provided all the steps you need to initiate and use Remote Desktop Connection for LAN and WAN access.

Note: The remote desktop server, which you wish to connect to, must have a Windows Pro edition Operating System (OS). Other editions such as Windows Home do not support this feature.
The client device through which you want to access the remote server does not have any such limitations. In fact, you can use non-Windows OS as well.

Please note that only Steps 1, 4, and 5 are necessary if you wish to access the computers on the same LAN.

Table of Contents

  • Step 1: Enable Remote Desktop Connection
    • Through Windows Settings
    • From System Properties
    • Using Registry Editor
  • Step 2: Enable Port Forwarding for Remote Desktop on Router
    • Create Static IP
    • Set up Port Forwarding
  • Step 3: Enable Remote Desktop on Firewall
  • Step 4: Check Remote Desktop Service
  • Step 5: Connect to the Computer from Another Device
    • Using PC
    • Using Android or iOS

Step 1: Enable Remote Desktop Connection

The first thing you need to do is enable Remote Desktop Connection (RDC) on the computer which you wish to access remotely. 

You can enable RDC through Windows Settings, the System Properties dialog box, or directly by changing the relevant registry entry.

Through Windows Settings

  1. Press Windows + I to open Windows.
  2. Go to System > Remote Desktop. You can also use the Run command ms-settings:remotedesktop to get to the Remote Desktop settings directly.
  3. Toggle On Remote Desktop.
    remote-desktop-enable-system-settings

From System Properties

  1. Open Run by pressing Windows key + R.
  2. Type systempropertiesremote and press Enter to go to the Remote tab on System Properties.
  3. Check Allow remote connections to this computer and click OK.
    allow-remote-connections-to-this-computer-system-properties

Using Registry Editor

  1. Open Run.
  2. Type regedit and press Enter to open the Registry Editor.
  3. Navigate to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server
  4. Double-click on fDenyTSConnections and set its Value data to 0. Click OK.
    fdenytsconnections-terminal-server-zero

You can also use the following commands on the respective command-line tools with admin privileges to make same registry changes.

On Command Prompt

  1. Open Run.
  2. Type cmd and press Ctrl + Shift + Enter to open the Elevated Command Prompt.
  3. Enter the command reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
    fdenytsconnections-terminal-server-zero-command-prompt

On PowerShell

  1. Open Run.
  2. Type powershell and press Ctrl + Shift + Enter to open the Elevated Windows PowerShell.
  3. Type Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server' -name "fDenyTSConnections" -value 0 and press Enter.
    fdenytsconnections-terminal-server-zero-powershell

Step 2: Enable Port Forwarding for Remote Desktop on Router

Your router will restrict any direct access to your device from an external network. So, you won’t be able to initiate a remote connection from another network by default. To facilitate this process, you must enable such access through port forwarding.

Also, you will need to specify the IP address for port forwarding access. However, your network’s DHCP can assign a new IP to you at any time.

There are many things you can do in this case, but the easiest is to set up a static IP on the computer. After that, you can begin setting up port forwarding.

Warning: Enabling port forwarding can open up your network to the Internet, which introduces security vulnerabilities.  So, you should have a strong password on your computer for your protection.

You can also use a VPN to prevent having to enable port forwarding. It will create a secure channel for communication between the remote server and the client device.

Create Static IP

  1. Open Run.
  2. Type cmd and press Enter to open the Command Prompt.
  3. Enter the command ipconfig. Then, note down the Default Gateway of your network (Ethernet or Wi-Fi).
    ipconfig-default-gateway
  4. Open Run again.
  5. Type ncpa.cpl and press Enter to open Network Connections.
  6. Right-click on the network that you use (Ethernet or Wi-Fi) and select Properties.
  7. Double-click on Internet Protocol Version 4 (TCP/IPv4).
    internet-protocol-version-4-ethernet-network-properties
  8. Enable Use the following IP address.
  9. Set the Default gateway to the same address you got from Command Prompt.
  10. Then on the IP address, enter the same first three numbers as the Default gateway.
  11. Then, type any number between 1 and 254 in the last part.
  12. Check Use the following DNS server addresses.
  13. Enter 8.8.8.8 and 8.8.4.4 to specify Google’s public DNS or 1.1.1.1 and 1.0.0.1 to specify Cloudflare’s public DNS. Google’s DNS is faster but Cloudflare’s is more secure, so pick one according to your requirement.
    internet-protocol-version-4-use-following-ip-and-dns-server-address
  14. Click OK > OK.
  15. If you can’t connect to the internet, change the fourth number on the IP address to any other value between 1 and 254. Keep doing so until the internet works.

Set up Port Forwarding

  1. Open a Web Browser.
  2. Type the Default gateway address you got from the Command Prompt on the address bar and press Enter. It should lead you to the router’s portal login.
  3. Enter the username and password to log in to the portal.
    router-portal-username-password
  4. Look for the Port Forwarding or Virtual Server section. I recommend searching official sources if you can’t find the section. But for some common routers,
    • ASUS: WAN > Virtual Server/Port Forwarding
    • Linksys: Apps & Games > Single Port Forwarding
    • Netgear: Advanced Setup >  Port Forwarding/Port Triggering/Ports – Custom Services
    • TP-Link: Forwarding > Virtual Services
      wan-virtual-server-port-forwarding
  5. Then, Add a port forwarding request while entering the following values:
    • IP Address – The static IP you specified earlier
    • Type or Protocol – Both TCP and UDP
    • Port – 3389 (for both UDP and TCP)
      set-protocol-port-number-and-internal-ip-address-port-forwarding
  6. Make sure to enable port forwarding if you find any separate options. Then, save the changes.

If you need to set up port forwarding for multiple computers, you can use some other ports like 3388, 3391, 3392, 3393, and so on for the extra computers.

But you’ll need to specify the port number after the IP address while connecting from the remote client device.

Step 3: Enable Remote Desktop on Firewall

This step may not be necessary for all situations, but I still recommend you perform it if you want to access the computer with another device in another network. Doing so will prevent any potential attempts by the remote computer’s firewall to block the connection.

  1. Open Run on the server computer you want to access with another device.
  2. Type firewall.cpl to open Windows Defender Firewall.
  3. Select Allow an app or feature through Windows Defender Firewall.
    allow-an-app-or-feature-through-windows-defender-firewall
  4. Click on Change Settings.
  5. Search for Remote Desktop and tick the checkbox right before the option as well as the network types.
    change-settings-remote-desktop
  6. Click OK.

You can also use the following commands on the Elevated Command Prompt or PowerShell to perform the same task

  • Command Prompt
    netsh advfirewall firewall set rule group="remote desktop" new enable=Yes
  • Windows PowerShell
    Enable-NetFirewallRule -DisplayGroup "Remote Desktop"

Step 4: Check Remote Desktop Service

The Remote Desktop Service must run on a Windows computer if you wish to connect to it remotely from any other computer. This remains true regardless of whether the computer is on the same or different network.

  1. Open Run on the remote computer that you wish to connect to.
  2. Type services.msc and press Enter.
  3. Look for and double-click on Remote Desktop Services.
  4. Make sure the Startup type is Manual and click Apply. Select Start if the Service status says Stopped.
    remote-desktop-services-startup-type-manual-start
  5. Then, make sure not to turn off the computer and check the computer name and IP again to make sure you are entering the correct values.

Step 5: Connect to the Computer from Another Device

Now you can finally attempt to connect the remote computer from your device. You can use a Windows computer or an Android or iPhone device for this purpose.

Also, if you want to connect to the remote server from another network, you need to use your public IP address.

On the remote device, Google search for What is my IP? on the internet to find the public IP address. It is different from the private IP you used in port forwarding.

Also, depending on your ISP, your public IP can be static (will remain unchanged) or dynamic (will change after a certain time).

If it is static, there’s no issue. Otherwise, you will need to regularly check the public IP in case it changes.

Note: If you use a Microsoft account on the remote computer and have enabled two factor authentication or some passwordless verification methods, you may not be able to connect to the computer.

Using PC

Windows usually have the Remote Desktop Connections client by default. You should be able to open it using the Run dialog box.

If you can’t, you need to download the Remote Desktop app from Microsoft Store and then use it. But it will be a different app compared to the default Windows program, which works similarly to the mobile app version.

  1. Open Run by pressing Win + R.
  2. Type mstsc and press Enter to open Remote Desktop Connection. You can also search for and open this app.
  3. Click on Show options.
    remote-desktop-connection-show-options
  4. If you need to specify which resources you want to use in this remote session, you can change the options inside the Local Resources tab. For instance, you can allow access to your local drives if you want to transfer files between your and the remote computer.
  5. Then, on the General tab, enter the computer name or the IP address next to Computer and the user account beside User name.
  6. I actually recommend using the IP as the program will need to resolve the computer name to the IP anyway. You can prevent all potential issues with the resolution process by directly entering the IP.
    If you are connecting to a computer on another network, you need to use its public IP address anyway.
  7. Also, while connecting to a computer on another network, you will need to specify the forwarded port number if you set any other port than the default 3389.
    For E.g., 103.192.16.157:3390 where 3390 is the non-default port Remote Desktop port number.
  8. Click Connect.
    remote-desktop-connection-general-computer-user-name-connect
  9. Select Connect again if you get any prompts.
  10. Then, enter the remote computer’s user account’s password and click OK.
  11. Confirm your choice if you get any prompts. You can also tick the checkbox in the window if you want to avoid this prompt next time onwards.
    remote-desktop-connection-certificate-yes
  12. The remote computer will be logged out, and you will be able to control that computer now. Also, you can’t get back to your own Windows system without ending the remote session by clicking on the Cross (X) icon and confirming your choice.
  13. Also, if you want to access your local drives, you will find it inside the Network > tsclient on the File Explorer.
    network-tsclient-file-explorer

Using Android or iOS

Other systems do not have the Remote Desktop app by default. So, you need to download and install it manually before you can connect to the computer.

  1. Open Play Store or App Store and search for Remote Desktop by Microsoft.
  2. Download this app and then open it.
  3. Tap on + and select Add PC.
    plus-add-pc-remote-desktop-android
  4. Select the computer, specify all options according to your need and tap on Connect.
    add-pc-connect
  5. Enter the user account name and password and follow the on-screen instructions to initiate the remote session.
  6. From next time, you can just tap on the computer name inside the app to initiate the remote connection.
how-to
Abhishek Silwal
  • LinkedIn

Abhishek Silwal is an Electronics Engineer and a technical writer at TechNewsToday. He specializes in troubleshooting a wide range of computer-related issues. His educational background in Electronics Engineering has given him a solid foundation in understanding of computers. He is also proficient in several programming languages and has worked on various robotics projects. Even in his early days, he used to tinker with various computer components, both hardware, and software, to satiate his curiosity. This experience has given him a breadth of experience that goes beyond his educational qualification. Abhishek has been writing articles on dealing with varieties of technical issues and performing specific tasks, especially on a Windows machine. He strives to create comprehensive guides on fixing many system and hardware issues and help others solve their problems. You can contact him at abhisheksilwal@technewtoday.com

Related Posts

how to turn off hardware acceleration

How to Turn Off Hardware Acceleration

September 22, 2023
what happens if you turn off your computer during an update

What Happens if You Turn Off Your Computer During an Update?

September 18, 2023
How to Disable Integrated Graphics

How to Disable Integrated Graphics?

September 16, 2023
System Restore Stuck

How To Fix Windows Stuck on System Restore

September 16, 2023
startup-repair-couldn't-repair-your-pc

How To Fix “Startup Repair Couldn’t Repair Your PC”

September 13, 2023
how to free up ram

How to Free Up Memory

August 4, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
how to turn off hardware acceleration

How to Turn Off Hardware Acceleration

September 22, 2023
motherboard chipset

Understanding Motherboard Chipset and Its Importance

September 20, 2023
Naval-Warfare-Games

Best Naval Warfare Games

September 18, 2023
You may also like
printer-not-printing

How to Fix a Printer That’s Not Printing

September 20, 2023
Share Location With Friends and Family

Share Location With Friends and Family (iPhone and Android)

September 18, 2023
how-to-print-without-a-printer

How to Print Without a Printer

September 18, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday, editor@technewstoday.com | Tech Central Pvt. Ltd.

Type above and press Enter to search. Press Esc to cancel.