[SOLVED] Fail to install KB5025229 on Win 2019

Weiler

Contributor
Joined
Jul 27, 2022
Posts
18
Hello windows update installation fails on one of my servers. CBS. log says 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT
dism /online /cleaunp-image /restoreHealth returns no errors
sfc /scannow works fine too

Code:
2023-04-21 05:45:11, Info                  CBS    Appl: Package: Package_2994_for_KB5022286~31bf3856ad364e35~amd64~~10.0.1.7, Update: 5022286-5561_neutral, Applicable: Applicable, Disposition: Installed
2023-04-21 05:45:11, Info                  CBS    Plan: Package: Package_2994_for_KB5022286~31bf3856ad364e35~amd64~~10.0.1.7, Update: 5022286-5561_neutral, current: Installed, pending: Default, start: Installed, applicable: Installed, targeted: Superseded, limit: Superseded, selected: Default
2023-04-21 05:45:11, Error                 CSI    00000007@2023/4/21:10:45:11.270 (F) Attempting to mark store corrupt with category [l:22 ml:23]'CorruptDeploymentValue'[gle=0x80004005]
2023-04-21 05:45:11, Error                 CSI    00000008@2023/4/21:10:45:11.271 (F) onecore\base\wcp\componentstore\storelayout.cpp(4001): Error STATUS_SXS_COMPONENT_STORE_CORRUPT originated in function ComponentStore::CRawStoreLayout::QueryTlcDataIdentity expression: (null)
[gle=0x80004005]
2023-04-21 05:45:11, Info                  CBS    Added C:\Windows\Logs\CBS\CBS.log to WER report.
2023-04-21 05:45:11, Info                  CBS    Added C:\Windows\Logs\CBS\CbsPersist_20230421092702.log to WER report.
2023-04-21 05:45:11, Info                  CBS    Added C:\Windows\Logs\CBS\CbsPersist_20230421090025.log to WER report.
2023-04-21 05:45:11, Info                  CBS    Added C:\Windows\Logs\CBS\CbsPersist_20230420182721.log to WER report.
2023-04-21 05:45:11, Info                  CBS    Added C:\Windows\Logs\CBS\CbsPersist_20230419205837.log to WER report.
2023-04-21 05:45:11, Info                  CBS    Added C:\Windows\Logs\CBS\CbsPersist_20230419204118.log to WER report.
2023-04-21 05:45:11, Info                  CBS    Not able to add pending.xml to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2023-04-21 05:45:11, Info                  CBS    Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2023-04-21 05:45:11, Error                 CSI    00000009 (F) HRESULT_FROM_WIN32(14098) #2663270# from Windows::ServicingAPI::CCSITransactionAnalysis_ICSIInventory::EnumComponentsDeployments(flags = (ICSIINVENTORY_ENUMCOMPONENTSDEPLOYMENTS_FLAG_INCLUDE_PINNED|ICSIINVENTORY_ENUMCOMPONENTSDEPLOYMENTS_FLAG_INCLUDE_INSTALLED|ICSIINVENTORY_ENUMCOMPONENTSDEPLOYMENTS_FLAG_ASSEMBLY_NOT_FOUND_RETURNS_NULL), cComponents = 1)
[gle=0x80073712]
2023-04-21 05:45:11, Info                  CBS    Failed to EnumerateComponentDeployment, component: wow64_microsoft-windows-alacencoder_31bf3856ad364e35_10.0.17763.1697_none_68a1060748f34cf2 [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2023-04-21 05:45:11, Info                  CBS    Failed to load component owners on component: wow64_microsoft-windows-alacencoder_31bf3856ad364e35_0.0.0.0_none_9b24a04d779a2f6e, version: 10.0.17763.1697 [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2023-04-21 05:45:11, Info                  CBS    Failed to load current component state [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

i attached CBS.zip and here's the link to zipped COMPONENTS hive COMPONENTS.zip
 

Attachments

Hi,

Export CBS (Component Based Servicing) hive
  • Click on the Start button and type regedit
  • When you see regedit on the list, right-click on it and select Run as administrator.
  • When regedit opens, using the left pane, navigate to the following registry key and select it by clicking on it once.
    Code:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing
  • Once selected, click File > Export....
  • Change the Save as type: to Registry Hive Files (*.*).

    622dbef75cd3a-Export-CBS-hive.png

  • Name this file ComponentBasedServicing (with no file extension) and save it to your Desktop.
  • Right-click on the saved file and choose Send > Compressed (zipped) Folder.
  • Attach the .ZIP file to your next post.
  • If the file is too large to upload here, upload the file to www.wetransfer.com and post the link in your next reply.
 
Do you have a similar server with the same patch level to provide a COMPONENTS hive and CBS hive from?
 
I'm afraid not. it has so many apps installed that it will be very difficult to find a similar one.
 
Do you have recent backups of the COMPONENTS hive of this server?
 
Hi,

I have rebuild the corrupted registry key from a new VM, here's the fix.

Download
56f31e53c97da-SFCFix.PNG
SFCFix and save it to your desktop.
Warning: This fix was written specifically for this system. Do not run this fix on another system.
  • Save any work you have open, and close all programs.
  • Download the attachment SFCFixScript.txt and save it to your desktop.
  • Drag the SFCFixScript.txt file over the SFCFix.exe executable and release it.
62151e1bebac4-SFCFix-Txt-Eng.gif

  • SFCFix will launch, let it complete.
  • Once done, a file will appear on your desktop, called SFCFix.txt.
  • Post the logfile (SFCFix.txt) as attachment in your next reply.

Afterwards reboot the server and attempt to update. If it fails attach a new copy of the CBS logs.
 

Attachments

Hi,

You're welcome. Glad to hear the problem has been resolved...(y)
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top