Windows 10 Pro 64 位版本 1607 无法安装 KB3176938,错误代码 0x800F0922

Windows 10 Pro 64 位版本 1607 无法安装 KB3176938,错误代码 0x800F0922

这是 Windows 10 Pro 64 位版本 1607 系统,Insider 版本处于慢速通道。几天前,它反复出现KB3176934同样的故障0x800F0922。我没有找到根本原因以及如何预防它。我的目的是找到其他有同样问题的人并找出解决方案。如果有人已经有解决方案 - 那就更好了。

查看 CBS 目录,从 2016 年 8 月 26 日KB3176934发生故障时开始,我看到一个 22GB (!) 的日志文件。似乎存在“某种”死锁:

...
2016-08-26 20:18:37, Info                  CBS    Session: 30539793_3012262845 initialized by client WindowsUpdateAgent, external staging directory: (null), external registry directory: (null
2016-08-26 20:18:37, Info                  CBS    Opened cabinet package, package directory: \\?\C:\WINDOWS\SoftwareDistribution\Download\3717a62e3772d26d381fa9aea49eed42\, sandbox location: \\?\C:\WINDOWS\SoftwareDistribution\Download\3717a62e3772d26d381fa9aea49eed42\, cabinet location: \\?\C:\WINDOWS\SoftwareDistribution\Download\3717a62e3772d26d381fa9aea49eed42\Windows10.0-KB3176934-x64-EXPRESS.cab, manifest location: \\?\C:\WINDOWS\SoftwareDistribution\Download\3717a62e3772d26d381fa9aea49eed42\update.mum
2016-08-26 20:18:37, Info                  DPX    Started DPX phase: Resume and Download Job
2016-08-26 20:18:37, Info                  DPX    Started DPX phase: Apply Deltas Provided In File
2016-08-26 20:18:37, Info                  DPX    Ended DPX phase: Apply Deltas Provided In File
2016-08-26 20:18:37, Info                  DPX    Started DPX phase: Apply Deltas Provided In File
2016-08-26 20:18:37, Info                  DPX    Ended DPX phase: Apply Deltas Provided In File
2016-08-26 20:18:37, Info                  DPX    CJob::Resume completed with status: 0x0
2016-08-26 20:18:37, Info                  DPX    Ended DPX phase: Resume and Download Job
2016-08-26 20:18:37, Info                  CBS    Exec: Asynchrous operation, session completes later
2016-08-26 20:18:37, Info                  CBS    Lock: Error found, inverse lock order, current lock held: CCbsExecutionCommunication, level: 130, lock attempted: CCbsWorkerQueue,  level: 60. This will lead to a potential deadlock
2016-08-26 20:18:37, Info                  CBS    Lock: Error found, inverse lock order, current lock held: CCbsExecutionCommunication, level: 130, lock attempted: CCbsWorkerQueue,  level: 60. This will lead to a potential deadlock
2016-08-26 20:18:37, Info                  CBS    Lock: Error found, inverse lock order, current lock held: CCbsSession, level: 66, lock attempted: CCbsWorkerQueue,  level: 60. This will lead to a potential deadlock
2016-08-26 20:18:37, Info                  CBS    Lock: Error found, inverse lock order, current lock held: CCbsExecutionCommunication, level: 130, lock attempted: CCbsWorkerQueue,  level: 60. This will lead to a potential deadlock
2016-08-26 20:18:37, Info                  CBS    Lock: Error found, inverse lock order, current lock held: CCbsSession, level: 66, lock attempted: CCbsWorkerQueue,  level: 60. This will lead to a potential deadlock
2016-08-26 20:18:37, Info                  CBS    Lock: Error found, inverse lock order, current lock held: CCbsExecutionCommunication, level: 130, lock attempted: CCbsWorkerQueue,  level: 60. This will lead to a potential deadlock
2016-08-26 20:18:37, Info                  CBS    Lock: Error found, inverse lock order, current lock held: CCbsExecutionCommunication, level: 130, lock attempted: CCbsWorkerQueue,  level: 60. This will lead to a potential deadlock
2016-08-26 20:18:37, Info                  CBS    Lock: Error found, inverse lock order, current lock held: CCbsSession, level: 66, lock attempted: CCbsWorkerQueue,  level: 60. This will lead to a potential deadlock
2016-08-26 20:18:37, Info                  CBS    Lock: Error found, inverse lock order, current lock held: CCbsExecutionCommunication, level: 130, lock attempted: CCbsWorkerQueue,  level: 60. This will lead to a potential deadlock
...

这种情况持续了一个多小时,占用了 22 GB 的空间——这真是一个小小的死锁!

2016年8月30日:

...
2016-08-30 15:16:03, Info                  CBS    Opened cabinet package, package directory: \\?\C:\WINDOWS\SoftwareDistribution\Download\3717a62e3772d26d381fa9aea49eed42\, sandbox location: \\?\C:\WINDOWS\SoftwareDistribution\Download\3717a62e3772d26d381fa9aea49eed42\, cabinet location: \\?\C:\WINDOWS\SoftwareDistribution\Download\3717a62e3772d26d381fa9aea49eed42\Windows10.0-KB3176934-x64-EXPRESS.cab, manifest location: \\?\C:\WINDOWS\SoftwareDistribution\Download\3717a62e3772d26d381fa9aea49eed42\update.mum
2016-08-30 15:16:03, Info                  DPX    Started DPX phase: Resume and Download Job
2016-08-30 15:16:03, Info                  DPX    Started DPX phase: Apply Deltas Provided In File
2016-08-30 15:16:03, Info                  DPX    Ended DPX phase: Apply Deltas Provided In File
2016-08-30 15:16:03, Info                  DPX    CJob::Resume completed with status: 0x0
2016-08-30 15:16:03, Info                  DPX    Ended DPX phase: Resume and Download Job
2016-08-30 15:16:03, Info                  DPX    Extraction of file: update.ses failed because it is not present in the container (\\?\C:\WINDOWS\SoftwareDistribution\Download\3717a62e3772d26d381fa9aea49eed42\Windows10.0-KB3176934-x64-EXPRESS.cab).
2016-08-30 15:16:03, Info                  DPX    DpxException hr=0x80070002 code=0x020109

2016-08-30 15:16:03,信息 CBS 无法添加要提取的文件:update.ses [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND] 2016-08-30 15:16:03,信息 DPX 已启动 DPX 阶段:恢复并下载作业

...发生多次并且...

...
2016-09-01 19:28:39, Info                  CBS    SQM: Package change report datapoints not populated because SQM is not initialized or not running online.
2016-09-01 19:28:39, Info                  CBS    Reporting package change completion for package: Package_for_KB3189031~31bf3856ad364e35~amd64~~10.0.1.0, current: Installed, original: Absent, target: Installed, status: 0x0, failure source: Not Applicable, failure details: "(null)", client id: WindowsUpdateAgent, initiated offline: False, execution sequence: 93, first merged sequence: 93, pending decision: PendingAvoided_DelayQueueSideStepped, primitive execution context: Interactive Flight: False
2016-09-01 19:28:39, Info                  CBS    The store corruption status report is incomplete. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2016-09-01 19:28:39, Info                  CBS    SQM: Package change report datapoints not populated because SQM is not initialized or not running online.
2016-09-01 19:28:39, Info                  CBS    FinalCommitPackagesState: Completed persisting state of packages
...

一大堆这样的:

...
2016-09-02 14:07:33, Info                  CSI    000006cf    One of the components setting this value is Microsoft-Windows-shell32, version 10.0.14393.103, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}

2016-09-02 14:07:33, Info                  CSI    000006d0    Previously seen component setting this value is Microsoft-Windows-shell32, version 10.0.14393.103, arch Host= amd64 Guest= x86, nonSxS, pkt {l:8 b:31bf3856ad364e35}

2016-09-02 14:07:33, Info                  CSI    000006d1 Warning - Overlap: Registry value collision found under key \REGISTRY\MACHINE\SOFTWARE\Classes\AllSyncRootObjects\shell\ErrorResolution\ for MultiSelectModel, only one component should set this value
...

这也许并不重要:

...
2016-09-02 14:07:58, Info                  CBS    Progress: UI message updated. Operation type: Update. Stage: 0 out of 0. Percent progress: 10.
2016-09-02 14:07:58, Info                  CBS            INSTALL index: 7, phase: 2, result 0, inf: input.inf
2016-09-02 14:07:58, Info                  CBS            INSTALL index: 8, phase: 2, result 0, inf: stornvme.inf
2016-09-02 14:07:58, Info                  CBS            INSTALL index: 9, phase: 2, result 0, inf: usbvideo.inf
2016-09-02 14:07:58, Info                  CBS            INSTALL index: 0, phase: 3, result 0, inf: acpi.inf
2016-09-02 14:07:58, Info                  CBS            INSTALL index: 1, phase: 3, result 0, inf: wnetvsc.inf
2016-09-02 14:07:58, Info                  CBS            INSTALL index: 2, phase: 3, result 0, inf: wstorvsp.inf
2016-09-02 14:07:58, Info                  CBS            INSTALL index: 3, phase: 3, result 0, inf: wvpcivsp.inf
2016-09-02 14:07:58, Info                  CBS            INSTALL index: 4, phase: 3, result 0, inf: BthLEEnum.inf
2016-09-02 14:07:58, Info                  CBS            INSTALL index: 5, phase: 3, result 0, inf: bth.inf
2016-09-02 14:07:58, Info                  CBS            INSTALL index: 6, phase: 3, result 0, inf: xinputhid.inf
2016-09-02 14:07:59, Info                  CBS            INSTALL index: 7, phase: 3, result 0, inf: input.inf
2016-09-02 14:07:59, Info                  CBS            INSTALL index: 8, phase: 3, result 0, inf: stornvme.inf
2016-09-02 14:07:59, Info                  CBS            INSTALL index: 9, phase: 3, result 0, inf: usbvideo.inf
2016-09-02 14:07:59, Info                  CBS    DriverUpdateInstallUpdates failed [HRESULT = 0x80070bc2 - ERROR_SUCCESS_REBOOT_REQUIRED]
2016-09-02 14:07:59, Info                  CBS    Doqe: System reboot required.
2016-09-02 14:07:59, Info                  CBS    Perf: Doqe: Install ended.
2016-09-02 14:07:59, Info                  CBS    Shtd: Non-critical driver operations completed successfully.
...

尝试一些S-1-5-80-1448039036-2013904622-3830678473-3382385916-2632875139系统中不存在的 sid。我们开始写入WER,看起来它本身就有问题:

...
2016-09-02 14:09:01, Info                  CSI    000002f4 Performing HKCU for sid: S-1-5-80-1448039036-2013904622-3830678473-3382385916-2632875139
2016-09-02 14:09:01, Error                 CSI    000002f5 (F) STATUS_OBJECT_NAME_NOT_FOUND #72233# from Windows::Rtl::SystemImplementation::DirectRegistryProvider::SysOpenKey(flg = (AllowAccessDenied), key = {provider=NULL, handle=0, name= ("null")}, da = (KEY_READ|KEY_WOW64_64KEY), oa = @0x46f1fbe60->OBJECT_ATTRIBUTES {s:48; rd:NULL; on:[78]'\Registry\USER\S-1-5-80-1448039036-2013904622-3830678473-3382385916-2632875139'; a:(OBJ_CASE_INSENSITIVE)}, disp = Unmapped disposition: 1864350776)[gle=0xd0000034]
2016-09-02 14:09:01, Error                 CSI    000002f6@2016/9/2:21:09:01.262 (F) onecore\base\wcp\sil\merged\ntu\ntsystem.cpp(5238): Error STATUS_OBJECT_NAME_NOT_FOUND originated in function Windows::Rtl::SystemImplementation::DirectRegistryProvider::SysOpenKey expression: (null) [gle=0x80004005]
2016-09-02 14:09:01, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CBS.log to WER report.
2016-09-02 14:09:01, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20160830221525.log to WER report.
2016-09-02 14:09:01, Info                  CBS    Startup: Changing logon timeout to a static timeout: 10800000
2016-09-02 14:09:01, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20160827053046.log to WER report.
2016-09-02 14:09:01, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20160827031613.log to WER report.
2016-09-02 14:09:01, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20160826035948.cab to WER report.
2016-09-02 14:09:01, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20160826022443.cab to WER report.
2016-09-02 14:09:01, Info                  CBS    Could not get active session for current session file logging [HRESULT = 0x80004003 - E_POINTER]
2016-09-02 14:09:01, Info                  CBS    Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2016-09-02 14:09:01, Error                 CSI    000002f7 (F) STATUS_OBJECT_NAME_NOT_FOUND #72232# from Windows::Rtl::SystemImplementation::DirectRegistryProvider::SysOpenKey(flg = 0, key = {provider=NULL, handle=0, name= ("null")}, da = (KEY_READ|KEY_WOW64_64KEY), oa = @0x46f1fbe60->OBJECT_ATTRIBUTES {s:48; rd:NULL; on:[78]'\Registry\USER\S-1-5-80-1448039036-2013904622-3830678473-3382385916-2632875139'; a:(OBJ_CASE_INSENSITIVE)}, disp = Unmapped disposition: 1864351756 [gle=0xd0000034]
2016-09-02 14:09:01, Error                 CSI    000002f8@2016/9/2:21:09:01.684 (F) onecore\base\wcp\sil\merged\ntu\ntsystem.cpp(5238): Error STATUS_OBJECT_NAME_NOT_FOUND originated in function Windows::Rtl::SystemImplementation::DirectRegistryProvider::SysOpenKey expression: (null)[gle=0x80004005]
2016-09-02 14:09:01, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CBS.log to WER report.
2016-09-02 14:09:01, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20160830221525.log to WER report.
2016-09-02 14:09:01, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20160827053046.log to WER report.
2016-09-02 14:09:01, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20160827031613.log to WER report.
2016-09-02 14:09:01, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20160826035948.cab to WER report.
2016-09-02 14:09:01, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20160826022443.cab to WER report.
2016-09-02 14:09:01, Info                  CBS    Could not get active session for current session file logging [HRESULT = 0x80004003 - E_POINTER]
2016-09-02 14:09:01, Info                  CBS    Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
...

似乎缺少这个会sid导致安装程序失败,这是事件日志中的最终错误代码0x800f0922 - CBS_E_INSTALLERS_FAILED::

...
2016-09-02 14:13:05, Error                 CBS    Startup: Failed to process advanced operation queue, startupPhase: 0.  A rollback transaction will be created. [HRESULT = 0x800f0922 - CBS_E_INSTALLERS_FAILED]
2016-09-02 14:13:05, Info                  CBS    Setting ExecuteState key to: CbsExecuteStateInitiateRollback | CbsExecuteStateFlagAdvancedInstallersFailed
2016-09-02 14:13:05, Info                  CBS    SetProgressMessage: progressMessageStage: -1, ExecuteState: CbsExecuteStateInitiateRollback | CbsExecuteStateFlagAdvancedInstallersFailed, SubStage: 0
2016-09-02 14:13:05, Info                  CBS    Progress: UI message updated. Operation type: Update. Stage: 1 out of 1. Rollback.
...

然后最近KB3176938我看到了类似的错误:

...
2016-09-02 16:15:33, Info                  DPX    Extraction of file: update.ses failed because it is not present in the container (\\?\C:\WINDOWS\SoftwareDistribution\Download\7dab6589581c4510df5e184be35f7c59\Windows10.0-KB3176938-x64-EXPRESS.cab).
2016-09-02 16:15:33, Info                  DPX    DpxException hr=0x80070002 code=0x020109
2016-09-02 16:15:33, Info                  CBS    Not able to add file to extract: update.ses [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2016-09-02 16:15:34, Info                  DPX    Started DPX phase: Resume and Download Job
...

疯狂

...
2016-09-02 19:05:26, Info                  CSI    000006d1 Warning - Overlap: Registry value collision found under key \REGISTRY\MACHINE\SOFTWARE\Classes\AllSyncRootObjects\shell\ErrorResolution\ for MultiSelectModel, only one component should set this value

2016-09-02 19:05:26, Info                  CSI    000006d2    One of the components setting this value is Microsoft-Windows-shell32, version 10.0.14393.103, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}

2016-09-02 19:05:26, Info                  CSI    000006d3    Previously seen component setting this value is Microsoft-Windows-shell32, version 10.0.14393.103, arch Host= amd64 Guest= x86, nonSxS, pkt {l:8 b:31bf3856ad364e35}
...

同样的非关键驾驶事故:

...
2016-09-02 19:05:39, Info                  CBS    Progress: UI message updated. Operation type: Update. Stage: 0 out of 0. Percent progress: 11.
2016-09-02 19:05:39, Info                  CBS            INSTALL index: 9, phase: 2, result 0, inf: usbvideo.inf
2016-09-02 19:05:39, Info                  CBS            INSTALL index: 0, phase: 3, result 0, inf: acpi.inf
2016-09-02 19:05:39, Info                  CBS            INSTALL index: 1, phase: 3, result 0, inf: wnetvsc.inf
2016-09-02 19:05:39, Info                  CBS            INSTALL index: 2, phase: 3, result 0, inf: wstorvsp.inf
2016-09-02 19:05:39, Info                  CBS            INSTALL index: 3, phase: 3, result 0, inf: wvpcivsp.inf
2016-09-02 19:05:39, Info                  CBS            INSTALL index: 4, phase: 3, result 0, inf: BthLEEnum.inf
2016-09-02 19:05:39, Info                  CBS            INSTALL index: 5, phase: 3, result 0, inf: bth.inf
2016-09-02 19:05:39, Info                  CBS            INSTALL index: 6, phase: 3, result 0, inf: xinputhid.inf
2016-09-02 19:05:40, Info                  CBS            INSTALL index: 7, phase: 3, result 0, inf: input.inf
2016-09-02 19:05:40, Info                  CBS            INSTALL index: 8, phase: 3, result 0, inf: stornvme.inf
2016-09-02 19:05:40, Info                  CBS            INSTALL index: 9, phase: 3, result 0, inf: usbvideo.inf
2016-09-02 19:05:40, Info                  CBS    DriverUpdateInstallUpdates failed [HRESULT = 0x80070bc2 - ERROR_SUCCESS_REBOOT_REQUIRED]
2016-09-02 19:05:40, Info                  CBS    Doqe: System reboot required.
2016-09-02 19:05:40, Info                  CBS    Perf: Doqe: Install ended.
2016-09-02 19:05:40, Info                  CBS    Shtd: Non-critical driver operations completed successfully.
...

似乎再次缺少这个sid导致了回滚:

...
2016-09-02 19:06:43, Info                  CSI    000002f4 Performing HKCU for sid: S-1-5-80-1448039036-2013904622-3830678473-3382385916-2632875139
2016-09-02 19:06:43, Error                 CSI    000002f5 (F) STATUS_OBJECT_NAME_NOT_FOUND #72233# from Windows::Rtl::SystemImplementation::DirectRegistryProvider::SysOpenKey(flg = (AllowAccessDenied), key = {provider=NULL, handle=0, name= ("null")}, da = (KEY_READ|KEY_WOW64_64KEY), oa = @0x649a27c4f0->OBJECT_ATTRIBUTES {s:48; rd:NULL; on:[78]'\Registry\USER\S-1-5-80-1448039036-2013904622-3830678473-3382385916-2632875139'; a:(OBJ_CASE_INSENSITIVE)}, disp = Unmapped disposition: 2586297032)[gle=0xd0000034]
2016-09-02 19:06:43, Error                 CSI    000002f6@2016/9/3:02:06:43.692 (F) onecore\base\wcp\sil\merged\ntu\ntsystem.cpp(5238): Error STATUS_OBJECT_NAME_NOT_FOUND originated in function Windows::Rtl::SystemImplementation::DirectRegistryProvider::SysOpenKey expression: (null) [gle=0x80004005]
...

因此,关键可能在于sid S-1-5-80-1448039036-2013904622-3830678473-3382385916-2632875139,但我通过网络搜索无法找到有关它的任何信息。

日志文件(CBS.zip): https://onedrive.live.com/?id=23A52F09515EBE7%216609&cid=023A52F09515EBE7

系统简介


下载了周年更新(Windows10Upgrade28084.exe),但它只显示一个带有退出按钮的空白对话框。

在此处输入图片描述

也许问题在于它KB3176938总是处于“已安装并需要重新启动”阶段,所以我无法安装其他东西?只是猜测……

手动下载文件后尝试强制安装 KB3176938 CAB


从手动下载的压缩包中手动安装 KB3176938 也失败了。我原本想从安全模式开始安装,但错误出现在安装过程结束时,计算机重新启动后再次进入几乎 100% 的进度。我觉得自己陷入了 22 级困境。首先,我想阻止 Windows 更新强制执行此更新。


请参阅答案。修复后,Windows10_InsiderPreview_Client_x64_en-us_14393.iso我获得了 KB3176934 和其他几个更新。现在似乎运行良好。回想起来,也许在某个时候我做了(或系统提供了?)周年更新?对于 Insider Win10 来说,这可能不是一个好主意。

答案1

修复 Windows 的最后方法称为修复安装/就地升级

下载 1607 ISO,通过双击 ISO 来挂载 ISO。现在导航到虚拟 DVD 驱动器,运行setup.exe并选择保留所有应用程序/设置

在此处输入图片描述

这将修复 Windows 并应该能解决这个问题。

相关内容