Sign up for our newsletter.

I agree to this site's Privacy Policy.

Weekly quickTIP

Hacking RDP

Need quick access to your files remotely? Herewith, an alternative to buying something.

As a consultant and a writer I spend a lot of time working outside the office. Unfortunately, it's within that office where a lot of my files are located. Out on the road, it can be a pain in the neck to set up a VPN connection just to grab a file or check mail.

Typical VPN connections often don't provide remote control access to the desktop. There are tools available like VNC or Citrix's GoToMyPC that can enable that access. But, VNC can have a choppy frame rate and GoToMyPC has a monthly fee.

So I thought, "What about Terminal Services?"

Opening TCP port 3389 from the Internet to my computer would probably be a bad idea (we'll actually talk about why that's a bad idea in this column next time). But the network security guy in me had a sneaking suspicion that people aren't necessarily looking for RDP connections on other ports.

So, I hacked RDP. Specifically, I hacked it to change the port it listens in on to a different port. Then, I enabled connectivity to that port through the firewall. In many cases, the corporate networks I'm working on away from the office are watching traffic on ports 80 and 443. So, I changed the RDP port to 444. Now, I can connect via Terminal Services to my office computer by starting the Remote Desktop Client and typing in

Tech Help—Just An
E-Mail Away

Got a Windows, Exchange or virtualization question or need troubleshooting help? Or maybe you want a better explanation than provided in the manuals? Describe your dilemma in an e-mail to the editors at; the best questions get answered in this column and garner the questioner with a nifty Redmond T-shirt.

When you send your questions, please include your full first and last name, location, certifications (if any) with your message. (If you prefer to remain anonymous, specify this in your message, but submit the requested information for verification purposes.)

If you'd like to change your RDP port, navigate to HKEY_LOCAL_MACHINE\ SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp and change the DWORD value for PortNumber to the hex number for 444 (or any other TCP port value).

About the Author

Greg Shields is a senior partner and principal technologist with Concentrated Technology. He also serves as a contributing editor and columnist for TechNet Magazine and Redmond magazine, and is a highly sought-after and top-ranked speaker for live and recorded events. Greg can be found at numerous IT conferences such as TechEd, MMS and VMworld, among others, and has served as conference chair for 1105 Media’s TechMentor Conference since 2005. Greg has been a multiple recipient of both the Microsoft Most Valuable Professional and VMware vExpert award.

comments powered by Disqus