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!
Bookmarks