1. Firewall Configuration Error
Start --> Run --> Gpedit. MSC
The group policy is enabled.
Hierarchical display on the left
Computer Configuration --> management template --> Network --> Network connection --> Windows Firewall
Then, below are some options for force group policy restriction.
Find the configuration you need Definition To enable and then Set Back to "not configured ".
(Some Software Changed Registry , Sometimes it cannot be displayed in the Group Policy. It may still be not configured after the Group Policy is changed, so you need to configure it and then configure it back)
2. Security Center closed
The option for enabling the firewall turns gray and cannot be enabled. The prompt "due to security concerns, some settings are controlled by group policies" is displayed"
Run services. MSC to open "service"
Set security center Automatic And enabled.
Set Windows Firewall/Internet Connection Sharing (ICS) to automatic and enabled.
Set Application Layer Gateway Service to automatic and enable.
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)
Restart Windows Firewall/Internet Connection Sharing (ICS) in the service)
If you continue to prompt "some settings are controlled by group policies due to security considerations", the usage will not be affected.
III, System File Lost
The sharedaccess. reg file is lost or Damaged The sharedaccess. reg file represents the Windows Firewall Service.
Note: The Windows Firewall Service replaces Windows XP SP2 with the Internet Connection Firewall (ICF) service in earlier Windows XP versions.
Yes Solution To solve this problem, 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 and press Enter:
Rundll32 setupapi, installhinfsection NDI-Steelhead 132% WINDIR % \ INF \ netrass. inf
3. restart the computer
4. Click Start-run (shortcut: Windows + r), Enter cmd, and click OK.
5. At the command prompt, type the following command: netsh firewall reset and press Enter.
6. Click Start-run, enter firewall. CPL, and press Enter.
7. In the Windows Firewall dialog box, click on (recommended) to confirm.
[Method 2]: add the Windows Firewall entry to the Registry
Warning if the registry is correctly modified, serious may occur through the Registry Editor or other methods. These problems may require you to reinstall the operating system. Microsoft cannot resolve these problems. You are at your own risk to modify the registry.
To add a Windows Firewall entry to the Registry, follow these steps:
1. Copy the following text to notepad and 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
"Dependonservice" = hex (7): 4E, 00, 00, 6d, 00, 6e, 69, 00 ,\
6e, 00, 4D, 00, 6d, 00, 00
"Description" = "rovides 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, 00, 00, 6d, 00, 6f, 00, 6f, 00 ,\
, 00, 5C, 79, 00, 00, 00, 6d, 00, 00, 5C ,\
, 00, 6f, 00, 00, 2e, 78, 20, 00, 2d, 00 ,\
6b, 00, 6e, 00, 00, 00
"Objectname" = "LocalSystem"
"Start" = DWORD: 00000002
"Type" = DWORD: 00000020
[HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ sharedaccess \ epoch]
"Epoch" = DWORD: 1272cd0
[HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ sharedaccess \ Parameters]
"Servicedll" = hex (2): 25, 00, 53,00, 79,00, 00, 00, 6d, 00, 6f, 00, 6f ,\
, 25, 00, 5C, 00, 65, 00, 6d, 00, 00, 5C, 00 ,\
69, 00, 70, 00, 6e, 74, 00, 00, 6C, 00, 00, 2e, 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: *: enabledxpsp2res. 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: *: enabledxpsp2res. 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, and click OK.
5. At the command prompt, type the following command: netsh firewall reset and press Enter.
6. Click Start-run, enter firewall. CPL, and click OK.
7. Configure and use Windows Firewall settings.
If none of these methods work, change the disk to reinstall Windows XP.