Windows firewall

Reset, turn off/on the windows firewall or show current state of all firewall profiles.

Current options

  1. Reset
    Reset the windows firewall.
  2. Turn off
    Turns off the windows firewall.
  3. Turn on
    Turns on the windows firewall.
  4. Show profiles
    Shows all windows firewall profiles.

How it works

Reset all firewall profiles.

Reset profiles
  netsh advfirewall reset

Turn off all firewall profiles.

Turn off profiles
  netsh advfirewall set allprofiles state off

Turn on all firewall profiles.

Turn on profiles
  netsh advfirewall set allprofiles state on

Display all firewall profiles.

List profiles
  netsh advfirewall show allprofiles