The lazy programmer scripts
scripts that work

Lazy enable Remote Desktop Service on Windows GitHub

The script needs to be run as administrator in a Powershell or a cmd session.

Tested on Windows versions >= 6.0

reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f

reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v UserAuthentication /t REG_DWORD /d 0 /f

netsh firewall set service type = remotedesktop mode = enable

That's all, folks!

Written by kami on Sunday September 13, 2015
Permalink - Tags: windows, rdp, cmd, powershell

Leave a comment

comments powered by Disqus

- Lazy install apache2 »