{ 0 Intelligent Comments }

Windows Remote Desktop Connection (RDC) Guide

Microsoft Remote Desktop Connection (RDC)Problem Description:

You are attempting to connect from your Windows system to another Windows system using Microsoft Remote Desktop and cannot successfully connect.
This guide explains how to set up the source and target computers, as well as the routers and firewalls in between so that you can successfully connect.

Common Symptoms:

When you attempt to connect to your RDC enabled PC you receive an error message and cannot continue.

A typical connection error when using Microsoft Remote Desktop

A typical connection error when using Microsoft Remote Desktop


Usually RDC will fail to connect for a handful of common reasons such as:

  • your router has not been set up to forward the correct port to your PC
  • you have not enabled RDC on the target PC
  • you have the IP Address/port incorrect
  • a client firewall is blocking RDC

GoToMyPC - Access Your PC from Anywhere

I will explain in three steps below how to successfully set up Remote Desktop.

Solutions Below….




This guide assumes the following:

  • you have a working internet connection at both PC’s
  • you have physical access to both PC’s initially
  • you are using Windows XP – other versions of Windows will be very similar but not identical.
  • you have administrator access (most home PC’s have this by default.)
  • you type a password to access Windows.  If you do not, then set one through the Users icon in Control Panel.

Step 1 – Configure the target PC

  1. Enabling RDC and configuring the port

    1. Right Click on My Computer and the click Properties
    2. Click the Remote tab and then place a check mark in the ‘Allow users to connect remotely to this computer‘ check box.  Click OK.
    3. Click Start > Run > type Regedit > Click OK
    4. Click Edit > Find > type RDPTCP > click Find
    5. When Regedit finds the key on the left, look in the right pane and locate the key PortNumber
    6. Double click PortNumber > click the Decimal radio button > enter a 4 digit port of your choice and click OK

      Helpful little note...we all wish there were more :)
      Changing the port number adds an extra layer of security.  It’s not actually necessary for RDC to work.
    7. Close Regedit and reboot your computer.  This is important.

  2. Work on Your PC from Anywhere.

  3. Configure the target PC to have a Fixed IP Address

    1. After the reboot, log in to Windows and open Control Panel
    2. Double click Network Connections
    3. Locate your current network connection such as Local Area Network or Wireless Network Connection, right click it and then click Properties
    4. In the list of services and protocols locate Internet Protocol (TCP/IP) – highlight it and click Properties
    5. Ensure Use the following IP Address is selected and valid IP details are entered and click OK
      Helpful little note...we all wish there were more :)
      If you are on a home network, set the values identical to what you have obtained automatically.  You can find these values out by opening a command prompt and typing ipconfig.  If you are on a network in your workplace, you may need to talk to your network administrator.  Whatever you do, it’s always a good idea to take a note of your original settings just in case you need to go back.
    6. Take a note of your IP Address. You’ll need this later.
  4. Open the port on your client firewall software

    Helpful little note...we all wish there were more :)There are many, many different client firewalls and I can’t possibly write about them all so I will just describe the built in Windows Firewall here.  If you use a third party firewall such as Symantec, McAfee, Kaspersky, etc then you should refer to the documentation that came with the software regarding opening a port.

    1. Open Control Panel > Windows Firewall
    2. Click the Exceptions tab
    3. Click Add Port
    4. Enter the name as RDC and the Port as the port number you entered in the Registry earlier (Step 1, 6)
    5. Click OK and OK again.

That’s Step 1 complete!  Continue below to Step 2.

Work on Your PC from Anywhere.

Step 2 – Configure the router at the target PC network

Helpful little note...we all wish there were more :)For this step, I again can’t possibly document every single router on the market.  I can however point you hopefully in the right direction by using general directions.

  1. Access your router’s configuration page.  This is usually achieved by typing the gateway IP Address into your browser address bar.  You can find the gateway address by clicking Start > Run > type cmd > click OK > type ipconfig > press Enter > your gateway address is listed as Default Gateway
  2. If your router prompts for a username and password then you’ll find it in your routers documentation.  It’s usually something very obvious.  Try googling the name of your router and administrator password and you’ll find it easy enough.
  3. On your router;s configuration you’re looking for a NAT configuration page.  This is also sometimes called Port Forwarding or could be called simply Firewall.
  4. When you locate this page you need to configure the port forwarding on the router to:
    • Local & Remote ports should be set as the port number you chose in Step 1.1.6 above
    • The IP Address should be set to the IP you set in Step 1.2.5 above
    • If you have the option, you should also set TCP as the preferred protocol
    • If you have the option, you should set the same port number for local and remote ports
  5. Save your changes and restart your router
  6. Now we need the external IP address of your router.  You can obtain this by viewing the router’s information page and looking for a WAN IP Address.  Take a note of this.  If you can’t find it simply point your web browser to https://www.whatismyip.com/ and take a note of the IP.

GoToMyPC - Access Your PC from Anywhere

Step 3 – Configure the source PC and connect

Now that you have configured everything on the PC and router you want to connect to go to the PC that you want to connect from and do the following:

  1. Click Start > All Programs > Accessories > Communications > Remote Desktop Connection
  2. Enter the external IP Address you noted in step 6 above and then a colon (:) followed by the port number you chose.  So it should read something similar to the example below but with your external IP Address and your port number.

  3. In the example above my external IP is and my chosen port number is 9878
  4. Click Connect and enter your Windows username and password for the target PC.

That’s it!  You should be connected remotely to your PC.

Work on Your PC from Anywhere.


You're the first one here! Why not get the discussion rolling.

Leave a Reply