Go Back   TechArena Community > Software > Tips & Tweaks
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 05-06-2012
Member
 
Join Date: Apr 2008
Posts: 598
How to create shortcut icon to disable or enable Windows 7 firewall

There are many people or i can say Network Admin those who need to disable or enable Firewall many times for various reasons. Even i am one of them. Due to some reason, i need to disable my Firewall every 30 minutes and enable it back after sometime. This is much time consuming (obviously you might be knowing). So, i found a way to create shortcut files for doing the same. With the help of this i just need to do One click and am done.

It might help you as well. If you are one of those people, and want to have such shortcuts, just follow the below given steps:


How to Create a Firewall Disable shortcut

For doing this you will have to go to desktop and then right click in some blank place on your desktop and in drop down menu you will have to select New and in that select Shortcut.



Now after doing that you will have to copy-paste the string under the Type the location of the item and then you will have to click on Next button.

Code:
netsh firewall set opmode disable


Now you will have to provide a name for that shortcut which you have created and then like Disable Firewall and after doing that you will have to click on Finish icon.



Now you will have to choose properties by right clicking on the shortcut icon. Now you will get a new window and in that you will have to go to Shortcut tab and click on Advance button.



Here you will have to select run as administrator and then click OK. Just see to it that you enable this option or else your shortcut icon won?t be of any use or you can say it won?t work.



Here you will have to select a perfect icon for your shortcut. You can also use your customized icon and then click OK. Thats it, you are now done.



Now you will have a disable shortcut icon on your desktop.
Reply With Quote
  #2  
Old 05-06-2012
Member
 
Join Date: Apr 2008
Posts: 598
Re: How to create shortcut icon to disable or enable Windows 7 firewall

Creating the "Enable" shortcut icon is very simple. You can do it in just few steps. have a look below:

How to Create Firewall Enable Shortcut

Now to create a shortcut for Enabling the firewall you will have to follow the same steps as used for Firewall Disable shortcut but you will just have to use Enable in place of Disable and the code which is you will have to use is netsh firewall set opmode enable. Other all things are the same.

You can also do these things if you don?t want to create a shortcut and enable and disable the firewall directly.

Enabling Windows Firewall -
Click Start, Run and type: Netsh firewall set opmode enable

Disabling Windows Firewall -
Click Start, Run and type: Netsh firewall set opmode disable
Reply With Quote
Reply

  TechArena Community > Software > Tips & Tweaks
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to create shortcut icon to disable or enable Windows 7 firewall"
Thread Thread Starter Forum Replies Last Post
Can't create desktop icon shortcut to URL address Zool Customize Desktop 3 10-08-2009 08:16 AM
How to disable or enable the Screensaver with Shortcut icon in Winodws Vista Computer_Freak Customize Desktop 0 07-04-2009 01:47 PM
How to Enable or disable Windows Vista Aero Theme with a shortcut Mastermind Customize Desktop 1 24-03-2009 12:32 PM
Enable/Disable New Shortcut Menu Twitter Tips & Tweaks 3 19-03-2009 09:24 PM
How to enable or disable Windows Firewall in Vista in just one click Computer_Freak Tips & Tweaks 5 04-02-2009 10:37 PM


All times are GMT +5.5. The time now is 06:07 AM.