Modify windows Remote Desktop Port

Source: Internet
Author: User
Tags windows remote desktop

The communication Protocol used by the Remote Desktop service is Microsoft-defined RDP (Reliable Data Protocol) Protocol, and the TCP Communication Port Number of the RDP Protocol is 3389. For the sake of security, we often need to change its port.

Run registry editor and find
HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Control \
Terminal Server \ Wds \ Repwd \ Tds \ Tcp

And HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ TerminalServer \ WinStations

The key value of the next PortNumber key: 0xd3d, which is in hexadecimal notation, that is, 3389 in decimal notation, that is, the RDP protocol port. Change it to the port you want to set.

Modify the Remote Desktop Connection port on the client: ps: the simpler method is to add a port number directly after the connection)

Open notepad and add the segment server port: I: 3390 -- 3390 as the port number. You can change it to the port you want to set.

Save as rdp file with the extension: RDP File Format: Selected name: Data Type (I-integer/s-string: Data
Run mstsc.exe (Remote Desktop Connection) to open the file.

Related Articles]

  • Windows terminal service and remote desktop Web access and port modification methods
  • Configure Remote Desktop client to connect to a specific port
  • Experience in using Remote Desktop Connection

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.