OPEN YOUR REGISTRY EDITOR BY TYPING regedit on COMMAND LINE
Navigate to the following registry subkey: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp.
Find PortNumber.
Click Edit > Modify, and then click Decimal.
Type the new port number, and then click OK.
![](https://armantutorial.wordpress.com/wp-content/uploads/2022/08/image-194.png?w=1024)
![](https://armantutorial.wordpress.com/wp-content/uploads/2022/08/image-195.png?w=500)
![](https://armantutorial.wordpress.com/wp-content/uploads/2022/08/image-196.png?w=1024)
![](https://armantutorial.wordpress.com/wp-content/uploads/2022/08/image-197.png?w=617)