Assisting 13606718 developers since 2005.

Web Developer, Open Source, Loyal, Dad.  

Read More »

Change the Default Windows Remote Desktop Port

Posted by David  •  Feb 4th, 2014 6:42:16 pm - Subscribe | Mood: tired | Music: No Music

This entry will show you how to change your default port on Windows Remote Desktop (RDP-TCP).

Changing the default port to Windows Remote Desktop Protocol has a security advantage. Well for one it's not using it's native port of 3389. So changing it adds an extra (not much) layer of security.

What you will need:
1. Access to your Router to Port Forward
2. Allow Remote Assistance
2. Administrative Access to Firewall
3. Administrative Access to Registry

Remote Desktop Port Change


It would be my recommendation that you create a system restore point before making changes to the registry as I am about to show you. Have you created the restore point? have you already port forwarded the port you would like in your router? I will assume you have.

Let's Allows Remote Desktop on Windows:

1. Go to the Windows Start Button
2. Right click on Computer
3. Go to properties
4. Click on Advanced System Settings
5. Go to the Remote Tab
6. Check mark Allow Remote Assistance connections to this computer
7. Now check mark Allow connections from computers running any version of Remote Desktop (less secure) Please feel free to toggle to Advanced settings and Users list if you wish.

Let's change the Default Windows Remote Desktop Port:

1. Go to the start button
2. In the Search box type in regedit.exe
3. In the registry editor go to: HKEY_LOPCAL_MACHINE
4. Now open the SYSTEM folder
5. Now open the CurrentControlSet
6. Open Control
7. Find the folder called Terminal Server
8. Now open the WinStations directory
9. Finally (last directory) open the RDP-Tcp folder
10. Inside this directory look for the REG_DWORD named PortNumber
11. Right click PortNumber
12. Choose Modify
13. Now select Decimal
14. Here you can change the port number to whatever you like. Instead of 3389 you can make it 333889. (That's a little obscure)
15. Once you have chosen a number click ok.
16. Now go back to the Windows Start Button.
17. Go to the Search Programs and Files field and enter. Windows Firewall with Advanced Security.

Here you will need to allow the port through your firewall. Click on Inbound Rules and then click on New Rule.

Select Port > TCP > Specific local ports: 33389 > Allow the connection > Select Domain / Private / Public based on your preference > Now name and describe your open port. (I would recommend that you do.

Then hit finish, and restart your computer. That should do it!

Let's test on another machine

On another machine Open Remote Desktop Connection and go to something like this:

you.host.com:333389 or 192.168.1.3:33389

To connect you will need the username and password to the respected machine.

Questions? Ask away.

Comments 2  •  Feb 4th, 2014 6:42:16 pm - Subscribe  •  Tweet this entry | Post a comment



Responses

anonymous Says:
February 12th, 2014

Thanks for Sharing

avatar

david Says:
March 30th, 2014

Hi there, sorry for the late response...you are most welcome.

Leave a Reply


ReCaptcha:

Posting as anonymous Anonymous guest, why not register, or login now.

Image Gallery

Badges

Amazon Wishlist Stumble Upon Toolbar
Internet Blogs - Blog Top Sites Internet Blogs - Blog Top Sites Technology

About Me

avatar

@davidpolanco
iPhone: 29.513522,-98.565523 Web Designer, Open Source, Loyal, Dad. Learn more...