How do I change the port that I use to remotely access a Windows 7 computer?

link|improve this question

feedback

2 Answers

up vote 5 down vote accepted

This Microsoft Support aticle gives the answer. Just change the following registry key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber

Although this article does not call out Windows 7 specifically, it does work and is actually referenced by this RDP FAQ for Windows 7(see the last question).

link|improve this answer
feedback

I just use my firewall to redirect the port into my NAT instead of changing it on the internal windows system.

link|improve this answer
Doesn't Windows 7 need to be listening on that port for RDP connections? – Guy Dec 12 '09 at 16:13
He's good, the remote firewall changes it back for him; he just forgot to mention that part (and he forgot to pretend it was useful) :-p – mrduclaw Dec 12 '09 at 18:10
im just saying that editing the registry is a little bit like re-inventing the wheel , which is why I think my method is easier and more logical. – djangofan Dec 14 '09 at 23:58
@djangofan, no, I do like the outside-the-box thinking on this. And it is nice to have a solution for when you don't have permissions to change the registry but you do somehow have permissions to change the network-wide firewall. – mrduclaw Dec 15 '09 at 1:38
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.