June 8, 2009

無法啟動Windows防火牆服務!?

發生的原因:

這個問題是 SharedAccess.reg 檔案遺失或損毀所造成的。 在 SharedAccess.reg 檔案將代表您,「 Windows 防火牆 」 服務。



請注意 Windows XP SP2 中的 Windows 防火牆服務,會取代舊版 Windows XP 中的網際網路連線防火牆 (ICF) 服務。

解決方案:
方法 1: 會呼叫以安裝 「 Windows 防火牆安裝 API \ communic.函式
如果要安裝 [Windows 防火牆],請依照下列步驟執行]:
1.按一下 [開始] ,再按一下 [執行] ,輸入 cmd ,然後再按一下 [確定] 。
2.在命令提示字元中,請輸入下面的命令列,並按下 ENTER]:
Rundll32 setupapi、 \ communic.Ndi-Steelhead 132 %windir%\inf\netrass.inf
3.重新啟動 Windows,
4.按一下 [開始] ,再按一下 [執行] ,輸入 cmd ,然後再按一下 [確定] 。
5.在命令提示字元中,請輸入在下列的命令,並按下 ENTER]:
Netsh 防火牆重新設定
6.按一下 [開始] ,再按一下 [執行] ,輸入 firewall.cpl ,並按下 ENTER 。 在 [ Windows 防火牆 ] 對話方塊中,按一下 開啟 (建議選項) ,再按一下 [確定] 。
方法 2: 將 Windows 防火牆 」 的項目加入登錄
重要事項 這個區段 」、 「 方法或 「 工作會包含步驟,告訴您如何修改登錄。 不過,如果您修改登錄不正確,便可能會發生嚴重的問題。 因此,請確定您執行這些步驟小心。 要加入保護,備份登錄之前,您可以修改它。 然後,您可以在發生問題時還原登錄。 如需有關備份及還原登錄,請按一下下面的文件編號,,檢視 「 Microsoft 知識庫 」 中的文件]:

322756 (http://support.microsoft.com/kb/322756/ ) 如何備份] 及 [還原在 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\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連按兩下 Sharedaccess.reg 來合併這個檔案的內容至登錄並建立 [Windows 防火牆 」 的項目。

1.連按兩下 Sharedaccess.reg 來合併這個檔案的內容至登錄並建立 [Windows 防火牆 」 的項目。
2.重新啟動 Windows。
3.按一下 [開始] ,再按一下 [執行] ,輸入 cmd ,然後再按一下 [確定] 。
4.在命令提示字元中,請輸入在下列的命令,並按下 ENTER]:
Netsh 防火牆重新設定
5.按一下 [開始] ,再按一下 [執行] ,輸入 firewall.cpl ,然後再按一下 [確定] 。
6.設定您要使用的 Windows 防火牆設定。
如果這些方法沒有作用,重新安裝 Windows XP SP2。

0推薦此文章
Today's Visitors: 0 Total Visitors: 216
Personal Category: 好用軟體這樣玩 Topic: technology / network / information security
Previous in This Category: 關閉開機後自動執行的程式  
歷史上的今天:
[Trackback URL]

Reply
  • 1樓

    1樓搶頭香

    Sealed

  • Sealed at June 12, 2009 03:41 PM comment
  • Sealed

  • Blog Owner at June 13, 2009 05:32 AM Reply
  • 2樓

    2樓頸推

    Sealed

  • Sealed at June 13, 2009 04:57 PM comment
  • Sealed

  • Blog Owner at June 13, 2009 11:14 PM Reply
Post A Comment









Yes No



Please input the magic number:

( Prevent the annoy garbage messages )
( What if you cannot see the numbers? )
Please input the magic number

誰來收藏
Loading ...
unlog_NVPO 0