• OS Version Window 10 Pro 21H2
  • Check the port number with PowerShell
(Get-ItemProperty -Path "hklm:SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp").PortNumber
(Get-ItemProperty -Path "hklm:SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-TCP").PortNumber
  • Modify the port value in the registry (regedit)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp] PortNumber 
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp] PortNumber
  • Right click My Computer -> Properties -> Enable Remote Desktop
    image.png
  • Open Windows Firewall Advanced Settings
    image.png
  • New inbound rule
    image.png
  • release custom port
    image.png
This article is from qbit snap

qbit
268 声望279 粉丝

引用和评论

0 条评论