Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

解決安裝補丁報「無法驗證 update.inf 完整性」:加密服務與 catroot2 重建雙方案

編輯:XP 系統基礎知識

錯誤訊息

安裝 KB 修補程式/Service Pack 時彈出:
「安裝程式遇到錯誤:無法驗證 update.inf 檔案的完整性。請確定加密服務正在執行。」

方案一:啟用加密服務(標準修復)

  1. 控制台 → 「管理工具」→ 「服務」。
  2. 找到 Cryptographic Services (加密服務)。
  3. 雙擊 → 「啟動類型」改為 自動 → 「啟動」 → 確定。
  4. 重新執行補丁安裝。

注意: Win2000 服務清單中無此服務,此法僅適用 XP/Server 2003+。

方案二:安全模式重建 catroot2 資料庫(根治)

  1. 重啟進入 安全模式 (開機連按 F8)。
  2. Win+R → cmd。
  3. 依序執行:
    net stop cryptsvc
    ren %systemroot%\system32\catroot2 oldcatroot2
    net start cryptsvc
    exit
  4. 重啟進入正常模式,再次安裝補丁,驗證通過。

原理

catroot2 存放系統檔案目錄簽章資料庫。資料庫損壞導致加密服務無法驗證 update.inf 的數位簽章。重命名舊資料庫強制服務重建新的乾淨資料庫,徹底解決驗證失敗。

適用場景

  • 方案一:服務被誤停用/設為手動未啟動。
  • 方案二:catroot2 資料庫損壞(病毒、磁碟錯誤、不當清理工具導致)。
Copyright © Windows教程網 All Rights Reserved