netsh advfirewall firewall set rule group=”Remote Administration” new enable=yes
Allow remote desktop through firewall
netsh advfirewall firewall set rule group=”Remote Desktop” new enable=yes
Enable Remote Desktop for Administration, and allow downlevel clients to connect
cscript %windir%\system32\scregedit.wsf /AR 0
cscript %windir%\system32\scregedit.wsf /CS 0
Now, run the WinRM configuration script. -q is for quiet.
winrm quickconfig -q
to turn off firewall completley which from experience is the easiest way to get started but dont forget to re-enable
netsh advfirewall set allprofiles state off








Recent Comments