Results 1 to 6 of 6

Thread: How to enable or disable Windows Firewall in Vista in just one click

  1. #1
    Join Date
    Apr 2008
    Posts
    598

    How to enable or disable Windows Firewall in Vista in just one click

    The Windows Firewall in Windows Vista can not be quickly enabled or disabled, must necessarily pass through the control panel and disable it from the "Windows Firewall". It is not therefore the most practical way to do it repeatedly.

    But there is a practical and fast way to exemplify this process by creating two connections. Right click in a blank screen and select New -> shortcut, naming the first "Firewall Off" and the second "Firewall ON"

    For the location of the link included:
    • Firewall OFF
      %systemroot%\System32\netsh.exe firewall set opmode disable

    • Firewall ON
      %systemroot%\System32\netsh.exe firewall set opmode enable

    Finally, set the window properties Run -> minimized so as to not visualize the process.

    That's it, click on Firewall ON to activate the Windows Firewall and click on Firewall OFF to disable it. As simple as that!

  2. #2
    Join Date
    Aug 2008
    Posts
    71

    Re: How to enable or disable Windows Firewall in Vista in just one click

    Seems to be an interesting trick. Will try it on my home PC today. If it works than this will be very useful for me as I do need to disable firewall sometimes. Also I will like to know whether this trick will run on Windows XP as well. Because I have Windows XP also along with Windows Vista dual boot. If not this, and if any other similar trick available for XP, please provide it. Thank you.

  3. #3
    Join Date
    Dec 2008
    Location
    Colombo
    Posts
    121

    Re: How to enable or disable Windows Firewall in Vista in just one click

    Firewall OFF
    %systemroot%\System32\netsh.exe firewall set opmode disable

    Firewall ON
    %systemroot%\System32\netsh.exe firewall set opmode enable
    There are no such file called netsh.exe in System32 ..Please explain more about dat

  4. #4
    Join Date
    Oct 2008
    Posts
    170

    Re: How to enable or disable Windows Firewall in Vista in just one click

    There is netsh.exe . Run this c:\windows\system32\netsh.exe (if you have installed windows vista in c: ). You'll find this file.

  5. #5
    Join Date
    Dec 2008
    Location
    Colombo
    Posts
    121

    Re: How to enable or disable Windows Firewall in Vista in just one click

    thanks buddy,,,I got that
    Firewall OFF
    %systemroot%\System32\netsh.exe firewall set opmode disable

    Firewall ON
    %systemroot%\System32\netsh.exe firewall set opmode enable
    but no command link opmode....))
    Last edited by dhanubaba; 04-02-2009 at 10:38 PM.

  6. #6
    Join Date
    Dec 2008
    Location
    Colombo
    Posts
    121

    Re: How to enable or disable Windows Firewall in Vista in just one click

    .. - Goes up one context level.
    ? - Displays a list of commands.
    abort - Discards changes made while in offline mode.
    add - Adds a configuration entry to a list of entries.
    advfirewall - Changes to the `netsh advfirewall' context.
    alias - Adds an alias.
    bridge - Changes to the `netsh bridge' context.
    bye - Exits the program.
    commit - Commits changes made while in offline mode.
    delete - Deletes a configuration entry from a list of entries.
    dhcpclient - Changes to the `netsh dhcpclient' context.
    dump - Displays a configuration script.
    exec - Runs a script file.
    exit - Exits the program.
    firewall - Changes to the `netsh firewall' context.
    help - Displays a list of commands.
    http - Changes to the `netsh http' context.
    interface - Changes to the `netsh interface' context.
    ipsec - Changes to the `netsh ipsec' context.
    lan - Changes to the `netsh lan' context.
    nap - Changes to the `netsh nap' context.
    netio - Changes to the `netsh netio' context.
    offline - Sets the current mode to offline.
    online - Sets the current mode to online.
    p2p - Changes to the `netsh p2p' context.
    popd - Pops a context from the stack.
    pushd - Pushes current context on stack.
    quit - Exits the program.
    ras - Changes to the `netsh ras' context.
    rpc - Changes to the `netsh rpc' context.
    set - Updates configuration settings.
    show - Displays information.
    unalias - Deletes an alias.
    winhttp - Changes to the `netsh winhttp' context.
    winsock - Changes to the `netsh winsock' context.
    wlan - Changes to the `netsh wlan' context.


    here is the all commands with firewall

Similar Threads

  1. Replies: 1
    Last Post: 05-06-2012, 11:46 AM
  2. Enable or disable Aero with a simple double-click
    By TheGreatOne in forum Tips & Tweaks
    Replies: 2
    Last Post: 05-02-2010, 08:07 PM
  3. How to disable Firewall in Windows Vista Starter ?
    By urgaffel in forum Networking & Security
    Replies: 2
    Last Post: 20-02-2009, 11:30 PM
  4. How to add disable uac or enable uac on right click
    By Computer_Freak in forum Customize Desktop
    Replies: 0
    Last Post: 10-02-2009, 02:56 PM
  5. Disable / Enable the firewall in Vista
    By Erskine in forum Tips & Tweaks
    Replies: 1
    Last Post: 12-11-2008, 07:26 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,865,853.65872 seconds with 17 queries