Modify the remote desktop port of a Windows 2003 Server

Source: Internet
Author: User

Speaking of the remote desktop port, I thought about a story that happened to me two years ago, but before I told the story. First, let's take a look at what guidance will be given to us after learning this lesson? This section describes how to modify the remote desktop port of Windows Server 2003, how to modify the remote desktop port of Windows Server 2008, how to modify the remote desktop port of Windows XP, and precautions for modifying the remote desktop port of Windows Server.

Okay. Let's join in the topic of this lesson. First, let's talk about the precautions for modifying the remote desktop port.

 

Note:

1. Modify in Win2003 and XPRemote desktop port(Including any computer port) must be inFirewallAdd the remote (trusted) port to the [exceptions] list, regardless of whether the firewall is enabled (in this case). [do not allow exceptions] tens of millionsDo not tick to enable.

Open Mode: Start -- set -- control panel -- firewall

 

 

2. Modify the remote desktop port (including any computer port) on Win2003 and XP and add the allow for TCP/IP filtering on the local link.TCPPortList.

Open Mode: Start -- set -- control panel -- network link -- local link (right-click "local link" attribute) -- Internet Protocol (TCP/IP) properties -- advanced -- select the TCP/IP filter attribute of option -- check whether "enable TCP/IP filter (all adapters)" is enabled. If yes, add the required TCP port. Www.111cn.net


 
 

 

 

Note:If TCP/IP filtering is not enabled, 2nd entries can be ignored.

 

3. Modify in Win2008Remote desktop port(Including any computer port) must be inFirewallAdd the remote (trusted) in the [exception] list, regardless of whether the firewall is enabled;

Note:[Block all incoming connections, including the list of permitted programs] tens of millions of lines in the home or work (dedicated) network and public networkDo not tick to enable.

Open Mode: Start -- set -- control panel -- firewall

 

 

 

 

 

 

 

After the above considerations are described, I believe everyone may know why I will talk about them first. In fact, I also wanted to modify the remote port for the server two years ago, because I had no experience and finally failed to remotely modify the port. In addition, the letter O and number 0 are mentioned in the password I set, it also makes the service provider's technology very difficult, and finally reinstalls the server to the system. Fortunately, this server does not have an important site but only some test sites.

 

Okay, 111cn.net. Next, let me show you how to modify the remote desktop port.

(The following methods are applicable to WinXP, Win2003, Win2008, Win7, and ,)

Step 1: Start-run (shortcut key start + R) enter registry command Regedit

 

Step 2: Open the registry editor

[HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/Terminal Server/Wds/rdpwd/Tds/tcp]. Modify the value of PortNamber on the right (default port 3389) to the desired port, for example, 2289.

 

Step 3: go on to the registry.

[HKEY_LOCAL_MACHINE/SYSTEM/CurrentContro1Set/Control/Tenninal Server/WinStations/RDP-Tcp]. Modify the value of PortNamber on the right (default port 3389) to the desired port, for example, 2289.

 

Note: after modification, you need to restart the system to take effect. Pay attention to firewall Trust and TCP/IP screening!

Step 4: try remote connection and see what the result is? Succeeded? If any problem occurs, contact the service provider in a timely manner.

Tisp:
1. Make sure to change the simple password before remote connection (to facilitate the service provider). Do not use the letter O (case-insensitive) or number 0 if possible. If you restart the server after modifying the port, you can use the remote desktop to enhance the user name and password.
2. Make sure to back up the database, such as code and database, before the remote operation, just in case.
3. After reading the above tutorial, you can first test it on the local machine and then operate it if there is no problem.
4. In the above [note], you can check more to reduce the problem that the remote desktop cannot be modified.
5. After the above operation, it is necessary to restart the computer to take effect, but it must be modified and restarted without affecting the use.

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.