Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to view and modify the default port of Windows instance remote desktop

Shulou Source: shulou.com Published: 2022-06-02 11:13:55 11月12日 Update

This article mainly introduces how to view and modify the default port of Windows instance remote desktop, which has a certain reference value. Interested friends can refer to it. I hope you can learn a lot after reading this article.

View the Windows remote Desktop Port method-Registry to get the port number

Select start > run, enter regedit to open the registry editor

Look for HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Control\ Terminal Server\ Wds\ rdpwd\ Tds\ tcp, and then look for the subkey value of PortNumber, as shown in the following figure

Method 2 cmd acquires the port

Select start > run, and type cmd to open the command line window.

Execute the following command to return the list of keys under the subkeys of the registry and the subkeys of the next layer.

The reg query "hklm\ SYSTEM\ CurrentControlSet\ Control\ Terminal Server\ Wds\ rdpwd\ Tds" > system displays something like this. In this example, we see that the hexadecimal value of PortNumber is 0xd3d, which is equivalent to 3389 of decimal.

Execute the following command to view the PortNumber value of RDP-Tcp.

Reg query "HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Control\ Terminal Server\ WinStations\ RDP-Tcp" >

Thank you for reading this article carefully. I hope the article "how to View and modify the default Port of Windows instance remote Desktop" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support and follow the industry information channel. More related knowledge is waiting for you to learn!

Tags: Port article desktop command registry instance subkey method binary input run select value interest slogan at the same time more friends knowledge examples Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info MySQL Docker Huawei Linux