

You can double-click the rule you created to verify the settings or make any changes if necessary.You can also enter an optional description. In the Name window type a name for the rule, e.g.In the Profile window click Next so the rule applies to Domain, Private and Public profiles.In the Action Window click Next to accept the option to Allow the connection.In the Protocols and Ports window make sure TCP is select and in the Special local ports box enter the port number you want to use for RDP, e.g.In the Rule Type window select the Port radio button.In the right-hand Actions pane click New Rule.
#Msecure desktop connection port windows#
Expand HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp.Enter a filename for the registry backup and click Save.Right-click the Computer icon and select Export.Highlight the Computer icon at the top of the registry. As a precaution, you should first back up the registry.In the Windows Search box, type regedit.exe and press Enter.Working with Windows Registry is like doing a brain surgery on your Windows computer.
#Msecure desktop connection port how to#
WARNING! The following procedure requires modification to the registry and should only be done by a trained professional who knows how to work with Windows Registry. The procedure is identical for Windows clients and servers. The default RDP port can be changed by modifying the registry. The information in this article applies to all versions of the following Windows clients and servers. Because some of these port numbers are reserved for various services, technically the number will be less than 65,535, but you get the idea. For this fourth piece of information the attacker has to guess from one of the 65,535 possible ports. By modifying the default port number, the attacker would need four pieces of information. The attacker usually needs three pieces of information to hack into your computer:īecause most people use the default port number (TCP 3389), the attacker does not need to specify the port number. Because there are 65,535 ports on a computer, by changing the default port number for remote desktop access to your computer, you are making it difficult for a cyberattacker to guess your custom port number. If you use Remote Desktop Protocol (RDP) to connect to your Windows computer, you might want to consider modifying the default port for security reasons. By default, Remote Desktop (formerly known as Terminal Services) uses TCP port 3389.
