How to Modify Remote Desktop port

  When using Remote Desktop on a computer, the default port 3389. For security reasons, some users have a need to modify the default port to reduce the number of malicious attacks and scans ECS instance via Remote Desktop.
  But beware: Before modifying the registry, you need to fully understand the Windows system operational mechanism, to avoid wrong operation. To avoid data loss, you need to create a snapshot for instance the system disk and data disk before modifying the registry.
  If using IIS7 Remote Tools Remote Desktop connection, the less need for frequent changes remote port, because you can regularly monitor whether the server is normal, so security problems are in fact less likely to occur, then the remote port to be modified as follows:
  1. automatically modify the
  purchase 3389 remote port editing tools in the cloud market.
  2. manually modify
  remote connection and log on to Windows instance.
  Select Start> Run, type regedit to open the registry editor.
  Find HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ TerminalServer \ Wds \ rdpwd \ Tds \ tcp, find PortNumber of sub-keys. Modify the value of the port you need.

 


  Find HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ TerminalServer \ WinStations \ RDP-Tcp, find PortNumber of sub-keys. Modify the value of the port you need.
  Next steps: the modified instance ECS Windows Remote Desktop firewall port you need to check whether there are safety rules restrict TCP / IP filtering in.

Guess you like

Origin www.cnblogs.com/sleepya/p/11262291.html