Change remote desktop port in windows 10

Anonymous
2020-10-03T02:49:43+00:00

My default connection port is 3389 but I want change it for some security reason so please help me to change the port

Windows for business | Windows Server | User experience | Remote desktop clients

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2020-10-03T02:52:12+00:00

    Hello,

    This is Sudha Independent Advisor and user like you. Please follow below steps to solve your issue

    Make sure to create a restore point just in case something goes wrong.

    1. Open registry editor on your device. Press Windows key + R and type Regedit in the Run dialogue box and hit Enter or Press OK.
    2. Now you need to navigate to the following path in the registry editor.

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

    1. Under the RDP-TCP Registry key, locate the Port Number and double-click on it.
    2. In the “Edit DWORD (32-bit) Value” box, switch to Decimal value under Base.
    3. Here you will see the default port – 3389. You need to change it to another port number. In the below image, I have change the port number value to 4280 or 2342 or what number you wish. You can give any value of 4 numbers.
    4. Finally, Click OK to save all settings and Restart your PC.

    Now once you have changed the default RDP port, its time you should verify the changes before using the remote desktop connection. It is important to ensure that you changed the port number successfully and can access your remote PC via this port.

    Step 1: Press Windows key + R and type mstsc and hit Enter.

    Step 2: Here you need to type your remote server’s IP address or hostname with the new port number then click on the Connect button to start the connection with your remote PC.

    You can also use login credentials to connect with your remote PC, just click on Show options at the bottom then enter your username and password to start the connection. You can save the credentials for further usage.

    1 person found this answer helpful.
    0 comments No comments