Add Feature Error 0x80073701

Copper Contributor

Trying to add FailOver feature using :

 

 Install-WindowsFeature -Name Failover-Clustering

 

Get the following Error :


Install-WindowsFeature : 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
At line:1 char:1
+ Install-WindowsFeature -Name Failover-Clustering
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (@{Vhd=; Credent...Name=localhost}:PSObject) [Install-WindowsFeature],
Exception
+ FullyQualifiedErrorId : DISMAPI_Error__Failed_To_Enable_Updates,Microsoft.Windows.ServerManager.Commands.AddWind
owsFeatureCommand

 

Last part of CBS Log is :

2021-07-08 16:48:07, Info CBS Exec: Resolving Package: Package_3520_for_KB5000854~31bf3856ad364e35~amd64~~10.0.1.11, Update: 5000854-6615_neutral, PinDeployment: amd64_67d28186a16055018089bbd3cd679b71_31bf3856ad364e35_10.0.17763.831_none_381e4d29dc27b5f2
2021-07-08 16:48:07, Info CBS Exec: 35 deployments need bulk staging
2021-07-08 16:48:07, Error CSI 00000008@2021/7/8:20:48:07.893 (F) onecore\base\wcp\componentstore\csd_locking.cpp(95): Error STATUS_SXS_ASSEMBLY_MISSING originated in function CCSDirectTransaction::LockComponent expression: (null)
[gle=0x80004005]
2021-07-08 16:48:07, Info CBS Added C:\Windows\Logs\CBS\CBS.log to WER report.
2021-07-08 16:48:07, Info CBS Not able to add pending.xml to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2021-07-08 16:48:07, Info CBS Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2021-07-08 16:48:07, Info CBS Not able to add SCM.EVM to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2021-07-08 16:48:08, Error CSI 00000009 (F) STATUS_SXS_ASSEMBLY_MISSING #68940# from CCSDirectTransaction::OperateEnding at index 0 of 1 operations, disposition 2[gle=0xd015000c]
2021-07-08 16:48:08, Error CSI 0000000a (F) HRESULT_FROM_WIN32(ERROR_SXS_ASSEMBLY_MISSING) #68782# from Windows::ServicingAPI::CCSITransaction::ICSITransaction_PinDeployment(Flags = 0, a = 72e2bdb047d98a6bb43c9297a8d3e951, version 10.0.17763.1613, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}, cb = (null), s = (null), rid = 'Package_3538_for_KB5000854~31bf3856ad364e35~amd64~~10.0.1.11.5000854-6642_neutral', rah = '3', manpath = (null), catpath = (null), ed = 0, disp = 0)[gle=0x80073701]
2021-07-08 16:48:08, Info CBS Failed to pin deployment while resolving Update: Package_3538_for_KB5000854~31bf3856ad364e35~amd64~~10.0.1.11.5000854-6642_neutral from file: (null) [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2021-07-08 16:48:08, Info CBS Failed to bulk stage deployment manifest and pin deployment for package:Package_1682_for_KB5004947~31bf3856ad364e35~amd64~~10.0.1.0 [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2021-07-08 16:48:08, Info CBS CommitPackagesState: Started persisting state of packages
2021-07-08 16:48:08, Info CBS CommitPackagesState: Completed persisting state of packages
2021-07-08 16:48:08, Info CSI 0000000b@2021/7/8:20:48:08.683 CSI Transaction @0x24e9b5f3d90 destroyed
2021-07-08 16:48:08, Info CBS Perf: Resolve chain complete.
2021-07-08 16:48:08, Info CBS Failed to resolve execution chain. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2021-07-08 16:48:08, Error CBS Failed to process single phase execution. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2021-07-08 16:48:08, Info CBS WER: Generating failure report for package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1, status: 0x80073701, failure source: Resolve, start state: Installed, target state: Installed, client id: DISM Package Manager Provider
2021-07-08 16:48:08, Info CBS Not able to query DisableWerReporting flag. Assuming not set... [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2021-07-08 16:48:08, Info CBS Added C:\Windows\Logs\CBS\CBS.log to WER report.
2021-07-08 16:48:08, Info CBS Not able to add %windir%\winsxs\pending.xml to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2021-07-08 16:48:08, Info CBS Not able to add %windir%\winsxs\pending.xml.bad to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2021-07-08 16:48:09, Info CBS Reboot mark cleared
2021-07-08 16:48:09, Info CBS Winlogon: Simplifying Winlogon CreateSession notifications
2021-07-08 16:48:09, Info CBS Winlogon: Deregistering for CreateSession notifications
2021-07-08 16:48:09, Info CBS FinalCommitPackagesState: Started persisting state of packages
2021-07-08 16:48:09, Info CBS FinalCommitPackagesState: Completed persisting state of packages
2021-07-08 16:48:09, Info CBS Enabling LKG boot option
2021-07-08 16:48:09, Info CBS Exec: Will not run corruption repair because no store corruption found.
2021-07-08 16:48:09, Info CBS Exec: Processing complete. Session: 30897210_2376953675, Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1, Identifier: Windows Foundation [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2021-07-08 16:48:09, Error CBS Failed to perform operation. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2021-07-08 16:48:09, Info CBS Session: 30897210_2376953675 finalized. Reboot required: no [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2021-07-08 16:48:09, Info CBS Failed to FinalizeEx using worker session [HRESULT = 0x80073701]

 

Have run SFC and DISM command - all run fine - no errors

 

Steve

 

 

 

 

2 Replies

Might also try

dism /online /cleanup-image /startcomponentcleanup

and the manual steps here. Windows Update - Additional resources - Windows Deployment | Microsoft Docs

 

 

It seems to complete but only goes to 20% - it also takes only about 20-30 seconds to complete

PS C:\Windows\system32> dism /online /cleanup-image /startcomponentcleanup

Deployment Image Servicing and Management tool
Version: 10.0.17763.1697

Image Version: 10.0.17763.2029

[=========== 20.0% ]
The operation completed successfully.