[windows2000] Re: XP firewall

  • From: "Jim Kenzig http://thethin.net" <jimkenz@xxxxxxxxxxxxxx>
  • To: windows2000@xxxxxxxxxxxxx
  • Date: Mon, 16 May 2005 04:59:57 -0700 (PDT)

If you are running Windows XP SP2 you can use the new netsh command in a script 
for example:
netsh firewall set opmode mode=DISABLE 

JK

Andy Wolstenholme wrote:
thanks chaps, much appreciated
>Andy,
>
>You can disable the firewall along with notifications via these reg keys:
>
>========================START===================
>
>Windows Registry Editor Version 5.00
>
>[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy]
>
>[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\DomainProfile]
>"DoNotAllowExceptions"=dword:00000000
>"EnableFirewall"=dword:00000000
>"DisableNotifications"=dword:00000001
>
>
>[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile]
>"DoNotAllowExceptions"=dword:00000000
>"EnableFirewall"=dword:00000000
>"DisableNotifications"=dword:00000001
>
>=================END============================
>
>
>Chaps,
>
>am now looking for way to turn XP sp2 firewall off after completing a 
>series of patch updates via batch script.
>
>There seems to be a few different ways out there, can anyone recomend any?
>
>regards
>

Other related posts: