Teach you how to modify the Win7 remote port number

PHPz
Release: 2024-01-08 19:25:50
forward
2352 people have browsed it

Win7 can use remote desktop through the remote port to achieve the effect of controlling the desktop with another computer. But if we use the default port number for remote operations, because the default port numbers are the same, they may be invaded by others. At this time, we can change our remote port number. Let’s take a look at it together.

Win7 remote port number changing tutorial

1. First, press "regedit" on the keyboard and press Enter to confirm.

Teach you how to modify the Win7 remote port number

2. Enter "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control" at the location shown in the icon in sequence

Teach you how to modify the Win7 remote port number

3. Then Find the "Terminal Server\Wds\rdpwd\Tds\tcp" path and double-click to open the "portnumber" file on the right.

Teach you how to modify the Win7 remote port number

4. Then check "Decimal" and change the numerical data to the desired port number. Here I changed it to "32487" (3389 in the picture is the default port No.)

Teach you how to modify the Win7 remote port number

5. Then go to the path "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp"

Teach you how to modify the Win7 remote port number

6. Then use the above method to open the "portnumber" file and change the value to the port number we want to change.

#7. Then we open the firewall and check whether the remote desktop can be used. If the icon position is as dark as the picture. The following changes are also required.

Teach you how to modify the Win7 remote port number

##8. Return to the registry and go to the following path "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SharedAccess\Defaults\FirewallPolicy\FirewallRules"

Teach you how to modify the Win7 remote port number

9. Double-click to open "RemoteDesktop-In-TCP" at the location shown above, and change all values ​​with "3389" to our own ports.

Teach you how to modify the Win7 remote port number

10. Then go to the "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SharedAccess\Parameters\FirewallPolicy\FirewallRules" location in the registry.

Teach you how to modify the Win7 remote port number

11. Change the "RemoteDesktop-In-TCP" in the above picture, and then change all the values ​​with "3389" to our own port.

Teach you how to modify the Win7 remote port number

#12. Finally, just restart the computer and you are done.

Teach you how to modify the Win7 remote port number

The above is the detailed content of Teach you how to modify the Win7 remote port number. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:somode.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template