Mstsc port modification method

Source: Internet
Author: User
Tags mstsc

Many network administrators who manage servers on Windows platforms know that maintenance servers need to be executed remotely. Some use pcAnywhere, and some use 3389 remote connectors provided by Microsoft. However, after using the modified port, the remote terminal is often not smooth, and the connection speed is slow, even with a bandwidth of Gbps. Why? In fact, the above situation occurs only when we do not modify the port completely. In the past, when we modified port 3389 of the remote server terminal, we only modified the value of "portnumber" in HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Terminal Server \ winstations \ RDP-TCP, this can also be connected, but it will causeArticleHow can we make the changes completely?

1. Enter "Regedit" in the operation to enter the registry, and find the HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Terminal Server \ WDS \ rdpwd \ TDS \ Tcp item,

2. Find "portnumber", right-click and select "modify", select decimal, and replace it with the port you want to modify (ranging from 1024 to 65535), and there is no conflict, otherwise, the system cannot be started normally next time. Procedure

3. Locate HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Terminal Server \ winstations \ RDP-TCP, locate "portnumber" on the right, and modify the value (note, the current port must be the same as the last modified port ).

4. After the system is restarted, you can use the 3389 connector to remotely connect to the system. (The 3389 connector can be opened by entering "mstsc" in operation under XP/2003. The connection format is IP: the modified port,

Attachment: the remote port is written in the mstsc.exe and mstscax. DLL files. Enter mstsc in the running directory to open the Remote Desktop Connection.

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.