Add Feature Error 0x80073701

%3CLINGO-SUB%20id%3D%22lingo-sub-2530110%22%20slang%3D%22en-US%22%3EAdd%20Feature%20Error%200x80073701%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2530110%22%20slang%3D%22en-US%22%3E%3CP%3ETrying%20to%20add%20FailOver%20feature%20using%20%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CEM%3E%26nbsp%3BInstall-WindowsFeature%20-Name%20Failover-Clustering%3C%2FEM%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGet%20the%20following%20Error%20%3A%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EInstall-WindowsFeature%20%3A%20The%20request%20to%20add%20or%20remove%20features%20on%20the%20specified%20server%20failed.%3CBR%20%2F%3EInstallation%20of%20one%20or%20more%20roles%2C%20role%20services%2C%20or%20features%20failed.%3CBR%20%2F%3EThe%20referenced%20assembly%20could%20not%20be%20found.%20Error%3A%200x80073701%3CBR%20%2F%3EAt%20line%3A1%20char%3A1%3CBR%20%2F%3E%2B%20Install-WindowsFeature%20-Name%20Failover-Clustering%3CBR%20%2F%3E%2B%20~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3E%2B%20CategoryInfo%20%3A%20InvalidOperation%3A%20(%40%7BVhd%3D%3B%20Credent...Name%3Dlocalhost%7D%3APSObject)%20%5BInstall-WindowsFeature%5D%2C%3CBR%20%2F%3EException%3CBR%20%2F%3E%2B%20FullyQualifiedErrorId%20%3A%20DISMAPI_Error__Failed_To_Enable_Updates%2CMicrosoft.Windows.ServerManager.Commands.AddWind%3CBR%20%2F%3EowsFeatureCommand%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELast%20part%20of%20CBS%20Log%20is%20%3A%3C%2FP%3E%3CP%3E2021-07-08%2016%3A48%3A07%2C%20Info%20CBS%20Exec%3A%20Resolving%20Package%3A%20Package_3520_for_KB5000854~31bf3856ad364e35~amd64~~10.0.1.11%2C%20Update%3A%205000854-6615_neutral%2C%20PinDeployment%3A%20amd64_67d28186a16055018089bbd3cd679b71_31bf3856ad364e35_10.0.17763.831_none_381e4d29dc27b5f2%3CBR%20%2F%3E2021-07-08%2016%3A48%3A07%2C%20Info%20CBS%20Exec%3A%2035%20deployments%20need%20bulk%20staging%3CBR%20%2F%3E2021-07-08%2016%3A48%3A07%2C%20Error%20CSI%2000000008%402021%2F7%2F8%3A20%3A48%3A07.893%20(F)%20onecore%5Cbase%5Cwcp%5Ccomponentstore%5Ccsd_locking.cpp(95)%3A%20Error%20STATUS_SXS_ASSEMBLY_MISSING%20originated%20in%20function%20CCSDirectTransaction%3A%3ALockComponent%20expression%3A%20(null)%3CBR%20%2F%3E%5Bgle%3D0x80004005%5D%3CBR%20%2F%3E2021-07-08%2016%3A48%3A07%2C%20Info%20CBS%20Added%20C%3A%5CWindows%5CLogs%5CCBS%5CCBS.log%20to%20WER%20report.%3CBR%20%2F%3E2021-07-08%2016%3A48%3A07%2C%20Info%20CBS%20Not%20able%20to%20add%20pending.xml%20to%20Windows%20Error%20Report.%20%5BHRESULT%20%3D%200x80070002%20-%20ERROR_FILE_NOT_FOUND%5D%3CBR%20%2F%3E2021-07-08%2016%3A48%3A07%2C%20Info%20CBS%20Not%20able%20to%20add%20pending.xml.bad%20to%20Windows%20Error%20Report.%20%5BHRESULT%20%3D%200x80070002%20-%20ERROR_FILE_NOT_FOUND%5D%3CBR%20%2F%3E2021-07-08%2016%3A48%3A07%2C%20Info%20CBS%20Not%20able%20to%20add%20SCM.EVM%20to%20Windows%20Error%20Report.%20%5BHRESULT%20%3D%200x80070002%20-%20ERROR_FILE_NOT_FOUND%5D%3CBR%20%2F%3E2021-07-08%2016%3A48%3A08%2C%20Error%20CSI%2000000009%20(F)%20STATUS_SXS_ASSEMBLY_MISSING%20%2368940%23%20from%20CCSDirectTransaction%3A%3AOperateEnding%20at%20index%200%20of%201%20operations%2C%20disposition%202%5Bgle%3D0xd015000c%5D%3CBR%20%2F%3E2021-07-08%2016%3A48%3A08%2C%20Error%20CSI%200000000a%20(F)%20HRESULT_FROM_WIN32(ERROR_SXS_ASSEMBLY_MISSING)%20%2368782%23%20from%20Windows%3A%3AServicingAPI%3A%3ACCSITransaction%3A%3AICSITransaction_PinDeployment(Flags%20%3D%200%2C%20a%20%3D%2072e2bdb047d98a6bb43c9297a8d3e951%2C%20version%2010.0.17763.1613%2C%20arch%20amd64%2C%20nonSxS%2C%20pkt%20%7Bl%3A8%20b%3A31bf3856ad364e35%7D%2C%20cb%20%3D%20(null)%2C%20s%20%3D%20(null)%2C%20rid%20%3D%20'Package_3538_for_KB5000854~31bf3856ad364e35~amd64~~10.0.1.11.5000854-6642_neutral'%2C%20rah%20%3D%20'3'%2C%20manpath%20%3D%20(null)%2C%20catpath%20%3D%20(null)%2C%20ed%20%3D%200%2C%20disp%20%3D%200)%5Bgle%3D0x80073701%5D%3CBR%20%2F%3E2021-07-08%2016%3A48%3A08%2C%20Info%20CBS%20Failed%20to%20pin%20deployment%20while%20resolving%20Update%3A%20Package_3538_for_KB5000854~31bf3856ad364e35~amd64~~10.0.1.11.5000854-6642_neutral%20from%20file%3A%20(null)%20%5BHRESULT%20%3D%200x80073701%20-%20ERROR_SXS_ASSEMBLY_MISSING%5D%3CBR%20%2F%3E2021-07-08%2016%3A48%3A08%2C%20Info%20CBS%20Failed%20to%20bulk%20stage%20deployment%20manifest%20and%20pin%20deployment%20for%20package%3APackage_1682_for_KB5004947~31bf3856ad364e35~amd64~~10.0.1.0%20%5BHRESULT%20%3D%200x80073701%20-%20ERROR_SXS_ASSEMBLY_MISSING%5D%3CBR%20%2F%3E2021-07-08%2016%3A48%3A08%2C%20Info%20CBS%20CommitPackagesState%3A%20Started%20persisting%20state%20of%20packages%3CBR%20%2F%3E2021-07-08%2016%3A48%3A08%2C%20Info%20CBS%20CommitPackagesState%3A%20Completed%20persisting%20state%20of%20packages%3CBR%20%2F%3E2021-07-08%2016%3A48%3A08%2C%20Info%20CSI%200000000b%402021%2F7%2F8%3A20%3A48%3A08.683%20CSI%20Transaction%20%400x24e9b5f3d90%20destroyed%3CBR%20%2F%3E2021-07-08%2016%3A48%3A08%2C%20Info%20CBS%20Perf%3A%20Resolve%20chain%20complete.%3CBR%20%2F%3E2021-07-08%2016%3A48%3A08%2C%20Info%20CBS%20Failed%20to%20resolve%20execution%20chain.%20%5BHRESULT%20%3D%200x80073701%20-%20ERROR_SXS_ASSEMBLY_MISSING%5D%3CBR%20%2F%3E2021-07-08%2016%3A48%3A08%2C%20Error%20CBS%20Failed%20to%20process%20single%20phase%20execution.%20%5BHRESULT%20%3D%200x80073701%20-%20ERROR_SXS_ASSEMBLY_MISSING%5D%3CBR%20%2F%3E2021-07-08%2016%3A48%3A08%2C%20Info%20CBS%20WER%3A%20Generating%20failure%20report%20for%20package%3A%20Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1%2C%20status%3A%200x80073701%2C%20failure%20source%3A%20Resolve%2C%20start%20state%3A%20Installed%2C%20target%20state%3A%20Installed%2C%20client%20id%3A%20DISM%20Package%20Manager%20Provider%3CBR%20%2F%3E2021-07-08%2016%3A48%3A08%2C%20Info%20CBS%20Not%20able%20to%20query%20DisableWerReporting%20flag.%20Assuming%20not%20set...%20%5BHRESULT%20%3D%200x80070002%20-%20ERROR_FILE_NOT_FOUND%5D%3CBR%20%2F%3E2021-07-08%2016%3A48%3A08%2C%20Info%20CBS%20Added%20C%3A%5CWindows%5CLogs%5CCBS%5CCBS.log%20to%20WER%20report.%3CBR%20%2F%3E2021-07-08%2016%3A48%3A08%2C%20Info%20CBS%20Not%20able%20to%20add%20%25windir%25%5Cwinsxs%5Cpending.xml%20to%20WER%20report.%20%5BHRESULT%20%3D%200x80070002%20-%20ERROR_FILE_NOT_FOUND%5D%3CBR%20%2F%3E2021-07-08%2016%3A48%3A08%2C%20Info%20CBS%20Not%20able%20to%20add%20%25windir%25%5Cwinsxs%5Cpending.xml.bad%20to%20WER%20report.%20%5BHRESULT%20%3D%200x80070002%20-%20ERROR_FILE_NOT_FOUND%5D%3CBR%20%2F%3E2021-07-08%2016%3A48%3A09%2C%20Info%20CBS%20Reboot%20mark%20cleared%3CBR%20%2F%3E2021-07-08%2016%3A48%3A09%2C%20Info%20CBS%20Winlogon%3A%20Simplifying%20Winlogon%20CreateSession%20notifications%3CBR%20%2F%3E2021-07-08%2016%3A48%3A09%2C%20Info%20CBS%20Winlogon%3A%20Deregistering%20for%20CreateSession%20notifications%3CBR%20%2F%3E2021-07-08%2016%3A48%3A09%2C%20Info%20CBS%20FinalCommitPackagesState%3A%20Started%20persisting%20state%20of%20packages%3CBR%20%2F%3E2021-07-08%2016%3A48%3A09%2C%20Info%20CBS%20FinalCommitPackagesState%3A%20Completed%20persisting%20state%20of%20packages%3CBR%20%2F%3E2021-07-08%2016%3A48%3A09%2C%20Info%20CBS%20Enabling%20LKG%20boot%20option%3CBR%20%2F%3E2021-07-08%2016%3A48%3A09%2C%20Info%20CBS%20Exec%3A%20Will%20not%20run%20corruption%20repair%20because%20no%20store%20corruption%20found.%3CBR%20%2F%3E2021-07-08%2016%3A48%3A09%2C%20Info%20CBS%20Exec%3A%20Processing%20complete.%20Session%3A%2030897210_2376953675%2C%20Package%3A%20Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1%2C%20Identifier%3A%20Windows%20Foundation%20%5BHRESULT%20%3D%200x80073701%20-%20ERROR_SXS_ASSEMBLY_MISSING%5D%3CBR%20%2F%3E2021-07-08%2016%3A48%3A09%2C%20Error%20CBS%20Failed%20to%20perform%20operation.%20%5BHRESULT%20%3D%200x80073701%20-%20ERROR_SXS_ASSEMBLY_MISSING%5D%3CBR%20%2F%3E2021-07-08%2016%3A48%3A09%2C%20Info%20CBS%20Session%3A%2030897210_2376953675%20finalized.%20Reboot%20required%3A%20no%20%5BHRESULT%20%3D%200x80073701%20-%20ERROR_SXS_ASSEMBLY_MISSING%5D%3CBR%20%2F%3E2021-07-08%2016%3A48%3A09%2C%20Info%20CBS%20Failed%20to%20FinalizeEx%20using%20worker%20session%20%5BHRESULT%20%3D%200x80073701%5D%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHave%20run%20SFC%20and%20DISM%20command%20-%20all%20run%20fine%20-%20no%20errors%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESteve%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2530110%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3E0x80073701%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2532028%22%20slang%3D%22en-US%22%3ERe%3A%20Add%20Feature%20Error%200x80073701%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2532028%22%20slang%3D%22en-US%22%3E%3CP%3EMight%20also%20try%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Edism%20%2Fonline%20%2Fcleanup-image%20%2Fstartcomponentcleanup%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Eand%20the%20manual%20steps%20here.%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fdeployment%2Fupdate%2Fwindows-update-resources%23reset-windows-update-components-manually%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EWindows%20Update%20-%20Additional%20resources%20-%20Windows%20Deployment%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2532139%22%20slang%3D%22en-US%22%3ERe%3A%20Add%20Feature%20Error%200x80073701%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2532139%22%20slang%3D%22en-US%22%3EIt%20seems%20to%20complete%20but%20only%20goes%20to%2020%25%20-%20it%20also%20takes%20only%20about%2020-30%20seconds%20to%20complete%3CBR%20%2F%3E%3CBR%20%2F%3EPS%20C%3A%5CWindows%5Csystem32%26gt%3B%20dism%20%2Fonline%20%2Fcleanup-image%20%2Fstartcomponentcleanup%3CBR%20%2F%3E%3CBR%20%2F%3EDeployment%20Image%20Servicing%20and%20Management%20tool%3CBR%20%2F%3EVersion%3A%2010.0.17763.1697%3CBR%20%2F%3E%3CBR%20%2F%3EImage%20Version%3A%2010.0.17763.2029%3CBR%20%2F%3E%3CBR%20%2F%3E%5B%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%2020.0%25%20%5D%3CBR%20%2F%3EThe%20operation%20completed%20successfully.%3C%2FLINGO-BODY%3E
Occasional 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.