Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows Server 系統教學 >> Server 2008

解決 Windows Server 2008 R2 無法安裝 SP1 或更新補丁 (錯誤 0x80070005 拒絕存取)

編輯:Server 2008

錯誤現象

安裝 SP1 或 Windows Update 時失敗,事件檢視器記錄:

Catalog Database (1132) 由於系統錯誤 5 (0x00000005): "拒絕存取",
打開檔案 "C:\Windows\system32\CatRoot2\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\catdb" 讀/寫失敗。

根本原因

C:\Windows\System32\catroot2 目錄權限不足,導致系統無法寫入編目資料庫,特別是 CryptSvc 服務帳戶缺乏完整控制權限。

解決方法

  1. 以管理員身分開啟命令提示字元。
  2. 給予 C:\ 根目錄 Users 群組讀取權限 (僅根目錄,不需傳遞給子目錄):
    icacls C:\ /grant Users:R
  3. 對 C:\Windows\System32\catroot2 目錄遞歸套用完整權限,確保 CryptSvc 擁有完全控制:
    icacls "C:\Windows\System32\catroot2" /grant "NT SERVICE\CryptSvc":F /t
    或透過圖形介面:右鍵屬性→安全性→編輯→新增「CryptSvc」→完全控制→勾選「取代所有子物件權限」。
  4. 重啟電腦後再次嘗試安裝 SP1 或更新。

注意:修改系統目錄權限有風險,操作前建議備份系統或建立還原點。

Copyright © Windows教程網 All Rights Reserved