Change or Add TCP port to Remote Desktop Protocol
This is a quick summary of adding another TCP port to Remote Desktop for Windows Operating System
Navigate to the following using Regedit
Hkey_Local_Machine\system\CurrentControlSet\Control\TerminalServer\Winstation\RDP-Tcp
Export this key to your desktop
Edit
[Hkey_Local_Machine\system\CurrentControlSet\Control\TerminalServer\Winstation\RDP-Tcp]
to
[Hkey_Local_Machine\system\CurrentControlSet\Control\TerminalServer\Winstation\RDP-Tcp-NEW]
this will be close to the top of the registry key settings.
From here you can also change the Port from default (3389) to what ever you choose.
Save
if you add a new tcp port, remote desktop services will now listen to both, default 3389 and new ip port you have assigned
Double click to re add back into registry hive
Reboot the computer
you can check by running the command
netstat -an
you should see both 3389 and the new tcp port
Once you enable Remote Desktop connections on the computer and add a firewall rule (TCP) to allow your new TCP port assigned to remote desktop, this should work.
test with remote desktop client, just add the new tcp port to the ip address such as
192.168.1.1:(new ip port)
Cheers,
biz
Navigate to the following using Regedit
Hkey_Local_Machine\system\CurrentControlSet\Control\TerminalServer\Winstation\RDP-Tcp
Export this key to your desktop
Edit
[Hkey_Local_Machine\system\CurrentControlSet\Control\TerminalServer\Winstation\RDP-Tcp]
to
[Hkey_Local_Machine\system\CurrentControlSet\Control\TerminalServer\Winstation\RDP-Tcp-NEW]
this will be close to the top of the registry key settings.
From here you can also change the Port from default (3389) to what ever you choose.
Save
if you add a new tcp port, remote desktop services will now listen to both, default 3389 and new ip port you have assigned
Double click to re add back into registry hive
Reboot the computer
you can check by running the command
netstat -an
you should see both 3389 and the new tcp port
Once you enable Remote Desktop connections on the computer and add a firewall rule (TCP) to allow your new TCP port assigned to remote desktop, this should work.
test with remote desktop client, just add the new tcp port to the ip address such as
192.168.1.1:(new ip port)
Cheers,
biz

0 Comments:
Post a Comment
<< Home