- 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
- Open Windows Firewall Advanced Settings
- New inbound rule
- release custom port
This article is from qbit snap
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。