How to Create a Shortcut Icon or Hotkey to Enable / Disable Windows Firewall



If you use Windows default Firewall, many times you might need to disable firewall for troubleshooting issues. To disable firewall, you have to follow no. of steps like opening Control Panel, then open Windows Firewall applet, then click on "Change Settings" and finally select "Off" and Apply it.

Its a lengthy process and it would be better if we could create a shortcut which can directly enable/disable Windows Firewall in a single click.

The Geek at "How To Geek" recently posted a great tutorial for creating shortcuts to enable/disable Firewall.

I'll post a small summary of this tutorial here:

1. Right-click on Desktop and select "New -> Shortcut".

2. It'll ask for Location of the item. Type following command in the location box:

To Create Shortcut to Disable Firewall, use following command:

netsh firewall set opmode disable

To Create Shortcut to Enable Firewall, use following command:

netsh firewall set opmode enable

3. Click on "Next" button. Now provide a name and click on "Finish" button.

4. That's it. It'll create a shortcut on Desktop. Now you can change its icon, name, assign shortcut key by entering into shortcut's Properties.

You can read the full tutorial with screenshots at following link:

Create a Shortcut Icon or Hotkey to Turn Windows Vista Firewall On or Off

I'm very thankful to "The Geek" to provide me permission to publish his article here. "How To Geek" is a well-known website and contains lots of good information. You should definitely take a look at this website and subscribe to the RSS feed.

Complete list of AskVG articles



This article was posted in Windows 7, Windows Vista, Windows XP.


Share |


Related Articles

Popular Articles



5 Comments

Add a Comment

NOTE: If you can't see your comment, please be patient. It'll appear as soon as we approve it.


Create an avatar that will appear with your comment.