Windows server 2022 unable to install KB5042881 – Error 0x800f0831
I have tried pretty much anything I have been able to find:
SFC /Scannow
D(I)SM /Online /Cleanup-Image /RestoreHealth
(Both gives no errors)
Windows update troubleshooter
clearing the windows update catalogs
Manually downloading and installing the KB, (as well as the one from the month before)
But no matter what, I still get this stupid corruption error.
And I have this problem on more than 1 server – so I need a good solution for it!
CBS logs:
2024-10-07 17:44:00, Info CBS Exec: Resolving Package: Microsoft-Windows-Editions-ServerDatacenter-Package~31bf3856ad364e35~amd64~~10.0.20348.2700, Update: Microsoft-Windows-Editions-ServerDatacenter-Deployment 2024-10-07 17:44:00, Info CBS Mark store corruption flag because of missing catalog: \?C:WindowsServicingPackagesMicrosoft-Windows-Editions-ServerDatacenter-Package~31bf3856ad364e35~amd64~~10.0.20348.2700.cat. [HRESULT = 0x800f0831 – CBS_E_STORE_CORRUPTION] 2024-10-07 17:44:00, Info CBS Failed to get stored catalog path to resolve Update:Microsoft-Windows-Editions-ServerDatacenter-Deployment, Package: Microsoft-Windows-Editions-ServerDatacenter-Package~31bf3856ad364e35~amd64~~10.0.20348.2700 [HRESULT = 0x800f0831 – CBS_E_STORE_CORRUPTION] 2024-10-07 17:44:00, Info CBS Failed to resolve item[0] in Package: Microsoft-Windows-Editions-ServerDatacenter-Package~31bf3856ad364e35~amd64~~10.0.20348.2700, Update: Microsoft-Windows-Editions-ServerDatacenter-Deployment [HRESULT = 0x800f0831 – CBS_E_STORE_CORRUPTION] 2024-10-07 17:44:00, Info CBS Failed to resolve execution update. [HRESULT = 0x800f0831 – CBS_E_STORE_CORRUPTION] 2024-10-07 17:44:00, Error CBS Failed to resolve execution package: Microsoft-Windows-Editions-ServerDatacenter-Package~31bf3856ad364e35~amd64~~10.0.20348.2700 [HRESULT = 0x800f0831 – CBS_E_STORE_CORRUPTION] 2024-10-07 17:44:00, Info CBS CommitPackagesState: Started persisting state of packages 2024-10-07 17:44:00, Info CBS CommitPackagesState: Completed persisting state of packages 2024-10-07 17:44:00, Info CSI 000003d0@2024/10/7:15:44:00.453 CSI Transaction @0x16429462eb0 destroyed 2024-10-07 17:44:00, Info CBS Perf: Resolve chain complete. 2024-10-07 17:44:00, Info CBS Failed to resolve execution chain. [HRESULT = 0x800f0831 – CBS_E_STORE_CORRUPTION] 2024-10-07 17:44:00, Error CBS Failed to process single phase execution. [HRESULT = 0x800f0831 – CBS_E_STORE_CORRUPTION] 2024-10-07 17:44:00, Info CBS WER: Generating failure report for package: Package_for_ServicingStack_2696~31bf3856ad364e35~amd64~~20348.2696.1.1, status: 0x800f0831, failure source: Resolve, start state: Installed, target state: Installed, client id: WindowsUpdateAgent 2024-10-07 17:44:00, Info CBS Not able to query DisableWerReporting flag. Assuming not set… [HRESULT = 0x80070002 – ERROR_FILE_NOT_FOUND] 2024-10-07 17:44:00, Info CBS Added C:WindowsLogsCBSCBS.log to WER report. 2024-10-07 17:44:00, Info CBS Added C:WindowsLogsCBSCbsPersist_20241007153328.log to WER report. 2024-10-07 17:44:00, Info CBS Added C:WindowsLogsCBSCbsPersist_20241007152150.log to WER report. 2024-10-07 17:44:00, Info CBS Added C:WindowsLogsCBSCbsPersist_20241007143005.log to WER report. 2024-10-07 17:44:00, Info CBS Not able to add %windir%winsxspending.xml to WER report. [HRESULT = 0x80070002 – ERROR_FILE_NOT_FOUND] 2024-10-07 17:44:00, Info CBS Not able to add %windir%winsxspending.xml.bad to WER report. [HRESULT = 0x80070002 – ERROR_FILE_NOT_FOUND] 2024-10-07 17:44:00, Info CBS Reboot mark cleared
I have tried pretty much anything I have been able to find:SFC /ScannowD(I)SM /Online /Cleanup-Image /RestoreHealth(Both gives no errors)Windows update troubleshooterclearing the windows update catalogsManually downloading and installing the KB, (as well as the one from the month before)But no matter what, I still get this stupid corruption error.And I have this problem on more than 1 server – so I need a good solution for it! CBS logs:2024-10-07 17:44:00, Info CBS Exec: Resolving Package: Microsoft-Windows-Editions-ServerDatacenter-Package~31bf3856ad364e35~amd64~~10.0.20348.2700, Update: Microsoft-Windows-Editions-ServerDatacenter-Deployment 2024-10-07 17:44:00, Info CBS Mark store corruption flag because of missing catalog: \?C:WindowsServicingPackagesMicrosoft-Windows-Editions-ServerDatacenter-Package~31bf3856ad364e35~amd64~~10.0.20348.2700.cat. [HRESULT = 0x800f0831 – CBS_E_STORE_CORRUPTION] 2024-10-07 17:44:00, Info CBS Failed to get stored catalog path to resolve Update:Microsoft-Windows-Editions-ServerDatacenter-Deployment, Package: Microsoft-Windows-Editions-ServerDatacenter-Package~31bf3856ad364e35~amd64~~10.0.20348.2700 [HRESULT = 0x800f0831 – CBS_E_STORE_CORRUPTION] 2024-10-07 17:44:00, Info CBS Failed to resolve item[0] in Package: Microsoft-Windows-Editions-ServerDatacenter-Package~31bf3856ad364e35~amd64~~10.0.20348.2700, Update: Microsoft-Windows-Editions-ServerDatacenter-Deployment [HRESULT = 0x800f0831 – CBS_E_STORE_CORRUPTION] 2024-10-07 17:44:00, Info CBS Failed to resolve execution update. [HRESULT = 0x800f0831 – CBS_E_STORE_CORRUPTION] 2024-10-07 17:44:00, Error CBS Failed to resolve execution package: Microsoft-Windows-Editions-ServerDatacenter-Package~31bf3856ad364e35~amd64~~10.0.20348.2700 [HRESULT = 0x800f0831 – CBS_E_STORE_CORRUPTION] 2024-10-07 17:44:00, Info CBS CommitPackagesState: Started persisting state of packages 2024-10-07 17:44:00, Info CBS CommitPackagesState: Completed persisting state of packages 2024-10-07 17:44:00, Info CSI 000003d0@2024/10/7:15:44:00.453 CSI Transaction @0x16429462eb0 destroyed 2024-10-07 17:44:00, Info CBS Perf: Resolve chain complete. 2024-10-07 17:44:00, Info CBS Failed to resolve execution chain. [HRESULT = 0x800f0831 – CBS_E_STORE_CORRUPTION] 2024-10-07 17:44:00, Error CBS Failed to process single phase execution. [HRESULT = 0x800f0831 – CBS_E_STORE_CORRUPTION] 2024-10-07 17:44:00, Info CBS WER: Generating failure report for package: Package_for_ServicingStack_2696~31bf3856ad364e35~amd64~~20348.2696.1.1, status: 0x800f0831, failure source: Resolve, start state: Installed, target state: Installed, client id: WindowsUpdateAgent 2024-10-07 17:44:00, Info CBS Not able to query DisableWerReporting flag. Assuming not set… [HRESULT = 0x80070002 – ERROR_FILE_NOT_FOUND] 2024-10-07 17:44:00, Info CBS Added C:WindowsLogsCBSCBS.log to WER report. 2024-10-07 17:44:00, Info CBS Added C:WindowsLogsCBSCbsPersist_20241007153328.log to WER report. 2024-10-07 17:44:00, Info CBS Added C:WindowsLogsCBSCbsPersist_20241007152150.log to WER report. 2024-10-07 17:44:00, Info CBS Added C:WindowsLogsCBSCbsPersist_20241007143005.log to WER report. 2024-10-07 17:44:00, Info CBS Not able to add %windir%winsxspending.xml to WER report. [HRESULT = 0x80070002 – ERROR_FILE_NOT_FOUND] 2024-10-07 17:44:00, Info CBS Not able to add %windir%winsxspending.xml.bad to WER report. [HRESULT = 0x80070002 – ERROR_FILE_NOT_FOUND] 2024-10-07 17:44:00, Info CBS Reboot mark cleared Read More