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

Tags: , ,

Sponsored Links



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

Tips & Tweaks


Reply
 
Thread Tools Search this Thread
  #1  
Old 04-02-2009
Computer_Freak's Avatar
Member
 
Join Date: Apr 2008
Posts: 490
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!
Reply With Quote
  #2  
Old 04-02-2009
Manthan's Avatar
Member
 
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.
Reply With Quote
  #3  
Old 04-02-2009
Member
 
Join Date: Dec 2008
Location: Colombo
Posts: 122
Re: How to enable or disable Windows Firewall in Vista in just one click

Quote:
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
Reply With Quote
  #4  
Old 04-02-2009
Melville's Avatar
Member
 
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.
Reply With Quote
  #5  
Old 04-02-2009
Member
 
Join Date: Dec 2008
Location: Colombo
Posts: 122
Re: How to enable or disable Windows Firewall in Vista in just one click

thanks buddy,,,I got that
Quote:
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.
Reply With Quote
  #6  
Old 04-02-2009
Member
 
Join Date: Dec 2008
Location: Colombo
Posts: 122
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
Reply With Quote
Reply

  TechArena Community > Software > Tips & Tweaks


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to enable or disable Windows Firewall in Vista in just one click"
Thread Thread Starter Forum Replies Last Post
Enable or disable Aero with a simple double-click TheGreatOne Tips & Tweaks 2 05-02-2010 08:07 PM
How to disable Firewall in Windows Vista Starter ? urgaffel Networking & Security 2 20-02-2009 11:30 PM
How to add disable uac or enable uac on right click Computer_Freak Customize Desktop 0 10-02-2009 02:56 PM
Disable / Enable the firewall in Vista Erskine Tips & Tweaks 1 12-11-2008 07:26 PM
Enable or Disable UAC From the Windows Vista Reegan Tips & Tweaks 5 15-10-2008 08:22 PM


All times are GMT +5.5. The time now is 09:23 AM.