Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to modify the default port of Windows remote Desktop

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly shows you "how to modify the default port of Windows remote Desktop", which is easy to understand and well-organized. I hope it can help you solve your doubts. Let me lead you to study and learn "how to modify the default port of Windows remote Desktop".

As a tool for remote terminal maintenance and management, windows's "remote Desktop" provides convenience for everyone to maintain windows servers or other user machines, but in recent years, the number of attacks through remote desktops has been on the rise, and attackers sell the machine information obtained after successful attacks, so that more machines with security vulnerabilities or without changing the default port become broilers in the hands of more hackers.

After the attacker invades a machine through the RDP service, he can attack other machines in the local area network through this machine. If the attacker is queried, except for the IP address of the attacked machine, the geographical location of the attacker and the IP address of the attacker's machine cannot be found.

The attacker takes advantage of the loophole of Windows remote desktop protocol RDP to attack the user's machine to obtain the information of the user or the enterprise, which causes the loss to the user or the enterprise. After obtaining user information or important business documents, hackers may extort money from users or enterprises.

In order to protect the information security of individuals and enterprises, it is suggested that enterprises and users should timely check the remote access policies allowed by the network, and take relevant protective measures to disable remote desktop services for machines that do not need remote access.

If you must use "remote Desktop" in your daily work, you can change the RDP protocol default service port 3389 to a non-standard port, such as 5389, so as to prevent attacks.

First, the method of modification:

Press win+R, enter regedit and click "OK" to enter the registry

Through the modification of the registry, you need to modify two PortNumber.

1. Modify one

Follow the path below to find PortNumber:

HKEY_LOCAL_MACHINE/System/CurrectControlSet/Control/Termmal Server/WDS/RDPWD/TDS/TCP

Click "PortNumber" on the right, and then click "decimal" to change 3389 to-5389

Click OK to finish the modification.

2. Revision II

Similarly, follow the path below to find PortNumber:

HKEY_LOCAL_MACHINE/System/CurrectControlSet/Control/Termmal Server/WDS/WinStations/RDP-TCP

Click "PortNumber" on the right, and then click "decimal" to change 3389 to-5389

This completes the modification of the default port.

Second, the modified access method

Press win+R, enter mstsc, click "OK", and type ": 5389" after the visited machine IP. Note that the colon before 5389 is half-width, so you can operate as before.

At ordinary times, we must raise the awareness of information security, do a good job in the security configuration of personal and corporate windows system machines, and prevent undue losses caused by hackers attacking machines, because computer information security is always on the way!

The above is all the contents of the article "how to modify the default Port of Windows remote Desktop". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report