Error 0x80073701 installing roles and features

M

mikedn-at-cox.net

I have a Windows Server 2016 Standard Edition which Windows updates reports is fully up to date with all patches.

When I attempt to install a new role (Hyper-V, IIS, etc.) I receive the following error in Server Manager:

"The request to add or remove features on the specified server failed. Installation of one or more roles, role services or features failed. The referenced assembly could not be found. Error 0x80073701".

I checked c:\windows\logs\cbs\cbs.log and found the following error(s):


Error CSI 00000008@2019/11/27:19:12:14.287 (F) onecore\base\wcp\componentstore\csd_locking.cpp(200): Error STATUS_SXS_ASSEMBLY_MISSING originated in function CCSDirectTransaction::LockComponent expression: (null)
[gle=0x80004005]
Info CBS Added C:\Windows\Logs\CBS\CBS.log to WER report.
Info CBS Not able to add pending.xml to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
Info CBS Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
Error CSI 00000009 (F) STATUS_SXS_ASSEMBLY_MISSING #93331# from CCSDirectTransaction::OperateEnding at index 0 of 1 operations, disposition 2[gle=0xd015000c]
Error CSI 0000000a (F) HRESULT_FROM_WIN32(ERROR_SXS_ASSEMBLY_MISSING) #93179# from Windows::ServicingAPI::CCSITransaction::ICSITransaction_PinDeployment(Flags = 0, a = 2294ba7cc6cf3d37d7c783e8f04d207e, version 10.0.14393.2515, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}, cb = (null), s = (null), rid = 'Package_6876_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3.4467691-15076_neutral', rah = '2', manpath = (null), catpath = (null), ed = 0, disp = 0)[gle=0x80073701]
Info CBS Failed to pin deployment while resolving Update: Package_6876_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3.4467691-15076_neutral from file: (null) [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
Info CBS Failed to bulk stage deployment manifest and pin deployment for package:package_7876_for_KB4525236~31bf3856ad364e35~amd64~~10.0.1.5 [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
Info CBS CommitPackagesState: Started persisting state of packages
Info CBS CommitPackagesState: Completed persisting state of packages
Info CSI 0000000b@2019/11/27:19:12:14.321 CSI Transaction @0x1b620115570 destroyed
Info CBS Perf: Resolve chain complete.
Info CBS Failed to resolve execution chain. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
Error CBS Failed to process single phase execution. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
Info CBS WER: Generating failure report for package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.14393.0, status: 0x80073701, failure source: Resolve, start state: Installed, target state: Installed, client id: DISM Package Manager Provider
Info CBS Not able to query DisableWerReporting flag. Assuming not set... [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
Info CBS Added C:\Windows\Logs\CBS\CBS.log to WER report.
Info CBS Not able to add %windir%\winsxs\pending.xml to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
Info CBS Not able to add %windir%\winsxs\pending.xml.bad to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
Info CBS Reboot mark cleared
Info CBS Winlogon: Simplifying Winlogon CreateSession notifications
Info CBS Winlogon: Deregistering for CreateSession notifications
Info CBS FinalCommitPackagesState: Started persisting state of packages
Info CBS FinalCommitPackagesState: Completed persisting state of packages
Info CBS Enabling LKG boot option
Info CBS Exec: Processing complete. Session: 30778710_2374502273, Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.14393.0 [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
Error CBS Failed to perform operation. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
Info CBS Session: 30778710_2374502273 finalized. Reboot required: no [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
Info CBS Failed to FinalizeEx using worker session [HRESULT = 0x80073701]
Info CBS Session: 30778710_2513201222 initialized by client WindowsUpdateAgent, external staging directory: (null), external registry directory: (null
Info CBS Failed to internally open package. [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]
Info CBS Failed to OpenPackage using worker session [HRESULT = 0x800f0805]
Info CBS Session: 30778710_2513211247 initialized by client WindowsUpdateAgent, external staging directory: (null), external registry directory: (null
Info CBS Failed to internally open package. [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]
Info CBS Failed to OpenPackage using worker session [HRESULT = 0x800f0805]


I ran:

C:\temp>sfc /scannow

Beginning system scan. This process will take some time.

Beginning verification phase of system scan.
Verification 100% complete.

Windows Resource Protection did not find any integrity violations.


I then tried:


C:\temp>dism /online /cleanup-image /scanhealth

Deployment Image Servicing and Management tool
Version: 10.0.14393.3241

Image Version: 10.0.14393.3241

[==========================100.0%==========================] The component store is repairable.
The operation completed successfully.


So I ran:

C:\temp>dism /online /cleanup-image /restorehealth

Deployment Image Servicing and Management tool
Version: 10.0.14393.3241

Image Version: 10.0.14393.3241

[==========================100.0%==========================]
Error: 1726

The remote procedure call failed.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log


Googling that error message said to check the Remote Procedure Call service... which I did... it is running and on automatic. Checking the DISM log file, I find:


Info DISM DISM Package Manager: PID=11612 TID=5056 Error in operation: (null) (CBS HRESULT=0x800706be) - CCbsConUIHandler::Error
Error DISM DISM Package Manager: PID=11612 TID=11092 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800706be)
Error DISM DISM Package Manager: PID=11612 TID=11092 Failed processing package changes with session option CbsSessionOptionRepairStoreCorruption - CDISMPackageManager::RestoreHealth(hr:0x800706be)
Error DISM DISM Package Manager: PID=11612 TID=11092 Failed to restore the image health. - CPackageManagerCLIHandler::processCmdLine_CleanupImage(hr:0x800706be)
Error DISM DISM Package Manager: PID=11612 TID=11092 Failed while processing command cleanup-image. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800706be)
Info DISM DISM Package Manager: PID=11612 TID=11092 Further logs for online package and feature related operations can be found at %WINDIR%\logs\CBS\cbs.log - CPackageManagerCLIHandler::ExecuteCmdLine
Error DISM DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=800706BE


Going back to CBS.LOG, I see:


Info CBS Repr:Not able to find matching update for package, Package_4091_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4092_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4093_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4094_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4095_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4096_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4097_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4098_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4099_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4131_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4139_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4140_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4145_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4150_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4155_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4156_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4157_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4158_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4159_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4175_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4180_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4182_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4185_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4188_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4189_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4190_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4191_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4192_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4193_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4194_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4195_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4196_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4197_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4198_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4199_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4200_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4210_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4211_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4223_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4224_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4225_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4226_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4231_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4232_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4234_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4241_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4242_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4243_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Repr:Not able to find matching update for package, Package_4244_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
Info CBS Failed to get bundled updates [HRESULT = 0x800706be - RPC_S_CALL_FAILED]
Info CBS Failed to check whether the update is required [HRESULT = 0x800706be - RPC_S_CALL_FAILED]
Info CBS Failed to download updates [HRESULT = 0x800706be - RPC_S_CALL_FAILED]
Warning CBS Current tick count lower than last tick count. [HRESULT = 0x8007000d - ERROR_INVALID_DATA]
Info CBS Failed to collect payload and there is nothing to repair. [HRESULT = 0x800706be - RPC_S_CALL_FAILED]
Info CBS Failed to repair store. [HRESULT = 0x800706be - RPC_S_CALL_FAILED]
Info CBS Ensure WCP corruption flag is clear
Info CBS
=================================
Checking System Update Readiness.

(p) CBS Catalog Missing Package_4091_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4092_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4093_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4094_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4095_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4096_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4097_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4098_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4099_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4131_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4139_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4140_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4145_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4150_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4155_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4156_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4157_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4158_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4159_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4175_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4180_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4182_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4185_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4188_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4189_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4190_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4191_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4192_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4193_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4194_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4195_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4196_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4197_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4198_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4199_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4200_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4210_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4211_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4223_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4224_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4225_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4226_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4231_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4232_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4234_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4241_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4242_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4243_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3
(p) CBS Catalog Missing Package_4244_for_KB4467691~31bf3856ad364e35~amd64~~10.0.1.3

Summary:
Operation: Detect and Repair
Operation result: 0x800706be
Last Successful Step: Entire operation completes.
Total Detected Corruption: 49
CBS Manifest Corruption: 49
CBS Metadata Corruption: 0
CSI Manifest Corruption: 0
CSI Metadata Corruption: 0
CSI Payload Corruption: 0
Total Repaired Corruption: 0
CBS Manifest Repaired: 0
CSI Manifest Repaired: 0
CSI Payload Repaired: 0
CSI Store Metadata refreshed: True

Total Operation Time: 703 seconds.

Info CBS CheckSur: hrStatus: 0x800706be [RPC_S_CALL_FAILED], download Result: 0x800f0948 [CBS_E_SOURCE_MISSING_FROM_WU_CAB]
Info CBS Count of times corruption detected: 1
Info CBS Seconds between initial corruption detections: -1
Info CBS Seconds between corruption and repair: -1
Info CBS SQM: Package change report datapoints not populated because SQM is not initialized or not running online.
Info CBS Failed to run Detect and repair. [HRESULT = 0x800706be - RPC_S_CALL_FAILED]
Info CBS Reboot mark cleared
Info CBS Winlogon: Simplifying Winlogon CreateSession notifications
Info CBS Winlogon: Deregistering for CreateSession notifications
Info CBS Exec: Processing complete, session(Corruption Repairing): 30778756_4027887121 [HRESULT = 0x800706be - RPC_S_CALL_FAILED]
Error CBS Session: 30778756_4027887121 failed to perform store corruption detect and repair operation. [HRESULT = 0x800706be - RPC_S_CALL_FAILED]
Info CBS Session: 30778756_4027887121 finalized. Download error: 0x800706be [RPC_S_CALL_FAILED], Reboot required: no [HRESULT = 0x800706be - RPC_S_CALL_FAILED]


I went to Windows catalog and downloaded the Server 2016 version of KB4467691.


if I attempt to apply it, I get the following error:

"This update is not applicable to your computer".

I assume this is because it's now always December 2019 and I've got a system up-to-date with patches as of today and this patch has been superceded by something else.


Any ideas on how to fix this would be appreciated. This is a 24/7 production system so a reinstallation is not really an option.

Continue reading...
 
Back
Top Bottom