Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 help and support Forum Windows 8 Forum Vista Tutorials

Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Tutorials

Vista - Windows Firewall - Turn On or Off Shortcuts

Comment
 

Windows Firewall - Turn On or Off Shortcuts

How to Create a "Turn Windows Firewall On or Off" Shortcut
Published by Brink
06-24-2008
Windows Firewall - Turn On or Off Shortcuts

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

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)
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.
2.jpg
4. Click on the Change Icon button. (See screenshot below)
off-3.jpg
5. Click on OK. (See screenshot below)
Name:  Off-5.jpg
Views: 4052
Size:  31.5 KB
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)
Name:  Off-6.jpg
Views: 4042
Size:  50.5 KB
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)
Name:  On-6.jpg
Views: 4032
Size:  50.7 KB
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)
Name:  Off-4.jpg
Views: 4029
Size:  53.0 KB
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




Published by
Brink's Avatar
Administrator

Join Date: Apr 2007
Location: Texas, USA
Posts: 29,548
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute

Tutorial Tools

Applies to
All Vista Versions
64 Bit & 32 Bit

04-14-2011  
RoninV


Vista Bus 32bit
 
 

Re: Windows Firewall - Turn On or Off Shortcuts

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?
My System SpecsSystem Spec
04-14-2011  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64 SP1
Texas, USA
 
 

Re: Windows Firewall - Turn On or Off Shortcuts

Hello Ronin,

Correct. 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.
My System SpecsSystem Spec
Comment

 Windows Firewall - Turn On or Off Shortcuts problems?



Tutorial Tools


Similar topics to: Windows Firewall - Turn On or Off Shortcuts
Tutorial Category
Security centre can't turn on windows firewall?? Vista security
Windows Firewall won't turn on Vista security
Windows Security will not turn on the Firewall Vista security
Windows Defender & Firewall turn off Vista General
after installing spybot s&d can't turn windows firewall on Vista hardware & devices


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50