windows firewall

Quickly Turn ON/OFF Windows Firewall Using Command Line

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

 

Ref: http://www.windowsnetworking.com/kbase/WindowsTips/WindowsServer2008/AdminTips/Admin/QuicklyTurnONOFFWindowsFirewallUsingCommandLine.html

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s