How win10 modify the default port to change the way _win10 Remote Desktop Remote Desktop port

Change the way win10 port of the remote desktop, windows server can also use this method to modify, measured server2008 available.

Transfer: http://www.winbjb.com/news/win8/8399.html

1: test is not opened a remote desktop connection, a firewall is not turned on Remote Desktop exception; if these have been set up can be skipped, this article assumes that you have completed the Remote Desktop Connection settings.

2: Click Registry

win + R-- write regedit;

3: Modify the registry Remote Desktop port (1)

HKEY_LoCAL_MACHINE \ sYsTEM \ CurrentControlset \ Control \ Terminal server \ wds \ rdpwd \ Tds \ tcp, you will find the right column appears [portnumber], right-click to select [amended], preferably 10 decimal, modify the port you want to change the number. I changed to 10000.

4: Modify the registry Remote Desktop port (2)

HKEY_LoCAL_MACHINE \ sYsTEM \ CurrentControlset \ Control \ Terminal server \ winstations \ RDP-Tcp, the same as above, to modify the port number 10000.

5: only modify the Remote Desktop port is not enough, you must modify the firewall Remote Desktop exception, to ensure that inbound Remote Desktop, the next picture shows the first step of the icon, you will find that Remote Desktop is gray (red marquee area), there is no law change use only the registry.

6: Modify the firewall port Remote Desktop exception of (1)

HKEY_LoCAL_MACHINE \ CurrentControlset services sharedAccess Defaults FirewallRules, the value sYsTEM \ \ \ \ \ FirewallPolicy \ RemoteDesktop-In-TCP data contained in 3389 changed to 10,000.

7: Remote Desktop modify firewall port exceptions (2)

HKEY_LoCAL_MACHINE \ CurrentControlset services sharedAccess Parameters \ FirewallPolicy \ FirewallRules], the value sYsTEM \ \ \ \ RemoteDesktop-In-TCP data contained in 3389 changed to 10,000.

8: Restart the computer

After the restart the computer for this setting to take effect

9: Remote Desktop Connection

Accessories - Remote Desktop Connection, write the server IP address and port number, for example, I have here is 192.168.0.106:10000, then you can write server-side code.

Note: The first port number ":" must be in the English state.

Published 15 original articles · won praise 2 · Views 7928

Guess you like

Origin blog.csdn.net/c1h2cy/article/details/88680365