My C:\WINDOWS\SYSTEM32\CONFIG\COMPONENTS is fully destroyed 2 years ago
win8.1 x64; ERROR_SXS_COMPONENT_STORE_CORRUPT; Failed to get CSI system store; OpenCanonicalDataKey - Microsoft Q&A
And recent days I managed to get DISM working again so I'm trying to install some components and get some error in CBS.log
When install KB5003318 for Visual Studio 2022:
2022-05-29 15:07:06, Error CSI 0000035b@2022/5/29:07:07:06.624 (F) base\wcp\componentstore\versionedindex.cpp(3568): Store corruption detected in function ComponentStore::CRawStoreLayout::CheckFamilyIndexForDeadWinnerComponent expression: (null)
MissingWinningComponentKey on resource [92]"amd64_netfx4-fod_advertised_shared_reg_b03f5f7f11d50a3a_4.0.9680.16462_none_f7c58d76dde901b6"[gle=0x80004005]
When install VCRedist 2008SP1 for AutoCAD2016:
2022-05-29 16:48:39, Error CSI 00000003@2022/5/29:08:48:39.890 (F) base\wcp\componentstore\versionedindex.cpp(3568): Store corruption detected in function ComponentStore::CRawStoreLayout::CheckFamilyIndexForDeadWinnerComponent expression: (null)
MissingWinningComponentKey on resource [78]"amd64_microsoft.vc90.atl_1fc8b3b9a1e18e3b_9.0.30729.6161_none_0a1fd3a3a768b895"[gle=0x80004005]
But when execute DISM /Online /Cleanup-Image /RestoreHealth CBS.log and DISM.log say it's OK
=================================
Checking System Update Readiness.
Summary:
Operation: Detect and Repair
Operation result: 0x0
Last Successful Step: Entire operation completes.
Total Detected Corruption: 0
CBS Manifest Corruption: 0
CBS Metadata Corruption: 0
CSI Manifest Corruption: 0
CSI Metadata Corruption: 0
CSI Payload Corruption: 0
Total Repaired Corruption: 0
CBS Manifest Repaired: 0
CSI Manifest Repaired: 0
CSI Payload Repaired: 0
CSI Store Metadata refreshed: True
I think it's because there're some values missing in HKLM\COMPONENTS\DerivedData\Components\<component name>\
some subkeys in it (for example HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_00570906dd8945bb8e660d3db2c4b89f_b03f5f7f11d50a3a_4.0.9696.16561_none_908e1d7a8e69d96d) only have two values: identity REG_BINARY; S256H REG_BINARY
and other subkeys are empty (for example HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_microsoft.jscript.registry_31bf3856ad364e35_4.0.9696.16561_none_e0b5be3230bdb8a8)
It's impossible to reinstall all components because most of them cannot be uninstalled and its setup doesn't support directly reinstall to repair. So how on earth do you guys figure out what values should be in these subkeys? I have 1949 subkeys to deal with. REG QUERY HKLM\COMPONENTS\DerivedData\Components | FIND /C "HKEY" shows there're 1949 components.
Who can help me, I don't want to reinstall this cursed system.