How to change the RDP Port on your server or desktop

You are here:
Table of contents

To make it hackers not to easy to connect with RDP to our servers or desktops we can change the port for this and I really recommend it to every one.

Simply choose a random number and than follow the instructions here.

This can be achieved by using regedit to manipulate the registry

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

Enter here for the PortNumber a new decimal value (switch from hexadecimal to decimal).

Pay attention to not forget to adapt your firewall rules with the new ports and your port forwarding rules within your router.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.