Create Shortcut Icon to Enable or Disable Windows Firewall

by on August 16, 2008
in Tips and Tricks, Windows




The default firewall that comes built in with Windows is not a powerful one and thus many threats can easily pass through and enter your computer. I usually recommend all my readers to use a third party firewall applications to protect your computers, but some people still use the default one.

Sometimes you need to disable your Windows Firewall while trouble shooting network problems. In that case you have to go through many steps to disable or enable it. Thanks to How-to Geek, here’s a trick bu which you can create a shortcut on yuor desktop to enable or disable Windows Firewall.

How To Create Shortcut Icon to Enable or Disable Windows Firewall

1. Right-click any where on your desktop, and create a new shortcut (New > Shortcut).

2. In the Location: field, type the following command

To create shortcut to disable firewall:

netsh firewall set opmode disable

To create shortcut to enable firewall:

netsh firewall set opmode enable

3. Now click Next, type in a name for your shortcut and click Finish.

Your shortcut will now be on your desktop. You can use any icons for them.

Was this post helpful? Follow us on Twitter (@SizzledCore) or become our Facebook fan for all the latest updates!


  • Cool tip. I am sick of right clicking on that warning icon in the system tray over and over again.