Quickly Turn ON/OFF Windows Firewall Using Command Line

Windows Firewall on computers running Windows7, Windows 8 and Windows 10 is enabled by default. You may need turn it off/on for numerous reasons.

steps for how you do it using a command prompt:

  • To Turn Off:
  • NetSh Advfirewall set allprofiles state off
  • To Turn On:
  • NetSh Advfirewall set allprofiles state on
  • To check the status of Windows Firewall:
  • Netsh Advfirewall show allprofiles
Bookmark and Share

1 thought on “Quickly Turn ON/OFF Windows Firewall Using Command Line”

  1. Nice share ! eager to hear more from you

Leave a Reply to GitHub Puppet Dashboard Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.