萬盛學電腦網

您现在的位置: 萬盛學電腦網 >> 電腦故障排除 >  >> 系統故障

從容應對 Windows Update 失敗:常見錯誤代碼與修復步驟

前言

Windows Update 過程中遭遇錯誤代碼(0x800A138F、0x800C0008、0xC00CE55F、ERROR 643、ERROR 126、Cryptographic Service Error 等)屬常見情況。本文彙整微軟官方與社群實測有效的修復流程,按錯誤類型分類說明。

一、Cryptographic Service Error(安裝 SP1 或一般更新時)

步驟 1:確認 Cryptographic Services 與 RPC 服務啟動

  1. services.msc → 找到 Cryptographic Services → 「啟動類型」設為「自動」→「啟動」。
  2. 若 RPC (Remote Procedure Call) 未啟動,同樣設為自動並啟動。若服務管理員無法啟動,用安裝光碟進入修復主控台執行 enable RPCSS Service_Auto_Start。

步驟 2:重建 Catroot2 資料夾

net stop cryptsvc
ren c:\windows\system32\catroot2 oldcatroot2
net start cryptsvc

若刪除失敗,進入安全模式刪除 catroot2 內所有檔案。

步驟 3:套用官方修補程式

下載並安裝 KB817287(針對 Cryptographic Service 更新失敗)。

二、ERROR 643 / ERROR 126(找不到指定模組)

ERROR 643

del /q c:\windows\system32\catroot2\edb.log

刪除更新記錄檔,讓系統重建,再執行 Windows Update。

ERROR 126

  1. 刪除 C:\Windows\System32\catroot2 內所有檔案。
  2. 若無效,從安裝光碟 I386 目錄複製 Cryptui.dll、Certcli.dll 覆蓋 System32 同名檔。
  3. 仍失敗則批次重新註冊核心 DLL:
    regsvr32 /u softpub.dll wintrust.dll initpki.dll dssenh.dll rsaenh.dll gpkcsp.dll sccbase.dll slbcsp.dll cryptdlg.dll
    重開機後再執行 regsvr32 同組 DLL(不加 /u)重新註冊。

三、0x800A138F、0x800C0008、0xC00CE55F 等 XML/SSL 錯誤

  1. 清空 IE 暫存檔與 Cookie。
  2. IE「網際網路選項」→「安全性」暫設「低」;「內容」→「清除 SSL 狀態」、「清除表單」、「清除密碼」。
  3. 「進階」→ 勾選「使用 SSL 2.0」、「使用 SSL 3.0」,取消「檢查伺服器憑證撤銷」。
  4. 確認系統時間正確、防火牆開放 443 埠。
  5. 刪除 C:\Program Files\WindowsUpdate 及 V4 子目錄所有檔案。
  6. 確認 IE 為 128 位元加密(IE「關於」視窗查看),否則重裝 IE。
  7. 檢查 Hosts 檔(XP: C:\WINDOWS\SYSTEM32\DRIVERS\etc\hosts),刪除含 Akamai、Microsoft 字樣的行。

四、下載卡住/斷電後重複提示已下載

  1. 手動安裝 C:\WUTemp 目錄下的更新檔(.exe/.cab)。
  2. 若無效,刪除 WUTemp 資料夾與 C:\Program Files\WindowsUpdate\wuhistv3.log,重新執行 Windows Update。

五、IE.inf 註冊修復(通用終極招)

  1. 開啟隱藏資料夾 C:\Windows\system32\inf,右鍵 IE.inf 選「安裝」。
  2. 若仍失效,下載 mcrepair.exe,將 Asycfilt.dll、Oleaut32.dll、Olepro32.dll、Stdole2.tlb 複製至 C:\,執行修復程式,重開機後再複製回 System32 覆蓋。

圖示說明

Cryptographic Services 服務屬性設定
圖 1:Cryptographic Services 設為自動啟動

Windows Update 下載卡住
圖 2:下載停滯時的介面

copyright © 萬盛學電腦網 all rights reserved