Current location - Quotes Website - Collection of slogans - Method of modifying remote port with win7 [text tutorial]
Method of modifying remote port with win7 [text tutorial]
Today, this tutorial will share with you the method of modifying the remote port of win7 system. When win7 system turns on the remote function, it can operate another computer. However, after turning on the remote function, there are also disadvantages. The easily exposed servers or hosts on the Internet are attacked by hackers. In order to avoid this problem, we can solve the problem by modifying the remote port. So how does win7 modify the remote port? It can be modified through the registry method. Interested friends can watch the following together.

Recommended: Deep Technology win7 Ultimate Edition

The specific method is as follows:

1. Open "Start → Run", enter "regedit", press Enter to open the registry, and click [HKEY _ Local _ Machine \ System \ Current Control Set \ Control \ Terminal Server \ WDS \ RDPWD \ TDS \ TCP] in turn.

2. Open [HKEY _ local _ machine \ system \ current control set \ control \ terminal \ RDP-TCP], and change the value of port number (default is 3389) to port 57 12, and pay attention to the decimal;

3. Under win7 system, it is impossible for the client to connect to the remote desktop just by changing the above two ports to 57 12. After testing, I still can't connect to the remote desktop. The reason is that win7 has strengthened the function of its own firewall.

4. Firewall policies can only be modified by modifying the registry. Open [HKEY _ local _ machine \ system \ current control set \ service \ shared access \ default \ firewall policy \ firewall rule] in the registry in turn, and modify the data containing 3389 in the value of RemoteDesktop-In-TCP to 57 12, and save it;

5. Click [HKEY _ local _ machine \ system \ current control set \ service \ shared access \ parameters \ firewall policy \ firewall rules] in turn, and modify the data containing 3389 in the RemoteDesktop-In-TCP value to 57 12 and save it;

6. Restart the computer after modification, and you can use port 57 12 for remote login in the future;

7. The specific access mode of open-start-run-MSTSC is IP: port number, such as192.168.0.100: 5712.

Here we share the detailed steps to modify the remote port in win7. After modifying the remote port, you can prevent hackers from attacking, but when modifying the registry, you should pay attention to backing up files to avoid losing them.