環境:windows
思路:修改注冊表的兩個端口——>重啟遠程服務
1、打開注冊表,打開運行 Regedit
2、修改端口1,按照路徑打開,HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp ,雙擊文件,切換到十進制。
3、修改端口2,按照路徑,HKEY_LOCAL_MACHINE\SYSTEM\CurrentContro1Set\Control\Tenninal Server\WinStations\RDP-Tcp
4、重啟遠程服務,運行 services.msc
6、重啟前 先查看下 自己的防火牆端口有沒有被禁 防火牆設置好后 先重啟 Remote Desktop Configuration 再 重啟 Remote Desktop Service 服務。