Thursday 13 October 2011

Windows Firewall

Turn ON/OFF windows Server 2003/2008  FireWall from Command Line:


Domain Profile:
Netsh advfirewall set domainprofile state off
 
Private Profile:
Netsh advfirewall set privateprofile state off

 
Public Profile:
Netsh advfirewall set publicprofile state off 

 
To enable the firewall replace the OFF at the end of the sentence for ON.