In today’s tutorial, we will learn “How To Change The Remote Desktop Port Number On Windows 10”. Remote Desktop Protocol is a proprietary protocol developed by Microsoft which provides a user with a graphical interface to connect to another computer over a network connection. The user employs RDP client software for this purpose, while the other computer must run RDP server software.
Check Default Port
-
To do this, let’s open the Powershell console.
-
In the Windows Search bar type “Powershell“
-
Now “Powershell“ app will appear.
-
Click On the“Powershell” app to run it.
-
It will open the PowerShell console.
-
Now type this command:
-
Get-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -name "PortNumber"
-
-
Press Enter.
Change The Remote Desktop Port
-
To do this, let’s open the registry editor console.
-
In the Windows Search bar type “Regedit“
-
Now “Registry Editor“ app will appear.
-
Click On the“Registry Editor” app to run it.
-
It will open the Registry Editor console.
-
-
Now Navigate to the following registry subkey:
-
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
-
-
Then Find “PortNumber”.
-
Now Click Edit > Modify.
-
Now click Decimal.
-
Type the new port number, and then click OK.
-
Close the registry editor, and restart your computer.