[SOLVED] Server 2019 / 0x80073712 on KB5012647

admmpat

Member
Joined
Aug 13, 2021
Posts
15
Hey together,

i got an unexprected strange Problem on one of my Citrix PVS Images.

Windows Updates normaly Worked, even now Security Updates install without any Error.
But the KB5012647 CU 04-2022 brings up the Error 0x80073712.

On CBS Logs i can see, that there is a Problem with amd64_microsoft-client-li..m-service.resources_31bf3856ad364e35_10.0.17763.1490_de-de_e6ea249ecc66cf5a marking the Component Store as Corrupted.
But in the Next Line it says that the Component Store is not Corrupted. Like this one:
2022-04-26 13:06:22, Info CBS Exec: Will not run corruption repair because no store corruption found.
2022-04-26 13:06:22, Info CBS Exec: Processing complete. Session: 30955869_601405823, Package: Package_for_ServicingStack_2865~31bf3856ad364e35~amd64~~17763.2865.1.1, Identifier: KB5012675 [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

As of this i found out, there was an MS KB KB5012675, but this one is not on MS Catalog anymore.
Trying to Force Install it again with /Ignorecheck hat no result.

Code:
2022-04-27 13:26:16, Error                 CSI    00000007@2022/4/27:11:26:16.312 (F) Attempting to mark store corrupt with category [l:22 ml:23]'CorruptDeploymentValue'[gle=0x80004005]
2022-04-27 13:26:16, Error                 CSI    00000008@2022/4/27:11:26:16.312 (F) onecore\base\wcp\componentstore\storelayout.cpp(4001): Error STATUS_SXS_COMPONENT_STORE_CORRUPT originated in function ComponentStore::CRawStoreLayout::QueryTlcDataIdentity expression: (null)
[gle=0x80004005]
2022-04-27 13:26:16, Info                  CBS    Added C:\Windows\Logs\CBS\CBS.log to WER report.
2022-04-27 13:26:16, Info                  CBS    Not able to add current session file to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2022-04-27 13:26:16, Info                  CBS    Not able to add pending.xml to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2022-04-27 13:26:16, Info                  CBS    Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2022-04-27 13:26:18, Error                 CSI    00000009 (F) HRESULT_FROM_WIN32(14098) #703341# 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]
2022-04-27 13:26:18, Info                  CBS    Failed to EnumerateComponentDeployment, component: amd64_microsoft-client-li..m-service.resources_31bf3856ad364e35_10.0.17763.1490_de-de_e6ea249ecc66cf5a [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2022-04-27 13:26:18, Info                  CBS    Failed to load component owners on component: amd64_microsoft-client-li..m-service.resources_31bf3856ad364e35_0.0.0.0_de-de_19577f94fb1e9d1f, version: 10.0.17763.1490 [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2022-04-27 13:26:18, Info                  CBS    Failed to load current component state [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2022-04-27 13:26:18, Info                  CBS    Failed to find or add the component family [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2022-04-27 13:26:18, Info                  CBS    ComponentAnalyzerEvaluateSelfUpdate call failed. [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2022-04-27 13:26:18, Info                  CBS    Failed to evaluate self update [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2022-04-27 13:26:18, Info                  CBS    Failed to evaluate non detect parent update [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2022-04-27 13:26:18, Info                  CBS    Failed to evaluate non parent [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2022-04-27 13:26:18, Info                  CBS    failed to evaluate single applicability [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2022-04-27 13:26:18, Info                  CBS    Failed to evaluate applicability [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2022-04-27 13:26:18, Info                  CBS    Failed to get applicability on updates [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2022-04-27 13:26:18, Error                 CBS    Failed to call external evaluate applicability on package: Package_3814_for_KB5004947~31bf3856ad364e35~amd64~~10.0.1.0, Update: 5004947-7206_neutral [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2022-04-27 13:26:18, Info                  CBS    Failed to evaluate applicability state for XML package: Package_3814_for_KB5004947~31bf3856ad364e35~amd64~~10.0.1.0 [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2022-04-27 13:26:18, Error                 CBS    Failed to check whether package is partially installed, package: Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.2029.1.0 [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2022-04-27 13:26:18, Info                  CBS    Failed to evaluate package's applicability. [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2022-04-27 13:26:18, Info                  CBS    Failed checking if package is deeply superseded:  [Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.2029.1.0] [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2022-04-27 13:26:18, Info                  CBS    Analyze: Failed to collect packages from package store [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2022-04-27 13:26:18, Info                  CBS    Analyze: Failed getting superseded package count [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2022-04-27 13:26:18, Info                  CBS    Session: 30956073_2634787983 initialized by client LanguageFeaturesOnDemand, external staging directory: (null), external registry directory: (null
2022-04-27 13:26:18, Info                  CBS    Reboot mark cleared

Analyze of the Reg Hive not gave me any Visible errors or non ASCII Chars.

Running SFC /Scannow telling me everything is fine.

C:\Users\Administrator\Downloads>sfc /scannow

Systemsuche wird gestartet. Dieser Vorgang kann einige Zeit dauern.

Überprüfungsphase der Systemsuche wird gestartet.
Überprüfung 100 % abgeschlossen.

Der Windows-Ressourcenschutz hat keine Integritätsverletzungen gefunden.

Running DISM /online /cleanup-image /restorehealth can't find an error or Corruption Aswell.

C:\Users\Administrator\Downloads>DISM /online /cleanup-image /restorehealth

Tool zur Imageverwaltung für die Bereitstellung
Version: 10.0.17763.1697

Abbildversion: 10.0.17763.2029

[==========================100.0%==========================] Der Wiederherstellungsvorgang wurde erfolgreich abgeschlossen.
Der Vorgang wurde erfolgreich beendet.

Running the SFCFix ends with the following:

SFCFix version 3.0.2.1 by niemiro.
Start time: 2022-04-28 10:57:40.807
Microsoft Windows Server 10 Build 17763 - amd64
Not using a script file.




AutoAnalysis::
SUMMARY: No corruptions were detected.
AutoAnalysis:: directive completed successfully.




Successfully processed all directives.
SFCFix version 3.0.2.1 by niemiro has completed.
Currently storing 0 datablocks.
Finish time: 2022-04-28 11:29:34.875
----------------------EOF-----------------------

Attached
- the CBS Log of Steps 1-4 after Trying to install the Update.


Thanks for your Help
 

Attachments

Here is the Log of the CompnentsScanner:

Code:
ComponentsScanner Version 1.3.0.0 by sysnative.com
Windows Version: Windows Server 2019 Datacenter x64 (10.0.17763.2029)
Start time: 28.04.2022 15:08:38
Hive scanned: %windir%\System32\config\COMPONENTS
Number of keys: 907963
Number of values: 1262766

==== Critical Errors ====
None

==== Corrupt Key Names ====
None

==== Corrupt Value Names ====
None

==== Corrupt Value Data Type ====
None

==== Corrupt Value Data ====
None

==== Repair Log ====
No possible repairs

Finish Time: 28.04.2022 15:09:14. Corruption scan time: 11,6189364s
===========================EOF===========================
 
Hi,

Step 1. Upload your COMPONENTS hive.
  • Navigate to C:\Windows\System32\Config and locate the COMPONENTS file.
  • Please copy this file to your desktop.
  • Note: If you receive an error that this file is in-use, simply reboot your computer and try again.
  • Right-click on this file on your desktop and select Send To > Compressed (zipped) folder. This will create a file named COMPONENTS.ZIP on your desktop.
  • If the file is too large to upload here, upload the file to www.wetransfer.com and post the link in your next reply.


Step 2. 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.
 
Hi,

I'll need to setup an VM with the German language pack to rebuild the corrupt Deployment key. So this can take some time.
 
Question: Do you have backups of the COMPONENTS hive of this system?
 
Depends on how Far i would need to get Back on the System.
Earlierst Backup would be from 05/2021
 
Can you upload that one as well, and one from July or August 2021 if available?
 
sure, just will take some time for the restores.
I Assume you will need the Registry Hive aswell as the COMPONENTS File from C:\ right?
 
I only need the COMPONENTS hive, the CBS hive is not necessary this time.
 
Hi,

Thanks, tomorrow I'll check if both files can be used. Otherwise I'll need to install all the required LCU's to rebuild the Deployment key from scratch.
 
Good morning,

Thanks, this hive contains some of the missing values, the other ones I need to copy from my VM.
 
Step 1. Run SFCFix with the attached script.
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.


Step 2. Reboot the system and run Windows Update. If it fails attach a new copy of the CBS log.
  • Click the Start button and in the search box, type CMD
  • When you see Command Prompt on the list, right-click on it and select Run as administrator.
  • Copy and paste the following command into it, then press enter.
    Code:
    copy %windir%\logs\cbs\cbs.log "%userprofile%\Desktop\cbs.txt"
  • This command will create cbs.txt on your Desktop. Zip this file and attach the zipped cbs.txt to your next post.
 

Attachments

Hi Maxstar,

worked Fine, the Update went to 100% without any Problems after your fix.

Is there a Way to learn How to find out wich files are missing / corrupted?
 

Attachments

Hi,

Glad to hear everything is working fine now.

For this particular issue there is no tutorial available, but other tutorials can be found in this subforum.
 

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

Back
Top