网管程序员论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3713|回复: 2

[windows系统] 由于不可识别问题,windows无法显示windows防火墙设置!请问如何解决?

[复制链接]
发表于 2013-1-24 13:15:43 | 显示全部楼层 |阅读模式
系统:windows server 2003 sp2

开启防火墙的时候提示:由于不可识别问题,windows无法显示windows防火墙设置

ping任何网站IP都能通,百度一会能开一会不能开,防火墙无法开启

想知道如何才能解决,之前一直都是正常的,就这几天出现的
发表于 2013-1-24 13:18:35 | 显示全部楼层
  要解决此问题,请使用下列方法之一。

  方法 1:调用“Setup API InstallHinfSection”函数以安装 Windows 防火墙

  要安装 Windows 防火墙,请按照下列步骤操作:

  1、单击“开始”,单击“运行”,键入 cmd,然后单击“确定”。

  2、在命令提示符处,键入下面的命令行,然后按 Enter:

  Rundll32 setupapi,InstallHinfSection Ndi-Steelhead 132 %windir%\inf\netrass.inf

  3、重新启动 Windows。

  4、单击“开始”,单击“运行”,键入 cmd,然后单击“确定”。

  5、在命令提示符处,键入以下命令并按 Enter:

  Netsh firewall reset

  6、单击“开始”,单击“运行”,键入 firewall.cpl,然后按 Enter。在“Windows 防火墙”对话框中,单击“启用(推荐)”,然后单击“确定”。

  方法 2:将 Windows 防火墙项添加到注册表

  警告:如果使用注册表编辑器或其他方法错误地修改了注册表,则可能会出现严重问题。这些问题可能需要重新安装操作系统才能解决。Microsoft 不能保证可以解决这些问题。修改注册表需要您自担风险。

  要将 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\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、双击“Sharedaccess.reg”以将此文件的内容并入到注册表中,并创建 Windows 防火墙注册表项。

  3、重新启动 Windows。

  4、单击“开始”,单击“运行”,键入 cmd,然后单击“确定”。

  5、在命令提示符处,键入以下命令并按 Enter:

  Netsh firewall reset

  6、单击“开始”,单击“运行”,键入 firewall.cpl,然后单击“确定”。

  7、配置要使用的 Windows 防火墙设置。

  如果上述方法不起作用,请重新安装 Windows 2003
发表于 2013-1-24 13:22:06 | 显示全部楼层
本帖最后由 xinxin 于 2013-1-24 13:23 编辑

安全中心不可用:http://answers.microsoft.com/zh-hans/windows/forum/windows_xp-security/无security-center服务/9b7226f1-4155-e011-8dfc-68b599b31bf5?msgId=860aa124-305c-e011-8dfc-68b599b31bf5

如果在服务中连安全中心服务都无法找到的话,很有可能是对应的键值已经被清除或者损坏。

请将下面的代码复制到文本文档中,并将后缀名.txt改为.reg,双击该文件导入注册表键值,来尝试修复这个问题。

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wscsvc]
"Type"=dword:00000020
"Start"=dword:00000002
"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,53,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
"DisplayName"="Security Center"
"DependOnService"=hex(7):52,00,70,00,63,00,53,00,73,00,00,00,77,00,69,00,6e,00,\
  6d,00,67,00,6d,00,74,00,00,00,00,00
"ObjectName"="LocalSystem"
"Description"="监视系统安全设置和配置。"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wscsvc\Parameters]
"ServiceDll"=hex(2):25,00,53,00,59,00,53,00,54,00,45,00,4d,00,52,00,4f,00,4f,\
  00,54,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
  77,00,73,00,63,00,73,00,76,00,63,00,2e,00,64,00,6c,00,6c,00,00,00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wscsvc\Security]
"Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\
  00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\
  00,00,02,00,60,00,04,00,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,\
  05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\
  20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,0b,00,00,00,00,\
  00,18,00,fd,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,23,02,00,00,01,01,\
  00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wscsvc\Enum]
"0"="Root\\LEGACY_WSCSVC\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|小黑屋|手机版|Archiver|最新更新|网管程序员社区 鄂ICP备11008024号-3

GMT+8, 2019-9-19 23:11 , Processed in 0.124800 second(s), 21 queries .

Powered by 网管论坛

© 2001-2018 www.027safe.com Inc.

快速回复 返回顶部 返回列表