Windows Update 過程中遭遇錯誤代碼(0x800A138F、0x800C0008、0xC00CE55F、ERROR 643、ERROR 126、Cryptographic Service Error 等)屬常見情況。本文彙整微軟官方與社群實測有效的修復流程,按錯誤類型分類說明。
services.msc → 找到 Cryptographic Services → 「啟動類型」設為「自動」→「啟動」。enable RPCSS Service_Auto_Start。net stop cryptsvc
ren c:\windows\system32\catroot2 oldcatroot2
net start cryptsvc
若刪除失敗,進入安全模式刪除 catroot2 內所有檔案。
下載並安裝 KB817287(針對 Cryptographic Service 更新失敗)。
del /q c:\windows\system32\catroot2\edb.log
刪除更新記錄檔,讓系統重建,再執行 Windows Update。
C:\Windows\System32\catroot2 內所有檔案。I386 目錄複製 Cryptui.dll、Certcli.dll 覆蓋 System32 同名檔。regsvr32 /u softpub.dll wintrust.dll initpki.dll dssenh.dll rsaenh.dll gpkcsp.dll sccbase.dll slbcsp.dll cryptdlg.dllregsvr32 同組 DLL(不加 /u)重新註冊。C:\Program Files\WindowsUpdate 及 V4 子目錄所有檔案。Hosts 檔(XP: C:\WINDOWS\SYSTEM32\DRIVERS\etc\hosts),刪除含 Akamai、Microsoft 字樣的行。C:\WUTemp 目錄下的更新檔(.exe/.cab)。WUTemp 資料夾與 C:\Program Files\WindowsUpdate\wuhistv3.log,重新執行 Windows Update。C:\Windows\system32\inf,右鍵 IE.inf 選「安裝」。Asycfilt.dll、Oleaut32.dll、Olepro32.dll、Stdole2.tlb 複製至 C:\,執行修復程式,重開機後再複製回 System32 覆蓋。
圖 1:Cryptographic Services 設為自動啟動

圖 2:下載停滯時的介面