Category: Windows

Start | Stop Windows 7 Firewall batch

Start IT:

IOF>>

@echo off

netsh firewall set opmode mode=ENABLE exceptions=DISABLE profile=CURRENT
netsh firewall set opmode mode=ENABLE exceptions=DISABLE profile=DOMAIN
netsh firewall set opmode mode=ENABLE exceptions=DISABLE profile=STANDARD

<<EOF

Stop IT:

IOF>>

@echo off

netsh firewall set opmode mode=DISABLE exceptions=DISABLE profile=CURRENT
netsh firewall set opmode mode=DISABLE exceptions=DISABLE profile=DOMAIN
netsh firewall set opmode mode=DISABLE exceptions=DISABLE profile=STANDARD

<<EOF

WordPress Themes