Solved Finding registry key for enabling/disabling Windows firewall

Self build / N/A
March 13, 2013 at 02:06:39
Specs: Vista Ultimate, SP2, 3.0Ghz/2Ghz
Can someone point me to the registry key for enabling/disabling the Windows firewall?

I am using Windows XP SP3. I looked this up on the internet and found these paths:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\DomainProfile

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile

The above paths do not exist. Does anyone know where this can be found?

I am asking because on a computer I am working on the windows firewall is grayed out in both the user and administrator profiles. The computer came from a workplace where it was on a domain and the company had their own firewall, so they disabled it in both profiles. I am looking to enable it again through the registry. Thanks.


See More: Finding registry key for enabling/disabling Windows firewall

Report •


✔ Best Answer
March 15, 2013 at 21:01:44
Did some reading on this and it appears that all you do is delete the HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Firewall registry key and you'll be back to an enabled firewall.cpl.

If you want to keep it grayed out and off, you would keep the key and enter a 0 in the folders I mentioned above OR if you want to keep it grayed out and on, you would enter a 1.



#1
March 13, 2013 at 03:37:34
If the computer is still on the domain it maybe set by the group policy. If you're not going to use it on a domain, change it to a workgroup and your firewall should come back.

http://www.ehow.com/how_5833684_del...


Report •

#2
March 13, 2013 at 04:30:05

Report •

#3
March 13, 2013 at 04:47:30
I'm working on two different "removed from domain" posts right now, so they are kind of overlapping, but the settings is most likely in a GPO

see here

http://www.ehow.com/how_6934008_dis...

also you are going to want to have a local account on that machine, I'm assuming that you already do and you are not using a domain account.

Here's the other post, some things apply

http://www.computing.net/answers/wi...


Report •

Related Solutions

#4
March 13, 2013 at 07:43:46
Gretti,

I changed domain to a workgroup long ago; firewall still grayed out in both profiles. I'll look at the links you provided to see if I can get any other clues.
Johnw: I'm reluctant to use a registry tool for fear of messing something up, expecially if I can't see what it's doing. I would prefer to see the registry keys myself and make the change on my own.

By the way, I located a firewall entry in the registry. It is in the ControlSet folder and there is a domain profile and a standard profile. You change the entry from a 0 to a 1 to enable the firewall. But I think that's what happens when you enable/disable the firewall from the firewall applet when it's NOT grayed out? I don't know if this will make the applet enabled if it's grayed out in the first place.


Report •

#5
March 13, 2013 at 07:59:18
Gretti,

Your second set of links may help me; I haven't tried it yet. But here's a bit of info I thought I should tell you in light of your reponses above. When I first imaged the PC, it was on a domain and I created an admin account. When I changed to workgroup I think I continued to use the admin account I created while under the domain...would this affect anything? Thanks.
P.S. I did create additional admin accounts once I was in the workgroup.


Report •

#6
March 13, 2013 at 21:04:15
There shouldn't be a problem using the local account. Let me know if your firewall was disabled in gpedit

Report •

#7
March 15, 2013 at 14:48:54
Gretti,

I went into the Group Policy Editor but no luck. The About article mentions the following path: Computer Configuration\Administrative Templates\Network\Network Connections\Windows Firewall. There is no such path listed. The only thing listed under Administrative Templates is Windows Components and there is nothing in there relating to the firewall! I did search the registry and found the following key: HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Firewall. There are two folders under that for Domain Profile and Standard Profile. The current entry has a 0 in it. Would I change that to a 1 to enable the .cpl for the firewall?


Report •

#8
March 15, 2013 at 21:01:44
✔ Best Answer
Did some reading on this and it appears that all you do is delete the HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Firewall registry key and you'll be back to an enabled firewall.cpl.

If you want to keep it grayed out and off, you would keep the key and enter a 0 in the folders I mentioned above OR if you want to keep it grayed out and on, you would enter a 1.


Report •

#9
March 16, 2013 at 01:12:06
Good to know, glad you got it figured out.

Report •

Ask Question