Windows can't display the solution of windows firewall settings

  
                  

When I checked the server for a client today, I found that the Windows Firewall could not be opened, and the following error message was displayed:

Windows cannot display Windows Firewall settings due to unrecognizable problems


Go online to find a way, computer software and hardware application network (http://www.45it.com.cn) tells you to import the following registry file and restart the system will be good.

1. Copy the following text into "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,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,7 6,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\\D omainProfile\\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]
< BR>[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 incorporate the contents of this file into the registry. And create a Windows Firewall registry key.

3. Restart Windows.

4. Click Start, click Run, type cmd, and then click OK.

5. At the command prompt, type the following command and press Enter:
Netsh firewall reset
6. Click Start, click Run, type firewall.cpl, and then Click "OK."


In general, the import registry is restored after restarting. The following is Microsoft's official reference material:

http://support.microsoft.com/?scid=kb;zh-cn;920074

Copyright © Windows knowledge All Rights Reserved