Since Windows 2000, Microsoft provides a terminal service (Terminal Server) This service can pass remote desktops to your local. Through this service, visual remote management can be very convenient. After Windows 2000, Windows XP also provides this service. The Terminal Server Client program in Windows XP has further developed than the one in Windows 2000, and many functions are much larger.
The main new features of the Terminal Server Client program in Windows XP are:
1) You can bring the sound on the target machine to this machine.
2) Support true color and can be used in full screen.
3) And do not have to be installed, only two files MSTSC.EXE and MSTSCAX.DLL can be used, which is very convenient.
The default port of Terminal Server is 3389, so many people who understand this feature of Windows use some special software or other methods to scan the port. It is very dangerous to find that the port is open to implement invasion. So, in practice, you need to change the port of Terminal Server.
The method for modifying the default port of Terminal Server is as follows:
1. Server-end modification
Both portNumber in the following two registry keys can be customtened:
HKEY_LOCAL_MACHINE / SYSTEM / CURRENTCONTROLSET / CONTROL / TERMINAL Server / WDS / RePwWD / TDS / TCP
HKEY_LOCAL_MACHINE / SYSTEM / CURRENTCONTROLSET / Control / Terminal Server / WinStations / RDP-TCP
2. Client modification
WINDOWS 2000
Running the Client Connection Manager Create a new connection to the server that has just been modified, then export it to the server.cns file, .cns file is the ASCII code file that stores each option, open this file with the text editing software, find the Server Port = 3389 This line changes 3389 to a custom port. After saving it, it will be introduced into the Client Connection Manager. It will prompt "There is already a connection to use this configuration, whether it is overwritten, and select Yes. Now we can use this connection to this connection in the Client Connection Manager to connect to the server of custom ports.
Windows XP
Open the MSTSC.EXE window. Press the "Options" button to extend the window, there will be "General", "Show", "Local Resources", "Run", "Advanced" five tabs. After filling out the items as needed, press the "Save As" button in the General tab. MSTSC.exe saves the custom connection configuration as a .rdp file. Use the text editing software to open it, you can see its format as follows:
Screen Mode ID: I: 1
DeskTopWidth: i: 800
Desktopheight: i: 600
Session BPP: I: 8
Winposstr: s: 2, 3, 195, 73, 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: TsinterNetUserdomain: s: job
Alternate shell: s:
Shell Working Directory: S:
Very obvious, you can see the format of this file is: Option: Data Type (I-integer / S-String): The data value of this option.
There is no such options that are not connected to a port of the server. So you need manual addition, add a line thereof.
Server Port: i: ×××× (×××× server custom port).
The intermediate item can also be saved; directly written as a Server Port: ××××.
Run MSTSC.exe, open this .rdp file, connect this custom port.