Win8 method for setting remote desktop fixed port

  
                

We all know that we want to remotely control other computers, which can be done via Remote Desktop. In general, the port number of the remote desktop connection is 3389, which also makes your system dangerous. What should I do? The following Xiaobian uses the Win8 system as an example to teach you how to set the port number.

Procedure:

1, open the Registry Editor (type regedit carriage return operation);

2, is positioned in registry to [ ,null,null,0],HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Terminal Server\\Wds\ dpwd\\Tds\\tcp];

3. Then double-click PortNumber in the right window and change to the port number you want in decimal mode. , such as 7126, (but can not be repeated with other program port numbers);

4, after the above modification, we also need to change a place [HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Terminal Server\\WinStations \\RDP-Tcp;

5. Double-click the PortNumber in the right window and change it to the port number you set in decimal mode (must be the same as the third step);

6 After all the modifications are completed, we also need to set the port number allowed in the firewall (the remote desktop policy in the inbound rule can not be modified by default, so only modify the registry to modify the firewall policy);

7, still located in the registry: [H KEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/services/SharedAccess/Defaults/FirewallPolicy/FirewallRules], change the data of 3389 in the value of RemoteDesktop-In-TCP to [the port number you want to change], and save it;

8. Relocate to [HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/services/SharedAccess/Parameters/FirewallPolicy/FirewallRules], change the data containing 3389 of the value of RemoteDesktop-In-TCP to [the port number you want to change], and save it.

After the setting is completed, the modified port number can be added after the IP connection for the next connection, so that the remote desktop operation can be performed perfectly. Of course, if friends and friends have a more convenient way, welcome to interact with Xiaobian.

Copyright © Windows knowledge All Rights Reserved