Hello,
I have a very similar problem on at least 5 2019 servers when installing Windows Defender feature.
All servers different usage: domain controller, different application - I could not find a pattern yet.
Here is the last part of my log:
(before there are several hundred lines similar to the first line here)
2023-02-08 15:46:45, Info CBS Exec: Resolving Package: Package_4203_for_KB4577668~31bf3856ad364e35~amd64~~10.0.1.6, Update: 4577668-7354_neutral
2023-02-08 15:46:45, Info CBS Exec: Resolving component from existing package; passing NULL manifest path to PinDeployment and hoping things haven't been scavenged.
2023-02-08 15:46:45, Info CBS Exec: Resolving Package: Package_4203_for_KB4577668~31bf3856ad364e35~amd64~~10.0.1.6, Update: 4577668-7354_neutral, PinDeployment: amd64_13754f4cdc770d92f454ba04197b360d_31bf3856ad364e35_10.0.17763.1075_none_7e32cd4325d4490e
2023-02-08 15:46:45, Info CBS Exec: Resolving Package: Package_4224_for_KB4577668~31bf3856ad364e35~amd64~~10.0.1.6, Update: 4577668-7375_neutral
2023-02-08 15:46:45, Info CBS Exec: Resolving component from existing package; passing NULL manifest path to PinDeployment and hoping things haven't been scavenged.
2023-02-08 15:46:45, Info CBS Exec: Resolving Package: Package_4224_for_KB4577668~31bf3856ad364e35~amd64~~10.0.1.6, Update: 4577668-7375_neutral, PinDeployment: amd64_b287d603a8175609ed2e463aeef16ea7_31bf3856ad364e35_10.0.17763.529_none_51aea1214fa9c6d9
2023-02-08 15:46:45, Info CBS Exec: Resolving Package: Package_4223_for_KB4577668~31bf3856ad364e35~amd64~~10.0.1.6, Update: 4577668-7374_neutral
2023-02-08 15:46:45, Info CBS Exec: Resolving component from existing package; passing NULL manifest path to PinDeployment and hoping things haven't been scavenged.
2023-02-08 15:46:45, Info CBS Exec: Resolving Package: Package_4223_for_KB4577668~31bf3856ad364e35~amd64~~10.0.1.6, Update: 4577668-7374_neutral, PinDeployment: amd64_761c81c8e268514e1df67850097cd1bf_31bf3856ad364e35_10.0.17763.831_none_d1adbfc11ed3dfbc
2023-02-08 15:46:45, Info CBS Exec: 3 deployments need bulk staging
2023-02-08 15:46:45, Error CSI 00000008@2023/2/8:14:46:45.323 (F) onecore\base\wcp\componentstore\csd_locking.cpp(95): Error STATUS_SXS_ASSEMBLY_MISSING originated in function CCSDirectTransaction::LockComponent expression: (null)
[gle=0x80004005]
2023-02-08 15:46:45, Info CBS Added C:\Windows\Logs\CBS\CBS.log to WER report.
2023-02-08 15:46:45, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20230208121652.log to WER report.
2023-02-08 15:46:45, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20230208031652.log to WER report.
2023-02-08 15:46:45, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20230207101651.log to WER report.
2023-02-08 15:46:45, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20230207021651.log to WER report.
2023-02-08 15:46:45, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20230206081752.log to WER report.
2023-02-08 15:46:45, Info CBS Not able to add pending.xml to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2023-02-08 15:46:45, Info CBS Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2023-02-08 15:46:45, Info CBS Not able to add poqexec.log to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2023-02-08 15:46:45, Info CBS Not able to add SCM.EVM to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2023-02-08 15:46:45, Error CSI 00000009 (F) STATUS_SXS_ASSEMBLY_MISSING #3747# from CCSDirectTransaction::OperateEnding at index 0 of 1 operations, disposition 2[gle=0xd015000c]
2023-02-08 15:46:45, Error CSI 0000000a (F) HRESULT_FROM_WIN32(ERROR_SXS_ASSEMBLY_MISSING) #3589# from Windows::ServicingAPI::CCSITransaction::ICSITransaction_PinDeployment(Flags = 0, a = b287d603a8175609ed2e463aeef16ea7, version 10.0.17763.529, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}, cb = (null), s = (null), rid = 'Package_4224_for_KB4577668~31bf3856ad364e35~amd64~~10.0.1.6.4577668-7375_neutral', rah = '2', manpath = (null), catpath = (null), ed = 0, disp = 0)[gle=0x80073701]
2023-02-08 15:46:45, Info CBS Failed to pin deployment while resolving Update: Package_4224_for_KB4577668~31bf3856ad364e35~amd64~~10.0.1.6.4577668-7375_neutral from file: (null) [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2023-02-08 15:46:45, Info CBS Failed to bulk stage deployment manifest and pin deployment for package:Package_5023_for_KB5021237~31bf3856ad364e35~amd64~~10.0.1.10 [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2023-02-08 15:46:45, Info CBS CommitPackagesState: Started persisting state of packages
2023-02-08 15:46:45, Info CBS CommitPackagesState: Completed persisting state of packages
2023-02-08 15:46:45, Info CSI 0000000b@2023/2/8:14:46:45.492 CSI Transaction @0x1fca4c85c60 destroyed
2023-02-08 15:46:45, Info CBS Perf: Resolve chain complete.
2023-02-08 15:46:45, Info CBS Failed to resolve execution chain. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2023-02-08 15:46:45, Error CBS Failed to process single phase execution. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2023-02-08 15:46:45, 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
2023-02-08 15:46:45, Info CBS Not able to query DisableWerReporting flag. Assuming not set... [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2023-02-08 15:46:45, Info CBS Added C:\Windows\Logs\CBS\CBS.log to WER report.
2023-02-08 15:46:45, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20230208121652.log to WER report.
2023-02-08 15:46:45, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20230208031652.log to WER report.
2023-02-08 15:46:45, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20230207101651.log to WER report.
2023-02-08 15:46:45, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20230207021651.log to WER report.
2023-02-08 15:46:45, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20230206081752.log to WER report.
2023-02-08 15:46:45, Info CBS Not able to add %windir%\winsxs\poqexec.log to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2023-02-08 15:46:45, Info CBS Not able to add %windir%\winsxs\pending.xml to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2023-02-08 15:46:45, Info CBS Not able to add %windir%\winsxs\pending.xml.bad to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2023-02-08 15:46:45, Info CBS Reboot mark cleared
2023-02-08 15:46:45, Info CBS Winlogon: Simplifying Winlogon CreateSession notifications
2023-02-08 15:46:45, Info CBS Winlogon: Deregistering for CreateSession notifications
2023-02-08 15:46:45, Info CBS FinalCommitPackagesState: Started persisting state of packages
2023-02-08 15:46:45, Info CBS FinalCommitPackagesState: Completed persisting state of packages
2023-02-08 15:46:45, Info CBS Enabling LKG boot option
2023-02-08 15:46:45, Info CBS Exec: Will not run corruption repair because no store corruption found.
2023-02-08 15:46:45, Info CBS Exec: Processing complete. Session: 31013836_698641576, Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1, Identifier: Windows Foundation [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2023-02-08 15:46:47, Error CBS Failed to perform operation. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2023-02-08 15:46:47, Info CBS Session: 31013836_698641576 finalized. Reboot required: no [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2023-02-08 15:46:47, Info CBS Failed to FinalizeEx using worker session [HRESULT = 0x80073701]
Corresponding to the suggested solution above I need to re-install "Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1"?
If so, where do I find sources?
Any ideas?
Thank you! Michael