How to Change the RDP Port on Windows 11

Configurare noua (How To)

Situatie

The port “3389” is the universal default port for Microsoft’s Remote Desktop Protocol, which means that malicious actors who might want to try to compromise your system through Remote Desktop will know exactly where to look, especially if you have your Remote Desktop host PC open to the Internet. If you change this port, it can make it slightly harder for unauthorized people to gain access to the machine.

Solutie

To change the RDP port number, we’ll need to make a small edit in the Windows Registry.

When Registry Editor opens, use the sidebar to browse to the following key, or you can paste it in the Registry Editor address bar near the top of the window:

KEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp

Navigate to this Registry key.

When you’ve located the proper “RCP-Tcp” key, browse the list of values in the right half of the window and select “PortNumber” by double-clicking its name.

In Registry Editor, select "PortNumber."

In the “Edit DWORD Value” box that opens, select the “Decimal” option under “Base” so you can enter a standard port number. Then, using the “Value Data” text entry box, type in the new port number you want to use for RDP. For example, to use port “1337” for RDP, type in 1337 in the box. Finally, click “OK” to save the changes.

Select "Decimal," and type in the new RDP port number.

Close the Registry Editor, then restart your computer.

Tip solutie

Permanent

Voteaza

(8 din 14 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?