首页 > 用户投稿

windous防火墙打不开怎么办 防火墙打不开解决方法【详解】

  windous防火墙打不开怎么办?windous键盘打不开解决方法。

  一、防火墙配置出错

  开始--由于安全考虑,某些设置由组策略控制

  运行services.msc打开服务

windous防火墙打不开怎么办 防火墙打不开解决方法【详解】

  将securitycenter设为自动,并且启用。

  将windowsfirewall/internetconnectionsharing(ics)设为自动并且启用。

  将applicationlayergatewayservice设为自动并且启用。

  如果仍然不能启用防火墙,执行以下步骤:

  运行regedit.exe打开注册表,删除下面两项:

  hkey_local_machinesoftwarepoliciesmicrosoftwindowsfirewall

  hkey_current_usersoftwarepoliciesmicrosoftwindowsfirewall

  (至少能找到一项)

  在服务中重启windowsfirewall/internetconnectionsharing(ics)

  如果继续提示由于安全考虑,某些设置由组策略控制,不会影响使用。

 三、系统文件丢失

  由于sharedaccess.reg文件丢失或损坏,sharedaccess.reg文件代表了windows防火墙服务。

注意:windows防火墙服务在windowsxpsp2替换在早期版本的windowsxp中internet连接防火墙(icf)服务。

  要解决此问题,使用下列方法之一。

[方法1]:调用安装apiinstallhinfsection函数以安装windows防火墙

要安装windows防火墙,请按照下列步骤:

  1.单击开始,单击运行,类型cmd然后单击确定。

  2.在命令提示符下,键入以下命令行,回车:

  rundll32setupapi,installhinfsectionndi-steelhead132%windir%infnetrass.inf

  3.重新启动计算机

  4.单击开始-运行(快捷键windows+r),输入cmd,确定。

  5.在命令提示符,键入以下命令:netshfirewallreset,回车。

  6.单击开始-运行,输入firewall.cpl,回车。

  7.在windows防火墙对话框中单击on(推荐),确定。

 [方法2]:windows防火墙项添加到注册表

 警告:如果正确修改注册表通过注册表编辑器或通过其他方法可能发生serious问题。这些问题可能需要重新安装操作系统。microsoft不能保证能够解决这些问题。修改注册表需要您自担风险。

 要将windows防火墙项添加到注册表,请按照下列步骤操作:

  1.将以下文本复制到记事本,然后保存文件为sharedaccess.reg:

  windowsregistryeditorversion5.00

  [-hkey_local_machinesystemcurrentcontrolsetservicessharedaccess]

  [hkey_local_machinesystemcurrentcontrolsetservicessharedaccess]

  "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"="providesnetworkaddresstranslation,addressing,nameresolutionand/orintrusionpreventionservicesforahomeorsmallofficenetwork."

  "displayname"="windowsfirewall/internetconnectionsharing(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_machinesystemcurrentcontrolsetservicessharedaccessepoch]

  "epoch"=dword:00002cd0

  [hkey_local_machinesystemcurrentcontrolsetservicessharedaccessparameters]

  "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,

  [hkey_local_machinesystemcurrentcontrolsetservicessharedaccessparametersfirewallpolicy]

  [hkey_local_machinesystemcurrentcontrolsetservicessharedaccessparameters

  firewallpolicydomainprofile]

  [hkey_local_machinesystemcurrentcontrolsetservicessharedaccessparametersfirewallpolicy

  domainprofileauthorizedapplications]

  [hkey_local_machinesystemcurrentcontrolsetservicessharedaccessparametersfirewallpolicy

  domainprofileauthorizedapplicationslist]

  "%windir%system32sessmgr.exe"="%windir%system32sessmgr.exe:*:enabled:

  @xpsp2res.dll,-22019"

  [hkey_local_machinesystemcurrentcontrolsetservicessharedaccessparametersfirewallpolicy

  standardprofile]

  [hkey_local_machinesystemcurrentcontrolsetservicessharedaccessparametersfirewallpolicy

  standardprofileauthorizedapplications]

  [hkey_local_machinesystemcurrentcontrolsetservicessharedaccessparametersfirewallpolicy

  standardprofileauthorizedapplicationslist]

  "%windir%system32sessmgr.exe"="%windir%system32sessmgr.exe:*:enabled:

  @xpsp2res.dll,-22019"

  [hkey_local_machinesystemcurrentcontrolsetservicessharedaccesssetup]

  "serviceupgrade"=dword:00000001

  [hkey_local_machinesystemcurrentcontrolsetservicessharedaccesssetup

  interfacesunfirewalledatupdate]

  "all"=dword:00000001

  [hkey_local_machinesystemcurrentcontrolsetservicessharedaccessenum]

  "0"="rootlegacy_sharedaccess000"

  "count"=dword:00000001

  "nextinstance"=dword:00000001

  2.双击sharedaccess.reg,将此文件的内容合并到注册表可创建防火墙项。

  3.重新启动windows。

  4.单击开始-运行,输入cmd,确定。

  5.在命令提示符,键入以下命令:netshfirewallreset,回车。

  6.单击开始-运行,输入firewall.cpl,确定。

  7.配置与要使用windows防火墙设置。

  如果这些方法都不起作用,请换张盘重新安装windowsxpsp3/2003/7。

原文标题:windous防火墙打不开怎么办 防火墙打不开解决方法【详解】,如若转载,请注明出处:https://www.scpenghao.com/tougao/3326.html
免责声明:此资讯系转载自合作媒体或互联网其它网站,「鹏皓网」登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述,文章内容仅供参考。