How to modify the Remote Desktop port for Windows systems

Source: Internet
Author: User
The Remote Desktop port of Windows system is 3389 port by default, but due to system security, we usually change the original 3389 port to another port after installing the system.
To change the original Remote Desktop Services 3389 port to 6678 Port as an example, the following procedures are described:

1. Open registry: Run regedit

2. Find: [hkey_local_machine\system\currentcontrolset\control\terminal server\wds\rdpwd\tds\tcp] Double-click on the right PortNumber--- > Click decimal---> Change the value to: 6678---> Click OK.

3. Then find: [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal server\winstations\rdp-tcp] Double-click on the right PortNumber---> Click decimal---> Change the value to: 6678---> Click OK.

4. Create a new text file copy and save the following code as a Reflash.bat file
@echo off
Taskkill/im explorer.exe/f
Ping-n 2 127.0.0.1 > nul
Start C:\windows\explorer.exe

5, run Reflash.bat to refresh the registry, of course, too troublesome small partners can choose to restart the computer can also

This looks like the original Remote Desktop Services port 3389 is changed to 6678 ports, and then remember to set up a firewall after the opening of the 6678 port has just changed, when the remote landing remember to add the port number to connect!!
For example: The original Remote Desktop is directly with 192.168.0.1, change the port number should be 192.168.0.1:6678

How to modify the Remote Desktop port for Windows systems

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.