Tuesday, September 4, 2012

Windows Firewall from the command line

netsh firewall show state

netsh firewall set opmode mode=DISABLE

netsh firewall set opmode mode=ENABLE exceptions=DISABLE

netsh firewall set opmode mode=ENABLE exceptions=ENABLE

More about it: http://support.microsoft.com/kb/947709

No comments: