你试一下这里 肯定有用 我以前也有过跟一样的毛病 我就是用了下面那个注册表后来又有用了 给不给分无所谓 但这个是真的有用 不骗你
点开始-设置-控制面板-安全中心-windows防火墙 无法启动windows防火墙设置
检查windows XP的Application Layer Gateway Service 服务是正确的
我的电脑右键管理→服务和应用程序→服务,找到Security Center. 是正确的
运行“gpedit.msc”命令打开组策略编辑器,依次展开“计算机配置→管理模板→网络连接→Windows防火墙” –服务是正确的
运行“services.msc”找到Windows Firewall/Internet Connection Sharing服务启用并为自动。
还是不行,我估计是系统的什么地方给破坏了,晕!!可能只剩下注册表的问题了.
急上摆渡,费了好大工夫终于找到解决的方法,是注册表的问题.(虽然有时我们为了避免有些杀毒软件的防火墙和Windows防火墙冲突,而关了Windows防火墙,可是这次我可没关啊,所以问题只好要想办法解决了,呵呵)
去了search.support.microsoft.com看见以下是微软为不懂英语的用户提供的,
以使他们能够理解这些文章的内容—-无法启动 Windows XPSP 2 中 Windows 防火墙服务:
1.在 服务 列表控制面板中不显示 Windows 防火墙 / Internet 连接共享 (ICS) 。
2.在 服务 列表, 显示 Windows 防火墙 / Internet 连接共享 (ICS) 但无法启动此服务
3.当您尝试访问 Windows 防火墙设置收到以下错误信息:
由于对一个识别问题, Windows 无法显示 Windows 防火墙设置。
原文地址:http://search.support.microsoft.com/?scid=kb;zh-cn;920074
我查看后发现只要制作Sharedaccess.reg 后导入-重启–Windows防火墙马上可以开启了!!
要将 Windows 防火墙项添加到注册表, 请按照下列步骤操作:
1. 将以下文本复制到记事本, 然后再保存文件作为 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\AuthorizedApp
lications]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\DomainProfile\AuthorizedApp
lications\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\AuthorizedA
pplications]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedA
pplications\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. 双击 Sharedaccess.reg 将此文件的内容合并到注册表并可创建防火墙项。
3. 重新启动 Windows。
OK!Windows防火墙可以开启了!
来源URL:http://zhidao.baidu.com/question/106146107.html?qbl=relate_question_2&optimi=4