Windows Firewall does not open the processing method

Source: Internet
Author: User

One, the firewall configuration error

Start-Up Run-->gpedit.msc

At this point, Group Policy is turned on

On the left, grading unfolds.

Computer Configuration-Administrative Templates-network-to-network connection-->windows Firewall

Then here are some options for Group Policy enforcement restrictions, find the configuration that you need to enable and then set back to "Not configured".

(Some software changes the registry, sometimes in Group Policy does not appear, may change after the Group Policy is still not configured, so to configure, and then configure back)

  Second, the Security Center was closed

The firewall-enabled option is grayed out, cannot be enabled, and prompts "Some settings are controlled by Group Policy due to security considerations"

Run services.msc to open "services"

Set Security Center to automatic, and enable.

Set Windows Firewall/internet Connection Sharing (ICS) to automatic and enabled.

Set the application Layer Gateway Service to Automatic and enabled.

If you still cannot 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 \ WindowsFirewall

(At least one item can be found)

Restarting Windows Firewall/internet Connection Sharing (ICS) in a service

If you continue to be prompted for security considerations, some settings are controlled by Group Policy and will not affect use.

  Third, the system file is missing

Because the Sharedaccess.reg file is missing or corrupted, the Sharedaccess.reg file represents the Windows Firewall service.

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

To resolve 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 then click OK.

2. At the command prompt, type the following command line, enter:

Rundll32 setupapi,installhinfsection Ndi-steelhead%windir%\inf\netrass.inf

3. Restart your computer

4. Click Start-run (shortcut key Windows + R), enter cmd, OK.

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

6. Click Start-Run, input firewall.cpl, enter.

7. In the Windows Firewall dialog box, click on (recommended), OK.

  [Method 2]: Windows Firewall entry added to the registry

  Warning: Serious issues may occur if the registry is modified correctly through Registry Editor or by other means. These issues may require you to reinstall your operating system. Microsoft cannot guarantee that these issues can be resolved. Modifications to the registry are at your own risk.

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

1. Copy the following text to Notepad, and then save the file as Sharedaccess.reg:

Windows Registry Editor Version 5.00

[-hkey_local_machine\system\currentcontrolset\services\sharedaccess]

[Hkey_local_machine\system\currentcontrolset\services\sharedaccess]

"Dependongroup" =hex (7): 00,00

"DependOnService" =hex (7): 4e,00,65,00,74,00,6d,00,61,00,6e,00,00,00,57,00,69,00,\

6e,00,4d,00,67,00,6d,00,74,00,00,00,00,00

"Description" = "provides network address translation, addressing, name resolution and/or intrusion prevention services for A home or small office network. "

"DisplayName" = "Windows firewall/internet Connection Sharing (ICS)"

"ErrorControl" =dword:00000001

"ImagePath" =hex (2): 25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\

74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\

00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\

6b,00,20,00,6e,00,65,00,74,00,73,00,76,00,63,00,73,00,00,00

"ObjectName" = "LocalSystem"

"Start" =dword:00000002

"Type" =dword:00000020

[Hkey_local_machine\system\currentcontrolset\services\sharedaccess\epoch]

"Epoch" =dword:00002cd0

[Hkey_local_machine\system\currentcontrolset\services\sharedaccess\parameters]

"ServiceDll" =hex (2): 25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\

00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\

69,00,70,00,6e,00,61,00,74,00,68,00,6c,00,70,00,2e,00,64,00,6c,00,6c,00,00,\

00

[Hkey_local_machine\system\currentcontrolset\services\sharedaccess\parameters\firewallpolicy]

[Hkey_local_machine\system\currentcontrolset\services\sharedaccess\parameters

\firewallpolicy\domainprofile]

[hkey_local_machine\system\currentcontrolset\services\sharedaccess\parameters\firewallpolicy\

Domainprofile\authorizedapplications]

[hkey_local_machine\system\currentcontrolset\services\sharedaccess\parameters\firewallpolicy\

Domainprofile\authorizedapplications\list]

"%windir%\\system32\\sessmgr.exe" = "%windir%\\system32\\sessmgr.exe:*:enabled:

@xpsp2res. dll,-22019 "

[hkey_local_machine\system\currentcontrolset\services\sharedaccess\parameters\firewallpolicy\

Standardprofile]

[hkey_local_machine\system\currentcontrolset\services\sharedaccess\parameters\firewallpolicy\

Standardprofile\authorizedapplications]

[hkey_local_machine\system\currentcontrolset\services\sharedaccess\parameters\firewallpolicy\

Standardprofile\authorizedapplications\list]

"%windir%\\system32\\sessmgr.exe" = "%windir%\\system32\\sessmgr.exe:*:enabled:

@xpsp2res. dll,-22019 "

[Hkey_local_machine\system\currentcontrolset\services\sharedaccess\setup]

"Serviceupgrade" =dword:00000001

[Hkey_local_machine\system\currentcontrolset\services\sharedaccess\setup

\interfacesunfirewalledatupdate]

"All" =dword:00000001

[Hkey_local_machine\system\currentcontrolset\services\sharedaccess\enum]

"0" = "root\\legacy_sharedaccess\\0000"

"Count" =dword:00000001

"Nextinstance" =dword:00000001

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, enter cmd, OK.

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

6. Click Start-Run, enter Firewall.cpl, OK.

7. Configure the settings with the Windows firewall you want to use.

If none of these methods work, please reinstall Windows XP SP3/2003/7 by changing the disk. AC qq2881064152

Windows Firewall does not open the processing method

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.