SP2 Firewall-How can admins disable this?

G

Guest

Hello,

I'm administering over a hundred machines and need to know
how to disable the Firewall either via a file change or
registry edit.

I've already tried using the netfw.inf file changes with
the netsh firewall reset command (I forget which Microsoft
article this came from but the Word document was
named "wfinf_guide.doc"), without much success.

Any help is appreciated.
 
J

Jeremy

I did mine with registry settings off MS site as follows
<--cut-->
REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\DomainProfile]
"EnableFirewall"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile]
"EnableFirewall"=dword:00000000
<---cut--->

save above to .reg file and run on each machine, will stop firewal from
fireing up. I ran before installing sp2 worked great
 
T

Torgeir Bakken \(MVP\)

Hello,

I'm administering over a hundred machines and need to know
how to disable the Firewall either via a file change or
registry edit.

I've already tried using the netfw.inf file changes with
the netsh firewall reset command (I forget which Microsoft
article this came from but the Word document was
named "wfinf_guide.doc"), without much success.

Any help is appreciated.
Hi

There are several solutions available to disable the firewall
not using the GUI.

Here are two ways:

1)
Adding the registry values below, this can be done either
before or after SP2 is installed (use e.g. regedit.exe):


HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\DomainProfile
\EnableFirewall=0 (DWORD data type)

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile
\EnableFirewall=0 (DWORD data type)

Those registry values are documented in WF_XPSP2.doc

WF_XPSP2.doc "Deploying Windows Firewall Settings for Microsoft
Windows XP with Service Pack 2" is downloadable from
http://www.microsoft.com/downloads/details.aspx?familyid=4454e0e1-61fa-447a-bdcd-499f73a637d1


If you want to disable the firewall service as well, run this command
line from e.g. Start/Run (do not remove the space after start= ):

sc.exe config SharedAccess start= disabled


2)

The following command line will disable SP2's firewall (must be
run after SP2 is installed and at least one reboot is done):

netsh.exe firewall set opmode mode=disable profile=all


The netsh.exe syntax is also documented in WF_XPSP2.doc.


If you want to disable the firewall service as well, run this command
line from e.g. Start/Run (do not remove the space after start= ):

sc.exe config SharedAccess start= disabled
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top