Results 1 to 2 of 2

Thread: How to create shortcut icon to disable or enable Windows 7 firewall

  1. #1
    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.

  2. #2
    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

Similar Threads

  1. Can't create desktop icon shortcut to URL address
    By Zool in forum Customize Desktop
    Replies: 3
    Last Post: 10-08-2009, 08:16 AM
  2. Replies: 0
    Last Post: 07-04-2009, 01:47 PM
  3. Replies: 1
    Last Post: 24-03-2009, 12:32 PM
  4. Enable/Disable New Shortcut Menu
    By Twitter in forum Tips & Tweaks
    Replies: 3
    Last Post: 19-03-2009, 09:24 PM
  5. Replies: 5
    Last Post: 04-02-2009, 10:37 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,514,485.24114 seconds with 17 queries