Since Windows 2000, Microsoft has provided a Terminal Server service that can deliver remote desktops to local. Through this service, visual remote management can be implemented very easily. Following 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 of the functions are much more powerful.
The main new features of the Terminal Server Client program in Windows XP are:
1) You can bring the sound from the target machine back to the unit.
2) Supports true color and can be used in full screen.
3) And there is no need to install it, you only need two files and it can be used, which is very convenient.
The default port of Terminal Server is 3389, so many people who know 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 intrusion. Therefore, in practice, the port of Terminal Server needs to be changed.
The method to modify the default port of Terminal Server is 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 a file. The .cns file is the ASCII file that stores the options for this connection. Open this file with text editing software and find Server Port=3389. This line changes 3389 to a custom port, save it and import it into Client Connection Manager. It will prompt "Are there a connection already using this configuration, whether to overwrite it?" and select Yes. Now we can use this connection configuration in Client Connection Manager to connect to the server on the custom port.
Windows XP
Open the window. Press the "Options" button to expand the window, and there will be five tabs: General, Display, Local Resources, Run, and Advanced. After filling in each item as needed, press the Save As button in the General tab. The custom connection configuration is saved as a .rdp file. Open it with text editing software and you can see that its format is 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:tsinternetuser
domain:s:JOB
alternate shell:s:
shell working directory:s:
It is very obvious that 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 of the server. So you need to add it manually, add a line to it.
server port:i:××××(the port customized by ×××× server).
You can also omit the intermediate item; just write it as server port:××××.
Run, open the .rdp file and connect to this custom port.
The main new features of the Terminal Server Client program in Windows XP are:
1) You can bring the sound from the target machine back to the unit.
2) Supports true color and can be used in full screen.
3) And there is no need to install it, you only need two files and it can be used, which is very convenient.
The default port of Terminal Server is 3389, so many people who know 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 intrusion. Therefore, in practice, the port of Terminal Server needs to be changed.
The method to modify the default port of Terminal Server is 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 a file. The .cns file is the ASCII file that stores the options for this connection. Open this file with text editing software and find Server Port=3389. This line changes 3389 to a custom port, save it and import it into Client Connection Manager. It will prompt "Are there a connection already using this configuration, whether to overwrite it?" and select Yes. Now we can use this connection configuration in Client Connection Manager to connect to the server on the custom port.
Windows XP
Open the window. Press the "Options" button to expand the window, and there will be five tabs: General, Display, Local Resources, Run, and Advanced. After filling in each item as needed, press the Save As button in the General tab. The custom connection configuration is saved as a .rdp file. Open it with text editing software and you can see that its format is 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:tsinternetuser
domain:s:JOB
alternate shell:s:
shell working directory:s:
It is very obvious that 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 of the server. So you need to add it manually, add a line to it.
server port:i:××××(the port customized by ×××× server).
You can also omit the intermediate item; just write it as server port:××××.
Run, open the .rdp file and connect to this custom port.