Firewall Won't Turn Off

D

Dick

I am trying to turn off the Windows XP SP2 firewall. When I go to
Windows Firewall in Control Panel the firewall is checked OFF.
However, when I go to Windows Security Center, the firewall shows ON.
I cannot get it to turn off.
 
T

Torgeir Bakken \(MVP\)

Dick said:
I am trying to turn off the Windows XP SP2 firewall. When I go to
Windows Firewall in Control Panel the firewall is checked OFF.
However, when I go to Windows Security Center, the firewall shows ON.
I cannot get it to turn off.
Hi

To check the state of the firewall, open a command prompt (e.g.
Start/Run --> cmd.exe) and then, in the command prompt, enter this
(followed by the Enter key):

netsh.exe firewall show state


If "Operational mode" is listed as "Disable", the firewall is off,
and it is just the Security Center that is confused.
 
D

Dick

Hi

To check the state of the firewall, open a command prompt (e.g.
Start/Run --> cmd.exe) and then, in the command prompt, enter this
(followed by the Enter key):

netsh.exe firewall show state


If "Operational mode" is listed as "Disable", the firewall is off,
and it is just the Security Center that is confused.

When I run that command, I get only:

Notification Mode = Enable
Group Policy Version = None
Remote Admin Mode = Disable

Plus a list of open ports.

Nothing on Operational Mode
 
T

Torgeir Bakken \(MVP\)

Dick said:
When I run that command, I get only:

Notification Mode = Enable
Group Policy Version = None
Remote Admin Mode = Disable

Plus a list of open ports.

Nothing on Operational Mode
Hi

I suspect that the upper part just scrolled out of view. Use the
scroll bar on the right side of the command prompt to see the first
part of the output, or redirect the output to a file that you can
look at instead, you can do like this in the command prompt:


netsh.exe firewall show state >fw-state.txt
notepad fw-state.txt
 
D

Dick

Hi

I suspect that the upper part just scrolled out of view. Use the
scroll bar on the right side of the command prompt to see the first
part of the output, or redirect the output to a file that you can
look at instead, you can do like this in the command prompt:


netsh.exe firewall show state >fw-state.txt
notepad fw-state.txt

You were right. I didn't see the top part. It is disabled.

Thanks.
 
B

B. Money

So, if the firewall really is NOT turning off... how does one turn it
off? Is there a command line option that I could try? Or, perhaps a
registry key that I can change... Anyone have an idea?
 
T

Torgeir Bakken \(MVP\)

B. Money said:
So, if the firewall really is NOT turning off... how does one turn it
off? Is there a command line option that I could try? Or, perhaps a
registry key that I can change... Anyone have an idea?
Hi

Please take a look at this post:

http://groups.google.com/[email protected]

This VBScript (.vbs) creates the registry values that disables the
WIn XP SP2 firewall (mentioned in the link above):

'--------------------8<----------------------
Set oShell = CreateObject("WScript.Shell")

oShell.RegWrite "HKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall" _
& "\DomainProfile\EnableFirewall", 0, "REG_DWORD"

oShell.RegWrite "HKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall" _
& "\StandardProfile\EnableFirewall", 0, "REG_DWORD"

'--------------------8<----------------------
 

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