安装更新与部署

排查 Windows 更新中的错误 0x80070BC9 - Windows Server

· 52CE 我爱测

适用于:✔️ Windows VM 概要 当操作系统卡在待处理的维护状态,且 TrustedInstaller 服务由于 事务条目 文件夹中的损坏而无法清除此状态时,就会出现 Windows 更新 错误 0x80070BC9。 先决条件 对于在 Azure 中运行 Windows 的虚拟机(VM),请确保备份 OS 磁盘。 有关详细信息,请参阅 “关于 Azure 虚拟机还原(/zh-cn/azure/backup/about-azure-vm-resto

适用于:✔️ Windows VM

概要

当操作系统卡在待处理的维护状态,且 TrustedInstaller 服务由于 事务条目 文件夹中的损坏而无法清除此状态时,就会出现 Windows 更新 错误 0x80070BC9。

先决条件

对于在 Azure 中运行 Windows 的虚拟机(VM),请确保备份 OS 磁盘。 有关详细信息,请参阅 “关于 Azure 虚拟机还原”。

如何找出问题

检查位于 C:\Windows\Logs\CBS\CBS.log 的 CBS.log 文件中是否有表明此错误(0x80070BC9)的条目,如下所示:

2025-04-02 07:15:53, Info  CBS    Session: 31171520_2564643148 initialized by client DISM Package Manager Provider.
2025-04-02 07:15:53, Info  CBS    Enumerating Foundation package: Microsoft-Windows-ServerCore-Package~31bf3856ad364e35~amd64~~6.2.9200.16384, this could be slow
2025-04-02 07:15:55, Info  CSI    00000003 CSI Store 616570675040 (0x0000008f8e79df60) initialized
2025-04-02 07:15:55, Info  CSI    00000004 Transaction merge required, do-not-merge flag passed.
2025-04-02 07:15:55, Info  CSI    00000005@2025/4/2:11:15:55.656 CSI Transaction @0x8f8fa30210 initialized for deployment engine {d16d444c-56d8-11d5-882d-0080c847b195} with flags 00000002 and client id [26]"TI5.31171520_2564643148:1/"
2025-04-02 07:15:55, Info  CSI    00000006 Pending transaction content must be resolved, cannot begin another transaction yet
2025-04-02 07:15:55, Info  CBS    <span style="color:red"><b>Failed to get transaction analysis because of pending operations. Disposition from Analyze: 0x1 [HRESULT = 0x80070bc9 - ERROR_FAIL_REBOOT_REQUIRED]</b></span>
2025-04-02 07:15:55, Info  CBS    Failed to get inventory. [HRESULT = 0x80070bc9 - ERROR_FAIL_REBOOT_REQUIRED]
2025-04-02 07:15:55, Info  CSI    00000007@2025/4/2:11:15:55.658 CSI Transaction @0x8f8fa30210 destroyed
2025-04-02 07:15:55, Info  CBS    <span style="color:red"><b>Failed to get CSI Inventory [HRESULT = 0x80070bc9 - ERROR_FAIL_REBOOT_REQUIRED]</b></span>
2025-04-02 07:15:55, Info  CBS    Failed to get component state. [HRESULT = 0x80070bc9 - ERROR_FAIL_REBOOT_REQUIRED]
2025-04-02 07:15:55, Info  CBS    Failed to get current state of the deployment [HRESULT = 0x80070bc9 - ERROR_FAIL_REBOOT_REQUIRED]
2025-04-02 07:15:55, Info  CBS    <span style="color:red"><b>Failed to get Transaction State for package: Microsoft-Windows-NetFx3-Server-OC-Package~31bf3856ad364e35~amd64~~6.2.9200.16384, update: NetFx3 [HRESULT = 0x80070bc9 - ERROR_FAIL_REBOOT_REQUIRED]</b></span>
2025-04-02 07:15:55, Error CBS    Failed to get store state [HRESULT = 0x80070bc9 - ERROR_FAIL_REBOOT_REQUIRED]
2025-04-02 07:17:55, Info  CBS    Trusted Installer successfully registered to be restarted for pre-shutdown
2025-04-02 07:17:55, Info  CBS    Trusted Installer is shutting down because: SHUTDOWN_REASON_AUTOSTOP
2025-04-02 07:17:55, Info  CBS    Stopping Winlogon CreateSession notifications
2025-04-02 07:17:55, Info  CBS    Unloading SysNotify DLL

根源

发生此错误的原因是 OS 处于挂起的服务状态,TrustedInstaller 服务由于 事务条目 文件夹中的损坏而无法清除此错误。 此损坏可防止更新安装完成,并且需要系统重新启动才能回滚更改。

决议

对于基于 Windows 的计算机,请执行 就地升级。

有关在 Azure 中运行 Windows 的 VM,请参阅 Windows 虚拟机上的就地升级。

资料来源与适用范围

资料来源
微软官方中文故障文档
适用范围
适用于:✔️ Windows VM
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-10-26
授权说明
CC BY 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。