Disable Windows firewall via Command Line

Open command line.

To disable windows firewall execute:

netsh firewall set opmode disable

or

netsh advfirewall set allprofiles state off

To enable windows firewall execute:

netsh firewall set opmode enable

or

netsh advfirewall set allprofiles state on
%d bloggers like this: