Change server port settings for terminal services

xiaoxiao2021-03-06  39

1. First step, change the server side settings for the terminal service.

Open the registry, find a key value hkey_local_machine / system / currentcontrolset / control / Terminal

Server / WDS / RePwD / TDS / TCP,

See the portnumber? 0xD3D, this is a 16-based, it is 3389, I change ... This value is the default value of the RDP (Remote Desktop Protocol), that is to say, to configure the new RDP service, to change the established RDP service , We go to the next key value:

HKEY_LOCAL_MACHINE / SYSTEM / CURRENTCONTROLSET / SYSTEM / CURRENTCONTROLSET / CONTROL / TERMINALSERVER / WINSTATIONS There should be one or more sub-health like RDP-TCP (depending on how many RDP services you have established), the portNumber is changed.

(Totter Note: You can find all portNumber items by searching 3389 below HKEY_LOCAL_MACHINE)

2, step 2, change the client.

The service is changed to the port and the client port has not changed. Isn't we blind? Create another client: Open the Client Connection Manager, create a shortcut to a client connection according to the normal step, select this connection, then select "Export" in the File menu (Menu-> File-> Export), This action generates a CNS file, which is the configuration file of the terminal service client, you can edit this file with a text editor (such as Notepad), find "Server

Port = 3389, change to the port you want, then select the import (Menu-> file-> import), this is the client shortcut has become the port you need.

转载请注明原文地址:https://www.9cbs.com/read-77141.html

New Post(0)