Windows Firewall can't open solution


First, firewall configuration error


At this time, group policy is turned on

Expand on the left side

Computer Configuration --> Administrative Templates --> Network --> Network Connection --> Windows Firewall

Then here are some of the Group Policy enforcement restrictions Option, find the configuration you need to define to enable and then set back to "not configured".

(and some software changes to the registry, and sometimes do not appear in Group Policy in, it could change later in the group policy still is not configured, so you want to configure it, and then come back configuration)

Second, the Security Center is turned off

The firewall-enabled options are grayed out and cannot be enabled, and the prompt "Some controls are controlled by Group Policy for security reasons"

Run services. Msc opens "Services"

Set Security Center to automatic and enabled.

Set Windows Firewall/Internet Connection Sharing (ICS) to Auto and Enable.

Set the Application Layer Gateway Service to automatic and enabled.

If you still can't enable the firewall, perform the following steps:

Run regedit.exe to open the registry and delete the following two items:

HKEY_LOCAL_MACHINE SOFTWARE Policies Microsoft WindowsFirewall

HKEY_CURRENT_USER SOFTWARE Policies Microsoft Windows Firewall

(At least one can be found)

Restart Windows Firewall/Internet Connection Sharing (ICS) in the service

If you continue to prompt "Because For security reasons, some settings are controlled by Group Policy and will not affect usage.

Third, the system files are missing

Because SharedAccess.reg file is missing or damaged, SharedAccess.reg file represents the Windows Firewall service.

Note: The Windows Firewall service replaces the Internet Connection Firewall (ICF) service in earlier versions of Windows XP on Windows XP SP2.

To work around this issue, use one of the following methods.

[Method 1]: Call the "Install API InstallHinfSection" function to install Windows Firewall

To install Windows Firewall, follow these steps:

1. Click Start, Click Run, type cmd and click OK.

2. At the command prompt, type the following command line and press Enter:

Rundll32 setupapi, InstallHinfSection Ndi-Steelhead 132 %windir%infnetrass.inf

3. Restart your computer

4. Click Start - Run (shortcut Windows + R), type cmd, OK.

5. At the command prompt, type the following command: Netsh firewall reset, press Enter.

6. Click Start - Run, type firewall.cpl, and press Enter.

7. Click On in the Windows Firewall dialog box and confirm.

[Method 2]: Add Windows Firewall entries to the registry

Warning: Serious problems can occur if you modify the registry incorrectly through Registry Editor or by other means. These issues may require reinstalling the operating system. Microsoft cannot guarantee that these problems will be resolved. Modifying the registry is at your own risk.

To add a Windows Firewall entry to the registry, follow these steps:

1. Copy the following text into Notepad and save the file as Sharedaccess.reg:

Click to open the text: Click

2. Double-click Sharedaccess.reg to merge the contents of this file into the registry to create a firewall entry.

3. Restart Windows.

4. Click Start - Run, type cmd, OK.

5. At the command prompt, type the following command: Netsh firewall reset and press Enter.

6. Click Start - Run, type firewall.cpl, OK.

7. Configure and use the Windows Firewall settings.

If these methods do not work, please reinstall Windows XP SP3/2003/7 by changing the disk.

Copyright © Windows knowledge All Rights Reserved