How To: Create shortcuts to enable/disable Windows Firewall

Firewall Shortcut Properties

Although the Windows Firewall is a great utility, sometimes you need to turn it off like any other firewall. Connection issues arise a lot of times with various programs and utilities and turning off the firewall is one of the most common steps to take when dealing with connectivity issues. Furthermore, you might want to try third party firewalls for a while so turning off the Windows one is definitely a good idea. Instead of going through all the hassle of turning it on and off via the options menu, read this guide to learn how to create shortcuts to both enable and disable the great Windows Firewall.

Right click on an empty space in your computer (like your desktop) and create a new shortcut. You will actually need to create two separate shortcuts, one for enabling and one for disabling the firewall. If you thought there was a single button to do both, you were sadly mistaken. When you create the shortcuts, type in or copy/paste the following commands:

Enable: netsh firewall set opmode enable
Disable: netsh firewall set opmode disable

Firewall Shortcut Command

Click on Next and give the shortcuts an appropriate name. You are pretty much done. You can now Move the shortcuts wherever you want and even customize them a bit. If you are looking for firewall icons, there is a good change you will find some in “C:\Windows\system32\imageres.dll”. You might also want to go to the Compatibility tab in the Properties menu and enable the “Run as Administrator” mode for the shortcuts to avoid further issues.