WELCOME

Welcome to,
"TechTips 9391 if u need to search for the tutorials of games,softwares etc etc then you are at the right place friends , We will provide u everything in this blog so feel free to subscribe us and and tell your friends also

Monday, 6 August 2012

Create a Shortcut Icon or Hotkey to Turn 

Windows 7 / Vista Firewall On or 

Off!!!!!!!!!

When you are troubleshooting network problems, one of the first things to do is disable the built-in Windows Firewall… but there are just way too many steps required to the firewall on and off. Can’t we make a simple shortcut icon instead?

Naturally we can, using the built-in netsh utility that is usually used
 on the command line to perform advanced networking functions. We’ll simply create a shortcut to it with the appropriate parameters.

Note: Always remember to turn the Firewall back on after you are done troubleshooting, especially if you use public wireless networks.

>>Create Shortcut Icons for Enable/Disable!

>Right-click on the desktop or elsewhere, and choose New \ 
Shortcut from the menu.

>Then in the shortcut location box, you’ll add one of two 
commands listed below:

Disable Firewall

->netsh firewall set opmode disable

Enable Firewall

->netsh firewall set opmode enable

>Once you’ve added the correct command, go to the next screen 
and give the shortcut a helpful name like “Disable Firewall”

At this point you should have a shortcut icon, but it won’t work yet without choosing to run as administrator.

>Right-click the shortcut and choose Properties, and then choose 
the shortcut tab.
you can assign a shortcut key for this shortcut by adding it into the 
Shortcut key box. The most important step is to click the 
Advanced button, so we can choose “Run as administrator” to 
always run the shortcut in administrator mode.

>You can also change the icon by using the Change Icon button. If 
you want the shortcuts to really match, you can change the “Look 
for icons in this file” to the following:

->%SystemRoot%\system32\imageres.dll


In that file you can find the red shield icon as well as the green one…

So now I have two shortcuts that not only look good, but are functional.

Enjoy :-D

No comments:

Post a Comment