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.