How to modify XP Remote Management default port

Source: Internet
Author: User
Tags mstsc

Since Windows 2000, Microsoft has provided a Terminal Server that can deliver remote desktops to local machines. Through this service, visual remote management can be easily implemented. Windows XP also provides this service after Windows 2000. In Windows XP, the Terminal Server Client program has been further developed than that in Windows 2000, and many functions are much more powerful.

The Terminal Server Client in Windows XP has the following new features:

1) Bring the sound from the target machine back to the local machine.

2) supports true color and full screen.

3) without installation, you only need two files, mstsc.exe and mstscax. dll, which are very convenient.

The default port of the Terminal Server is 3389, so many people who know this feature of Windows use special software or other methods to scan the port. It is very dangerous to implement intrusion when the port is opened. Therefore, in practice, you need to change the port of the Terminal Server.

You can modify the default port of the Terminal Server as follows:

  1. server-side Modification

Change the PortNumber in the following two registry keys to a custom Port:

HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Control \ Terminal Server \ Wds \ Repwd \ Tds \ Tcp

HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Control \ Terminal Server \ WinStations \ RDP-Tcp

 2. Client Modification

  Windows 2000

Run Client Connection Manager to create a new Connection to the server you just modified, and then export it to the server. central file ,. the central file is an ASCII code file that stores the connection options. open the file with the text editing software and change 3389 to a custom Port when the Server Port is set to 3389, after saving the configuration and importing it to Client Connection Manager, the system prompts "whether to overwrite a Connection using this configuration". Select Yes. Now we can use the Connection configuration in Client Connection Manager to connect to the server with the custom port.

  Windows XP

Open the mstsc.exe window. Click "options" to expand the window. Five tabs are available: "General", "display", "Local resource", "run", and "advanced. Enter the items as needed, and then click "Save as" on the "General" tab. Mstsc.exe saves the custom connection configuration as A. rdp file. Open it with the text editing software. The format is as follows:

Screen mode id: I: 1

Required topwidth: I: 800

Required topheight: I: 600

Session bpp: I: 8

Winposstr: s: 843,580

Auto connect: I: 0

Full address: s: 192.168.0.9

Compression: I: 1

Bitmapcachepersistenable: I: 1

Keyboardhook: I: 2

Audiomode: I: 2

Redirectdrives: I: 1

Redirectprinters: I: 1

Redirectcomports: I: 1

Displayconnectionbar: I: 1

Username: s: tsinternetuser

Domain: s: JOB

Alternate shell: s:

Shell working directory: s:

Obviously, the format of this file is: Option: Data Type (I-integer/s-string): the data value of this option.

There is no such option to connect to a port on the server. Therefore, you need to manually add a row in it.

Server port: I: ×××× (××× custom port of the server ).

You can also save the intermediate items and directly write them as server port: ×××.

Run mstsc.exe and open the. rdp file to connect to the custom port.

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.