Thank you very much for the information. I've tried everything and a repair install is the last option I know of.
KB5042881 update fails in Window Server 2022 with error 0x80073701
Hi,
I have a cluster with two nodes. On one node, the KB5042881 update ended with error 0x80073701. I tried points 1-4 below but none helped. There are some errors in the CBS.log, but I don't know how to resolve them. I haven't tried point 5 yet because I'm afraid it will break my cluster. Can I use point 5 without it breaking my cluster? Or is there any other way to solve this?
1.
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
1.
sfc /scannow
1.
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
delete the contents of the folder C:\Windows\SoftwareDistribution
net start wuauserv
net start cryptSvc
net start bits
net start msiserver
1.
log check C:\Windows\Logs\CBS\CBS.log
2024-09-20 10:28:03, Error CSI 00000357@2024/9/20:08:28:03.448 (F) onecore\base\wcp\componentstore\csd_locking.cpp(95): Error STATUS_SXS_ASSEMBLY_MISSING originated in function CCSDirectTransaction::LockComponent expression: (null)
[gle=0x80004005]
2024-09-20 10:28:03, Info CBS Added C:\Windows\Logs\CBS\CBS.log to WER report.
2024-09-20 10:28:03, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20240920081409.cab to WER report.
2024-09-20 10:28:03, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20240920073934.cab to WER report.
2024-09-20 10:28:03, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20240919143933.cab to WER report.
2024-09-20 10:28:03, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20240919140345.cab to WER report.
2024-09-20 10:28:03, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20240919134739.cab to WER report.
2024-09-20 10:28:03, Info CBS Not able to add pending.xml to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2024-09-20 10:28:03, Info CBS Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2024-09-20 10:28:03, Info CBS Not able to add SCM.EVM to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2024-09-20 10:28:03, Error CSI 00000358 (F) STATUS_SXS_ASSEMBLY_MISSING #10381394# from CCSDirectTransaction::OperateEnding at index 0 of 1 operations, disposition 2[gle=0xd015000c]
2024-09-20 10:28:03, Error CSI 00000359 (F) HRESULT_FROM_WIN32(ERROR_SXS_ASSEMBLY_MISSING) #10381260# from Windows::ServicingAPI::CCSITransaction::ICSITransaction_PinDeployment(Flags = 0, a = Microsoft-Windows-Editions-ServerDatacenter-Deployment-LanguagePack, version 10.0.20348.2582, arch amd64, culture [l:5]'es-ES', nonSxS, pkt {l:8 b:31bf3856ad364e35}, cb = (null), s = (null), rid = 'Microsoft-Windows-Editions-ServerDatacenter-Package~31bf3856ad364e35~amd64~es-ES~10.0.20348.2582.Microsoft-Windows-Editions-ServerDatacenter-Package', r[gle=0x80073701]
2024-09-20 10:28:03, Error CSI ah = (null), manpath = (null), catpath = (null), ed = 0, disp = 0)[gle=0x80073701]
2024-09-20 10:28:03, Info CBS Failed to pin deployment while resolving Update: Microsoft-Windows-Editions-ServerDatacenter-Package~31bf3856ad364e35~amd64~es-ES~10.0.20348.2582.Microsoft-Windows-Editions-ServerDatacenter-Package from file: (null) [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2024-09-20 10:28:03, Info CBS Failed to bulk stage deployment manifest and pin deployment for package:Microsoft-Windows-CredentialManagementRole~31bf3856ad364e35~amd64~de-DE~10.0.20348.1487 [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2024-09-20 10:28:03, Info CBS CommitPackagesState: Started persisting state of packages
2024-09-20 10:28:03, Info CBS CommitPackagesState: Completed persisting state of packages
2024-09-20 10:28:03, Info CSI 0000035a@2024/9/20:08:28:03.635 CSI Transaction @0x19a11c91000 destroyed
2024-09-20 10:28:03, Info CBS Perf: Resolve chain complete.
2024-09-20 10:28:03, Info CBS Failed to resolve execution chain. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2024-09-20 10:28:03, Error CBS Failed to process single phase execution. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2024-09-20 10:28:03, Info CBS WER: Generating failure report for package: Package_for_RollupFix~31bf3856ad364e35~amd64~~20348.2700.1.9, status: 0x80073701, failure source: Resolve, start state: Absent, target state: Installed, client id: UpdateAgentLCU
2024-09-20 10:28:03, Info CBS Not able to query DisableWerReporting flag. Assuming not set... [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2024-09-20 10:28:03, Info CBS Added C:\Windows\Logs\CBS\CBS.log to WER report.
2024-09-20 10:28:03, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20240920081409.cab to WER report.
2024-09-20 10:28:03, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20240920073934.cab to WER report.
2024-09-20 10:28:03, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20240919143933.cab to WER report.
2024-09-20 10:28:03, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20240919140345.cab to WER report.
2024-09-20 10:28:03, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20240919134739.cab to WER report.
2024-09-20 10:28:03, Info CBS Not able to add %windir%\winsxs\pending.xml to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2024-09-20 10:28:03, Info CBS Not able to add %windir%\winsxs\pending.xml.bad to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2024-09-20 10:28:03, Info CBS Reboot mark cleared
2024-09-20 10:28:03, Info CBS Winlogon: Simplifying Winlogon CreateSession notifications
2024-09-20 10:28:03, Info CBS Winlogon: Deregistering for CreateSession notifications
2024-09-20 10:28:03, Info CBS FinalCommitPackagesState: Started persisting state of packages
2024-09-20 10:28:03, Info CBS Reporting package change for package: Package_for_RollupFix~31bf3856ad364e35~amd64~~20348.2700.1.9, current: Absent, pending: Default, start: Absent, applicable: Installed, target: Installed, limit: Installed, status: 0x0, failure source: Resolve, reboot required: False, client id: UpdateAgentLCU, initiated offline: False, execution sequence: 143, first merged sequence: 143, reboot reason: REBOOT_NOT_REQUIRED, RM App session: -1, RM App name: N/A, FileName in use: N/A, release type: Security Update, OC operation: False, download source: 0, download time (secs): 4294967295, download status: 0x0 (S_OK), Express download: False, Download Size: 0 Used lower priority: False Priority changes: 0
2024-09-20 10:28:03, Info CBS Reporting package change completion for package: Package_for_RollupFix~31bf3856ad364e35~amd64~~20348.2700.1.9, current: Absent, original: Absent, target: Installed, status: 0x80073701, failure source: Resolve, failure details: "(null)", client id: UpdateAgentLCU, initiated offline: False, execution sequence: 143, first merged sequence: 143, pending decision: InteractiveInstallFailed, primitive execution context: Interactive
2024-09-20 10:28:03, Info CBS Resolve time performance datapoint is invalid. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2024-09-20 10:28:03, Info CBS Stage time performance datapoint is invalid. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2024-09-20 10:28:03, Info CBS Execute time performance datapoint is invalid. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2024-09-20 10:28:04, Info CBS FinalCommitPackagesState: Completed persisting state of packages
2024-09-20 10:28:04, Info CBS Enabling LKG boot option
2024-09-20 10:28:04, Info CBS Exec: Automatic corruption repair has already been attempted today, skip it.
2024-09-20 10:28:04, Info CBS Exec: Processing complete. Session: 31132469_3806348681, Package: Package_for_RollupFix~31bf3856ad364e35~amd64~~20348.2700.1.9, Identifier: KB5042881 [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2024-09-20 10:28:05, Error CBS Failed to perform operation. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2024-09-20 10:28:05, Info CBS Session: 31132469_3806348681 finalized. Reboot required: no [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2024-09-20 10:28:05, Info CBS Failed finalizing session [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2024-09-20 10:28:05, Info CBS Failed to call Process on TiWorker session [HRESULT = 0x80073701]
2024-09-20 10:28:05, Info CBS Deleting directory: \?\C:\Windows\CbsTemp\31132469_3806348681\
2024-09-20 10:28:05, Info CBS Moving directory from \?\C:\Windows\CbsTemp\31132469_3806348681\ to \?\C:\Windows\CbsTemp{A7B41546-6B6C-4500-A2B1-6D33D0D03622}
2024-09-20 10:28:36, Info CBS Deletion of: \?\C:\Windows\CbsTemp{A7B41546-6B6C-4500-A2B1-6D33D0D03622} successful
- Windows installation repair
mount Windows ISO again and run setup.exe. under "Change how Setup downloads updates" > select "Not right now". select "Keep all data" and install Windows. install all updates.