Advertisement
metalx1000

Windows Remote Desktop Setup

Dec 12th, 2017
1,619
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.51 KB | None | 0 0
  1. REM http://support.moonpoint.com/os/windows/software/remote-control/rdp/rdp-registry.php\
  2. REM Check if port is being used
  3. netstat -a | find "3389"
  4.  
  5. REM Enable RDP
  6. reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
  7.  
  8. REM check firewall status
  9. netsh firewall show state
  10.  
  11. REM open port on firewall
  12. netsh firewall set portopening protocol = TCP port = 3389 name = "Remote Desktop Protocol" mode = ENABLE
  13.  
  14. REM on Linux Machine as client
  15. sudo apt install remmina
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement