Windows 10 專業版 64 位元版本 1607 無法安裝 KB3176938,錯誤代碼為 0x800F0922

Windows 10 專業版 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, DP 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,並應該解決此問題。

相關內容