{"id":125,"date":"2007-03-18T20:41:27","date_gmt":"2007-03-19T01:41:27","guid":{"rendered":"http:\/\/teamtutorials.com\/windows-tutorials\/windows-remote-desktop-connection"},"modified":"2012-03-30T23:48:10","modified_gmt":"2012-03-31T03:48:10","slug":"windows-remote-desktop-connection","status":"publish","type":"post","link":"https:\/\/teamtutorials.com\/windows-tutorials\/windows-remote-desktop-connection","title":{"rendered":"Windows Remote Desktop Connection"},"content":{"rendered":"
This is a step by step tutorial that will show you how to setup a Remote Desktop Connection on your computer. In this guide I will show you how to use Microsoft\u2019s Remote Desktop Connection Client\/Sever behind a Linksys NAT Router with a DHCP address. If you do not meet these conditions you may still benefit from this tutorial but may need to skip certain sections. This tutorial is based on Windows XP professional, but may be applicable to other operating systems<\/p>\n
There are several alternatives that can be used for connecting to your computer remotely, the most popular being GoToMyPC by Citrix<\/a>. Symantec makes a utility called pcAnywhere<\/a> that will also give you remote access. The other choice (or choices should I say) are the various flavors of Virtual Network Computing or VNC. There a lot of different VNC packages availed but my favorite is the free UltraVNC<\/a>. GoToMyPC is definitely the easiest choice, but I\u2019m looking for the best method. If you don\u2019t want to have to install client software I would recommend that you use GoToMyPC. We use Symantec pcAnywhere versions 10 and 11 at work. The package works alright, but we have had compatibility problems, and an annoying glitch that I have dubbed \u201cThe right click of death.\u201d PcAnywhere is just to slow and we get tired of the \u201cchoppy\u201d feeling it has when loading remote screens. As for the VNC clients, Ultra VNC beats pcAnywhere in my book. Ultra VNC packs all the features that I used in pcAnywhere and it is absolutely free. Open Source at that. Many VNC clients even work with multiple operating systems.<\/p>\n I will admit it. I like something Microsoft has made. The Remote Desktop Connection comes bundled with Windows XP Professional and can be downloaded for other versions<\/a> of Microsoft Operating Systems (and Mac OSX I believe). The Remote Desktop Connection uses the RDP protocol and destroys the competition when it comes to speed. My remote screen never lags as it does with pcAnywhere. Another reason I like this software is because it is easy to set up. I will prove this with my tutorial. The copy and paste file transfers are also a great feature. You can have multiple users logged in to the same machine and not interrupt each other. The one downside to RDC is that if you want to show someone how to do something on the screen you will not be able to, because they cannot see what you are doing. You will need to send a Remote Assistance request is you want to do that. I think Microsoft used its insider advantage when creating this product and that may be why the others seem so much slower (plus it isn\u2019t mirroring the screen). <\/p>\n Remember I am using Windows XP Professional. For other version of the operating system you may need to download Remote Desktop Connection software from Microsoft<\/a>. Also if you are using Linux, I don\u2019t know why you would be reading this but try VNC.<\/p>\n Registering and Installing Dynamic DNS<\/strong><\/p>\n You will only need to do this step if you have a DHCP address from your service provider. Generally speaking, cable companies provide DHCP and DSL is usually static. First off you need to sign up on www.dyndns.org<\/a>. <\/a><\/p>\n Now fill in Hostname, select a Domain from the drop down box, and then hit Add Host. You should now see the host listed if you click \u201cMy Hosts\u201d on the left. Now that is great and all, but we don\u2019t want to have to leave our web browser open to update our IP address. Save the file to disk<\/p>\n <\/a><\/p>\n When the download is complete double use you favorite zip utility to extract the files, and then double click setup.exe<\/p>\n <\/a><\/p>\n Follow the simple installation instructions, and on the last page check the box that says \u201cLaunch DynDNS Updater\u201d<\/p>\n <\/a><\/p>\n The software should now be running in the system tray.<\/p>\n <\/a><\/p>\n Double click the icon to bring up the configuration window. Click the settings button.<\/p>\n <\/a><\/p>\n You are now prompted to enter your group. You can call the group what ever you want. I used RemoteDesktop Fill in your username and password for the DynDNS website and then click the add button. Now enter your hostname, select you domain, and hit OK. You should now see your hostname in the list. Click ok to return to the settings screen. Click ok one more time to return to the info screen. You should see your IP address in the boxes towards the bottom. You DynDNS Icon should be green in the tray. If it is red or you receive, go through the steps again and check for error. If everything is good continue.<\/p>\n <\/a><\/p>\n You can now test your domain name by opening windows command line and pinging your DynDNS domain name.<\/p>\n <\/a><\/p>\n If you do not get a reply check DynDNS settings, along with your Firewall and NAT Router settings. <\/p>\n Now that we have Dynamic DNS working properly we can configure the Remote Desktop Connection. It is a fairly easy process.<\/p>\n Right click on \u201cMy Computer\u201d and then click \u201cProperties\u201d. Choose the \u201cRemote\u201d tab from the top of the \u201cProperties Window\u201d. Now under Remote Desktop check the box that says allow users to connect remotely.<\/p>\n <\/a><\/p>\n Your windows account should be added. If you need to add others click the \u201cSelect Remote Users\u201d button and add them. Make sure that your users have a password and a strong one preferably. I have experienced problems not being able to connect when I had no password set. It is also a major security risk, especially if the user has admin rights. Click ok when you are done. Windows Firewall will add an exception for Remote Desktop. If you are using another firewall you will have to allow Remote Desktop Connection Software.<\/p>\n Router Configuration<\/p>\n If you are behind a NAT router you will need to forward remote desktop traffic to the computer you wish to connect to. I will be using a Linksys WRT54G router. Chances are you might have the same model, they are quite popular. We can configure the Linksys be opening our Web Browser and typing in the address of the router (Linksys Default is 192.168.1.1). Enter you username and password when prompted. By default the Linksys username is left blank and the password is \u201cadmin\u201d. You should now be logged in. Now we need to click the Applications & Gaming tab, and add our port forwarding rule. As you can see I have several rules (for whatever reason.) The one you will be concerned with will be the one that says RemoteD. Here are the detailed settings.<\/p>\n <\/a><\/p>\n The first field is the name. You can call the rule whatever you want. The next two are the range. We\u2019ll forward 3389 to 3389. The drop box can be left alone, it is for allowing certain protocols (I think all you need is TCP but I am not sure on that one). The last box should be the address of the computer you want to connect to. Then check the box to enable the forward and hit apply.<\/p>\n Now we will configure the client computer. You can use a computer on your LAN for testing (recommended) or use a remote computer. First we need to open the client. If you don\u2019t have it you can download it and install it from Microsoft. It\u2019s buried in Windows XP Pro\u2019s Start Menu under Start > All Programs > Accessories > Communications. Now we will see the remote desktop client. If you do not need file transfer capabilities you can simple enter your domain and click connect. If you would like the file transfer capabilities, click the options button. Now you will eneter the DynDNS address (or LAN IP) in the \u201cComputer\u201d field. Then enter the user name for the machine and the password. Check \u201cSave my password\u201d if you would like to save it. This will be the same username and password you added in Part 2. Domain can be left blank unless needed on you LAN. There are several settings, but we are concerned with the file transfer. Click the \u201cLocal Resources\u201d tab.<\/p>\n <\/a><\/p>\n All you have to do to allow file transfer is click the \u201cDisk Drives\u201d checkbox under \u201cLocal Devices\u201d like above. Now we can click connect to connect to our remote computer. It will warn you about the Disk Drives, just check don\u2019t prompt again and click ok.<\/p>\n
\nDetermine you IP address type (call the provider if you have to). If you have a static IP you can skip this part. We will be using www.dyndns.org to provide our Domain Name. This means we will be able to use yournamehere.dyndns.org to connect to our remote computer.<\/p>\n
\nAfter you have signed up and you log in, go to \u201cMy Services\u201d
\nOn the left menu click \u201cAdd Host Services\u201d
\nNow click add \u201cDynamic DNS Host\u201d<\/p>\n
\n<\/a><\/p>\n
\n<\/a><\/p>\n
\nNow we need to download and install the DynDNS updater client from dyndns.org<\/a>.<\/p>\n
\n<\/a><\/p>\n
\n<\/a><\/p>\n
\n<\/a><\/p>\n
\n<\/a><\/p>\n
\n<\/a><\/p>\n
\n<\/a><\/p>\n
\n<\/a><\/p>\n