Windows Firewall cannot be started

Source: Internet
Author: User

Windows Firewall cannot be started to solve the problem of releasing an image of the system disk on the Internet. If no virus is found, the system is carved into a disc, and the old machine in the house is redone to the system, which is very slow, it seems that the disk is not clean. After the virus is killed, it is found that the firewall cannot be turned on. I have never encountered this problem before, so I searched the internet for a solution and sorted it out as follows. 1. Firewall Configuration Error start --> Run --> gpedit. msc then, the Group Policy is turned on, and the computer configuration is displayed on the left --> management template --> network connection --> Windows Firewall. Below are some options for force restriction of the Group Policy. the configuration you need is defined as enable and then set back to "not configured" (some software changes the registry, sometimes it cannot be displayed in the Group Policy, and the Group Policy may not be configured after the change, so you need to configure it and then configure it back) 2. The option for enabling the security center disabled firewall becomes gray and cannot be enabled. The prompt "due to security concerns, some settings are controlled by group policies" www.2cto.com is prompted to run services. msc enables "service" to set Security Center to automatic and enable. 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 loss because 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. 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. Www.2cto.com [method 2]: add the Windows Firewall entry to the Registry warning: if the registry is modified correctly, the Serious problem 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 ): "DependOnService" = hex (7): 4e, 00, 6d, 00, 6e, 00, \ 6e, 00, 4d, 00, 6d, 00, 00, 00 "Description" = "Provides network add Ress 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,, 6d, 00, 6f, 00, 6f, 00, \, 25, 00, 5c, 6d,, 33, 00, 5c, \, 68, 00, 6f, 0, 00, 2e, 78, 20, 00, 2d, 00, \ 6b, 00, 6e, 00000002, 63, 00, 00 "ObjectName" = "LocalSystem" "Start" = dword: "Type" = dword: 00000020 www.2cto.com [HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ SharedAccess \ Epoch] "Epoch" = dword: 20172cd0 [HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ SharedAccess \ Parameters] "ServiceDll" = hex (2): 25, 00, 5 3,00, 79,00, 6d, 00, 00, 6f, 00, 6f, \, 00, 00, 5c,, 65, 00, 6d, 32, 00, 5c, 00, \ 69,00, 70, 00, 6e, 68, 00, 6c, 00, 00, 00, 2e,, 64, 00, 6c, 00, 6c, \ 00 [HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ SharedAccess \ Parameters \ FirewallPolicy] [HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ SharedAccess \ Parameters \ FirewallPolicy \ Doma InProfile] [Alibaba \ 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 \ SYST EM \ CurrentControlSet \ Services \ SharedAccess \ Parameters \ FirewallPolicy \ StandardProfile] [Parameters \ SYSTEM \ CurrentControlSet \ Services \ SharedAccess \ Parameters \ FirewallPolicy \ StandardProfile \ AuthorizedApplications] Parameters [HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ SharedAccess \ Parameters \ FirewallPolicy \ StandardProfile \ AuthorizedApplications \ List] "% windir % \ system32 \ sessmgr. ex E "=" % 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_SHAREDACCE SS \ 0000 "" Count "= dword: 00000001" NextInstance "= dword: 00000001 www.2cto.com 2. Double-click Sharedaccess. reg to merge the contents of this file into the registry to create a firewall item. 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 SP2. Author 409304740

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.