• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Security System Windows Firewall - Turn On or Off Shortcuts

Brink

Staff member
mvp
Windows Firewall - Turn On or Off Shortcuts How to Create a "Turn Windows Firewall On or Off" Shortcut
This will show you how to download or create two shortcuts to make it easy to turn Windows Firewall on or off as needed in Vista and Windows 7.
Published by Brink Category: Security System 
#1
ByLine
How to Create a "Turn Windows Firewall On or Off" Shortcut
Synopsis
This will show you how to download or create two shortcuts to make it easy to turn Windows Firewall on or off as needed in Vista and Windows 7.
How to Create a "Turn Windows Firewall On or Off" Shortcut

information   Information
This will show you how to download or create two shortcuts to make it easy to turn Windows Firewall on or off as needed in Vista and Windows 7.
Note   Note
To manually turn Windows Firewall On or Off, and to verify that these shortcuts worked, see: How to Turn Windows Firewall On or Off in Vista
warning   Warning
The Windows Firewall and Base Filtering Engine services need to be set as Started and Automatic for Windows Firewall to be able to be turned on or off with these shortcuts.

Using the shortcut to turn on Windows Firewall will not also turn on the Block all incoming connections option. That will have to be manually done if wanted.





OPTION ONE
To Download the Shortcut

1. Click on the Download button below to dowload the file below.​
Windows Firewall Off-On Shortcuts.zip
download

2. Click on Save and save the ZIP file to the Desktop.​
3. Right click on the ZIP file and click on Open.​
4. If prompted by UAC, then click on Allow.​
5. Extract (drag and drop) both of the Turn Off Windows Firewall and Turn On Windows Firewall shortcuts to the desktop.​
6. Right click on the each extracted shortcut one at a time, and click on Properties, General tab, and on the Unblock button. (See screenshot below)​
NOTE: If you do not have a Unblock button under the General tab, then the shortcut is already unblocked and you can continue on to step 5.​
6. You can now Pin to Taskbar (Windows 7 only) or Pin to Start Menu this shortcut, assign a keyboard shortcut to it, or move it where you like for easy use.​
7. When done, you can delete the downloaded .zip file if you like.​



OPTION TWO
To Manually Create the Shortcut


Note   Note
You will need to repeat this for each of the On and Off shortcut to create both of them.

1. Right click on a empty area of desktop and click on New and Shortcut.​
2. For a Turn Off Windows Firewall Shortcut
A) Type netsh firewall set opmode disable and click on Next. (See left screenshot below)​
Off-1.jpg

B) Type Turn Off Windows Firewall and click on Finish. (See left screenshot below)​
NOTE: You can name this shortcut anything you like.​
Off-2.jpg

C) Go to step 4.​

3. For a Turn On Windows Firewall Shortcut
A) Type netsh firewall set opmode enable and click on Next. (See screenshot below)​
On-1.jpg

B) Type Turn On Windows Firewall and click on Finish. (See left screenshot below)​
NOTE: You can name this shortcut anything you like.​
On-2.jpg

4. Click on the Change Icon button. (See screenshot below)​
Off-3.jpg

5. Click on OK. (See screenshot below)​
Off-5.jpg

6. Copy the location below, then right click in the line next to the Browse button and click on Paste. (See screenshots below steps 7 and 8)​
NOTE: You could also click the Browse button and navigate to C:\Windows\System32\FirewallControlPanel.exe instead.​
%SystemRoot%\System32\FirewallControlPanel.exe

7. For Turn Off Windows Firewall Shortcut
A) Select the icon boxed in blue and click on OK. (See screenshot below)​
Off-6.jpg

B) Go to step 9.​

8. For Turn On Windows Firewall Shortcut
A) Select the icon boxed in blue and click on OK. (See screenshot below)​
On-6.jpg

9. Click on Apply. (See screenshot below step 4)​
10. Click on the Advanced button. (See screenshot below step 6)​
11. Check the Run as administrator box and click on OK. (See screenshot below)​
Off-4.jpg

12. Click on OK. (See screenshot below step 4)​
13. Repeat for the other (On or Off) shortcut if needed.​
NOTE: After you click on the (On or Off) shortcut, you will need to click on Continue for the UAC prompt.​
14. You can now Pin to Taskbar (Windows 7 only) or Pin to Start Menu these shortcuts, assign a keyboard shortcut to it, or move it where you like for easy use.​
That's it,
Shawn


 
Last edited:
#2
This was pretty cool, but there seems to be an issue.


‘Block all incoming connections’ is not selected when these shortcuts are used. In fact, if a user goes the Control Panel or Start Search way and elects to block all incoming connections, and then uses the Disable shortcut to disable the firewall, the Enable shortcut does not switch the ‘block all incoming connections’ option back on. Any advice?