[SOLVED] Server 2016 can't repair component store corruption

ksdavis

Member
Joined
Jul 8, 2020
Posts
16
I have been fighting with a 2016 server that won't install the monthly CU, but installs the other updates fine. After trying the usual suspects of deleting SoftwareDistribution and downloading the KB4561616 package and running it manually did not work, I went digging and found it was reporting Component Store Corruption (0x80073712). SFC could not repair the corruption, nor could DISM. The log file has quite a few of these entries, all with different component numbers.
(C:\Windows\Logs\CBS\CBS.log):


2020-07-08 09:48:31, Info CSI 00000009 Manifest hash for component [l:93 ml:140]'amd64_816942332ac85952fd97b8a328202d39_31bf3856ad364e35_10.0.14393.3442_none_b8f86a089c279f6c' does not match expected value.
Expected:{l:32 b:f343b691dbcfb24cbeb2ca66f45d975d6384dc83ec1b74e811ab19e00ce69da3}
Found:{l:32 b:30a7553f9e01eac79a41037ec6d680c06c0bbaf4ee7ee1d7ff9ae5e71d7966f6}.
2020-07-08 09:48:31, Info CSI 0000000a Looking for manifest in Backup Dir...
2020-07-08 09:48:31, Error CSI 0000000b (F) Unable to load manifest for component [l:93 ml:140]'amd64_816942332ac85952fd97b8a328202d39_31bf3856ad364e35_10.0.14393.3442_none_b8f86a089c279f6c'[gle=0x80004005]
2020-07-08 09:48:31, Error CSI 0000000c@2020/7/8:08:48:31.542 (F) onecore\base\wcp\componentstore\storelayout.cpp(2581): Store corruption detected in function ComponentStore::CRawStoreLayout::FetchManifestContent expression: 0
FileHashMismatch on resource '\winsxs\manifests\amd64_816942332ac85952fd97b8a328202d39_31bf3856ad364e35_10.0.14393.3442_none_b8f86a089c279f6c.manifest'[gle=0x80004005]


I tried various options such as downloading the original ISO to use with DISM as the source, ran chkdsk, and did a full Bitdefender scan (which we have on many other servers that work), none of which reported a problem or fixed the issue. I tried another SFC /scannow after a few failed DISM attempts, which did say it found and fixed errors, but even after a reboot the 2020-06 CU still wouldn't install. I then came across this site and the SFCFix.exe tool which I downloaded and ran, but that too fell over saying "SFCFix has crashed. Something has gone horribly wrong..." and offered to submit a crash report, which I replied Y to. This is the SFCFix.txt log it generated:

SFCFix version 3.0.2.1 by niemiro.
Start time: 2020-07-08 14:01:03.640
Microsoft Windows Server 10 Build 14393 - amd64
Not using a script file.




SFCFix version 3.0.2.1 by niemiro has encountered an unhandled exception.
Currently storing 0 datablocks.
Finish time: 2020-07-08 14:10:32.013
----------------------EOF-----------------------

Running it a second time made no difference. Other than the one update that won't install, and these DISM/SFC errors, the server seems to be behaving OK. I will say though that the server has not successfully installed a CU for over a year. I noticed that when I first started looking at it a few days ago (historically not my server), but after deleting SoftwareDistribution, that history is now only in backup images.

Any suggestions on where to from here (to avoid having to rebuild the server) will be greatly appreciated!

Kevin
 
For the sake of completness, these are the components that are reporting a mis-match, maybe it will help to point in the right direction:
Unfortunately I can't attach the log files as normally requested because SFCFix.exe crashes on my system.

PS C:\windows\logs\cbs> findstr /c:"does not match expected value" cbs.log
2020-07-09 09:23:24, Info CSI 00000009 Manifest hash for component [l:93 ml:140]'amd64_816942332ac85952fd97b8a328202d39_31bf3856ad364e35_10.0.14393.3442_none_b8f86a089c279f6c' does not match expected value.
2020-07-09 09:31:16, Info CSI 00000012 Manifest hash for component [l:93 ml:140]'amd64_03b55a9b2e1b626b3394c0a1d23887ce_31bf3856ad364e35_10.0.14393.3442_none_672d32e3e02da4d0' does not match expected value.
2020-07-09 09:31:16, Info CSI 00000016 Manifest hash for component [l:93 ml:140]'amd64_03b55a9b2e1b626b3394c0a1d23887ce_31bf3856ad364e35_10.0.14393.3442_none_672d32e3e02da4d0' does not match expected value.
2020-07-09 09:31:44, Info CSI 0000001a Manifest hash for component [l:93 ml:140]'amd64_165a93df928f43f7c164fec09fd42f3b_31bf3856ad364e35_10.0.14393.3442_none_98d9e577969a786f' does not match expected value.
2020-07-09 09:31:44, Info CSI 0000001e Manifest hash for component [l:93 ml:140]'amd64_165a93df928f43f7c164fec09fd42f3b_31bf3856ad364e35_10.0.14393.3442_none_98d9e577969a786f' does not match expected value.
2020-07-09 09:31:50, Info CSI 00000022 Manifest hash for component [l:93 ml:140]'amd64_1aae26290285ac36fe61bb9a923988bb_31bf3856ad364e35_10.0.14393.3442_none_62aab0d5a10f16d9' does not match expected value.
2020-07-09 09:31:50, Info CSI 00000026 Manifest hash for component [l:93 ml:140]'amd64_1aae26290285ac36fe61bb9a923988bb_31bf3856ad364e35_10.0.14393.3442_none_62aab0d5a10f16d9' does not match expected value.
2020-07-09 09:32:27, Info CSI 0000002a Manifest hash for component [l:93 ml:140]'amd64_2db84f1a210fd00c75c2ffb5da6fac0a_31bf3856ad364e35_10.0.14393.3442_none_842c141bae44fcd5' does not match expected value.
2020-07-09 09:32:27, Info CSI 0000002e Manifest hash for component [l:93 ml:140]'amd64_2db84f1a210fd00c75c2ffb5da6fac0a_31bf3856ad364e35_10.0.14393.3442_none_842c141bae44fcd5' does not match expected value.
2020-07-09 09:32:34, Info CSI 00000032 Manifest hash for component [l:93 ml:140]'amd64_320719f6e2507633a8461ac977cb3093_31bf3856ad364e35_10.0.14393.3442_none_39900991a979c17b' does not match expected value.
2020-07-09 09:32:34, Info CSI 00000036 Manifest hash for component [l:93 ml:140]'amd64_320719f6e2507633a8461ac977cb3093_31bf3856ad364e35_10.0.14393.3442_none_39900991a979c17b' does not match expected value.
2020-07-09 09:32:41, Info CSI 0000003a Manifest hash for component [l:93 ml:140]'amd64_371bdb796456acd886bc9e7695fa6e4b_31bf3856ad364e35_10.0.14393.3442_none_7efddb31268468b9' does not match expected value.
2020-07-09 09:32:41, Info CSI 0000003e Manifest hash for component [l:93 ml:140]'amd64_371bdb796456acd886bc9e7695fa6e4b_31bf3856ad364e35_10.0.14393.3442_none_7efddb31268468b9' does not match expected value.
2020-07-09 09:32:41, Info CSI 00000042 Manifest hash for component [l:93 ml:140]'amd64_37e92b0151f72e0520ddeedab72f8520_31bf3856ad364e35_10.0.14393.3442_none_17a8e2e0e4f79e7a' does not match expected value.
2020-07-09 09:32:41, Info CSI 00000046 Manifest hash for component [l:93 ml:140]'amd64_37e92b0151f72e0520ddeedab72f8520_31bf3856ad364e35_10.0.14393.3442_none_17a8e2e0e4f79e7a' does not match expected value.
2020-07-09 09:32:44, Info CSI 0000004a Manifest hash for component [l:93 ml:140]'amd64_3a54e9b9af6286d87e0f159365184f5d_31bf3856ad364e35_10.0.14393.3442_none_be8dd97975972c61' does not match expected value.
2020-07-09 09:32:44, Info CSI 0000004e Manifest hash for component [l:93 ml:140]'amd64_3a54e9b9af6286d87e0f159365184f5d_31bf3856ad364e35_10.0.14393.3442_none_be8dd97975972c61' does not match expected value.
2020-07-09 09:32:47, Info CSI 00000052 Manifest hash for component [l:93 ml:140]'amd64_3c6574421887c8b40e48229683f888e9_31bf3856ad364e35_10.0.14393.3442_none_abfe387ed031c42d' does not match expected value.
2020-07-09 09:32:47, Info CSI 00000056 Manifest hash for component [l:93 ml:140]'amd64_3c6574421887c8b40e48229683f888e9_31bf3856ad364e35_10.0.14393.3442_none_abfe387ed031c42d' does not match expected value.
2020-07-09 09:32:52, Info CSI 0000005a Manifest hash for component [l:93 ml:140]'amd64_40d3974ca88cdcfaca579daed6752811_31bf3856ad364e35_10.0.14393.3442_none_54abe1e32cd204b4' does not match expected value.
2020-07-09 09:32:52, Info CSI 0000005e Manifest hash for component [l:93 ml:140]'amd64_40d3974ca88cdcfaca579daed6752811_31bf3856ad364e35_10.0.14393.3442_none_54abe1e32cd204b4' does not match expected value.
2020-07-09 09:32:57, Info CSI 00000062 Manifest hash for component [l:93 ml:140]'amd64_43fcbd7ec531306a92024730f1314ab6_31bf3856ad364e35_10.0.14393.3442_none_d220698a71199e06' does not match expected value.
2020-07-09 09:32:57, Info CSI 00000066 Manifest hash for component [l:93 ml:140]'amd64_43fcbd7ec531306a92024730f1314ab6_31bf3856ad364e35_10.0.14393.3442_none_d220698a71199e06' does not match expected value.
2020-07-09 09:33:03, Info CSI 0000006a Manifest hash for component [l:93 ml:140]'amd64_48be58b30f62863c6f82212c81755c0b_31bf3856ad364e35_10.0.14393.3442_none_e63d89d3748367fd' does not match expected value.
2020-07-09 09:33:03, Info CSI 0000006e Manifest hash for component [l:93 ml:140]'amd64_48be58b30f62863c6f82212c81755c0b_31bf3856ad364e35_10.0.14393.3442_none_e63d89d3748367fd' does not match expected value.
2020-07-09 09:33:14, Info CSI 00000072 Manifest hash for component [l:93 ml:140]'amd64_4f44129e88b4da680d59bec7f5511222_31bf3856ad364e35_10.0.14393.3442_none_a6fae6afba4ef382' does not match expected value.
2020-07-09 09:33:14, Info CSI 00000076 Manifest hash for component [l:93 ml:140]'amd64_4f44129e88b4da680d59bec7f5511222_31bf3856ad364e35_10.0.14393.3442_none_a6fae6afba4ef382' does not match expected value.
2020-07-09 09:33:29, Info CSI 0000007a Manifest hash for component [l:93 ml:140]'amd64_59e45e0750c5975810ee5213674533a5_31bf3856ad364e35_10.0.14393.3442_none_8a32da7a6c831837' does not match expected value.
2020-07-09 09:33:29, Info CSI 0000007e Manifest hash for component [l:93 ml:140]'amd64_59e45e0750c5975810ee5213674533a5_31bf3856ad364e35_10.0.14393.3442_none_8a32da7a6c831837' does not match expected value.
2020-07-09 09:33:39, Info CSI 00000082 Manifest hash for component [l:93 ml:140]'amd64_61c48ff9429bae12d0b74a6576b793c7_31bf3856ad364e35_10.0.14393.3442_none_2f633b39aba37f05' does not match expected value.
2020-07-09 09:33:39, Info CSI 00000086 Manifest hash for component [l:93 ml:140]'amd64_61c48ff9429bae12d0b74a6576b793c7_31bf3856ad364e35_10.0.14393.3442_none_2f633b39aba37f05' does not match expected value.
2020-07-09 09:33:58, Info CSI 0000008a Manifest hash for component [l:93 ml:140]'amd64_721a18f6c40aa74d0067ce0cc9278c6d_31bf3856ad364e35_10.0.14393.3442_none_e4e43fea0cccfd8f' does not match expected value.
2020-07-09 09:33:58, Info CSI 0000008e Manifest hash for component [l:93 ml:140]'amd64_721a18f6c40aa74d0067ce0cc9278c6d_31bf3856ad364e35_10.0.14393.3442_none_e4e43fea0cccfd8f' does not match expected value.
2020-07-09 09:34:18, Info CSI 00000092 Manifest hash for component [l:93 ml:140]'amd64_816942332ac85952fd97b8a328202d39_31bf3856ad364e35_10.0.14393.3442_none_b8f86a089c279f6c' does not match expected value.
2020-07-09 09:34:18, Info CSI 00000096 Manifest hash for component [l:93 ml:140]'amd64_816942332ac85952fd97b8a328202d39_31bf3856ad364e35_10.0.14393.3442_none_b8f86a089c279f6c' does not match expected value.
2020-07-09 09:34:20, Info CSI 0000009a Manifest hash for component [l:93 ml:140]'amd64_8304558dac5beb218a5b0609effcf7df_31bf3856ad364e35_10.0.14393.3442_none_ff0cda96fa2c033d' does not match expected value.
2020-07-09 09:34:20, Info CSI 0000009e Manifest hash for component [l:93 ml:140]'amd64_8304558dac5beb218a5b0609effcf7df_31bf3856ad364e35_10.0.14393.3442_none_ff0cda96fa2c033d' does not match expected value.
2020-07-09 09:34:24, Info CSI 000000a2 Manifest hash for component [l:93 ml:140]'amd64_85ad30cc8b3681c0e607249e6bd8e2f5_31bf3856ad364e35_10.0.14393.3442_none_b098fa3a0d09bd5d' does not match expected value.
2020-07-09 09:34:24, Info CSI 000000a6 Manifest hash for component [l:93 ml:140]'amd64_85ad30cc8b3681c0e607249e6bd8e2f5_31bf3856ad364e35_10.0.14393.3442_none_b098fa3a0d09bd5d' does not match expected value.
2020-07-09 09:34:32, Info CSI 000000aa Manifest hash for component [l:93 ml:140]'amd64_8ca4798f3ecd8f18340571231ca91cfe_31bf3856ad364e35_10.0.14393.3442_none_0989b280f5ebd115' does not match expected value.
2020-07-09 09:34:32, Info CSI 000000ae Manifest hash for component [l:93 ml:140]'amd64_8ca4798f3ecd8f18340571231ca91cfe_31bf3856ad364e35_10.0.14393.3442_none_0989b280f5ebd115' does not match expected value.
2020-07-09 09:35:05, Info CSI 000000b2 Manifest hash for component [l:93 ml:140]'amd64_a78473c640e8bfcaa7c57f4c02742dd5_31bf3856ad364e35_10.0.14393.3442_none_1285e70ecb3019a7' does not match expected value.
2020-07-09 09:35:05, Info CSI 000000b6 Manifest hash for component [l:93 ml:140]'amd64_a78473c640e8bfcaa7c57f4c02742dd5_31bf3856ad364e35_10.0.14393.3442_none_1285e70ecb3019a7' does not match expected value.
2020-07-09 09:35:05, Info CSI 000000ba Manifest hash for component [l:93 ml:140]'amd64_a78a63f76df7bedd881f329d75f0872a_31bf3856ad364e35_10.0.14393.3442_none_e2c5239a4133dfeb' does not match expected value.
2020-07-09 09:35:05, Info CSI 000000be Manifest hash for component [l:93 ml:140]'amd64_a78a63f76df7bedd881f329d75f0872a_31bf3856ad364e35_10.0.14393.3442_none_e2c5239a4133dfeb' does not match expected value.
2020-07-09 09:35:34, Info CSI 000000c2 Manifest hash for component [l:93 ml:140]'amd64_bfdcc7481e2b72a4039153025984619f_31bf3856ad364e35_10.0.14393.3442_none_8441ccbddbe8c981' does not match expected value.
2020-07-09 09:35:34, Info CSI 000000c6 Manifest hash for component [l:93 ml:140]'amd64_bfdcc7481e2b72a4039153025984619f_31bf3856ad364e35_10.0.14393.3442_none_8441ccbddbe8c981' does not match expected value.
2020-07-09 09:36:07, Info CSI 000000ca Manifest hash for component [l:93 ml:140]'amd64_db27fae452e7ed91a6ec04b7159bd77a_31bf3856ad364e35_10.0.14393.3442_none_7ff61449d798d62a' does not match expected value.
2020-07-09 09:36:07, Info CSI 000000ce Manifest hash for component [l:93 ml:140]'amd64_db27fae452e7ed91a6ec04b7159bd77a_31bf3856ad364e35_10.0.14393.3442_none_7ff61449d798d62a' does not match expected value.
2020-07-09 09:36:27, Info CSI 000000d2 Manifest hash for component [l:93 ml:140]'amd64_e7e4cab46a92234dc16c7978a0f3681f_31bf3856ad364e35_10.0.14393.3442_none_0f5a2818501ef9bc' does not match expected value.
2020-07-09 09:36:27, Info CSI 000000d6 Manifest hash for component [l:93 ml:140]'amd64_e7e4cab46a92234dc16c7978a0f3681f_31bf3856ad364e35_10.0.14393.3442_none_0f5a2818501ef9bc' does not match expected value.
2020-07-09 09:36:33, Info CSI 000000da Manifest hash for component [l:93 ml:140]'amd64_ec1fa1fb29575e34fba4c5a8cfdbe83e_31bf3856ad364e35_10.0.14393.3442_none_2471d614d347b9b4' does not match expected value.
2020-07-09 09:36:33, Info CSI 000000de Manifest hash for component [l:93 ml:140]'amd64_ec1fa1fb29575e34fba4c5a8cfdbe83e_31bf3856ad364e35_10.0.14393.3442_none_2471d614d347b9b4' does not match expected value.
2020-07-09 09:36:48, Info CSI 000000e2 Manifest hash for component [l:93 ml:140]'amd64_f7f5e645f56fe27138ebac4b8a72d1d7_31bf3856ad364e35_10.0.14393.3442_none_1f936a82f30602e1' does not match expected value.
2020-07-09 09:36:48, Info CSI 000000e6 Manifest hash for component [l:93 ml:140]'amd64_f7f5e645f56fe27138ebac4b8a72d1d7_31bf3856ad364e35_10.0.14393.3442_none_1f936a82f30602e1' does not match expected value.
2020-07-09 09:36:50, Info CSI 000000ea Manifest hash for component [l:93 ml:140]'amd64_f9f714fab9199f4b84ab42d6bb70260d_31bf3856ad364e35_10.0.14393.3442_none_05a654c3eacca1e5' does not match expected value.
2020-07-09 09:36:50, Info CSI 000000ee Manifest hash for component [l:93 ml:140]'amd64_f9f714fab9199f4b84ab42d6bb70260d_31bf3856ad364e35_10.0.14393.3442_none_05a654c3eacca1e5' does not match expected value.
PS C:\windows\logs\cbs>
 
Reading past the step that failed (in order to anticipate what might be next, not 'jump the gun' and change the environment as reported in this post so your work may become irrelevant!), I found an article that suggests you will always need a copy of the COMPONENTS file. In that case, please find it here:
https://scagroup365-my.sharepoint.c...hCvG19SQZhr7IBOadHNFfjlrflQftOMFvZyw?e=CAIMdF
I'll stand down for now and turn my attention to other servers until I hear back.
Best,
Kevin
 
Hi Softwaremaniac,

Did you get the log file? Windows is now offering different updates - 2020-07 - should I try and install that or wait for you to have a look at the log? My guess is the issue won't be dealt with by a newer update, so I should wait. Please confirm.

Best,
Kevin
 
Hi softwaremaniac,
Hope you had a good holiday. Yes please, the server is still in production use but won't install updates. Anything you can do to help would be great.
 
Hi!

Yes, I did.

SFCFix Script

Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.


  1. Download SFCFix.exe (by niemiro) and save this to your Desktop.
  2. Download the file below, SFCFix.zip, and save this to your Desktop. Ensure that this file is named SFCFix.zip - do not rename it.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCFix.zip.
  5. Drag the file SFCFix.zip onto the file SFCFix.exe and release it.
  6. SFCFix will now process the script.
  7. Upon completion, a file should be created on your Desktop: SFCFix.txt.
  8. Copy (Ctrl+C) and Paste (Ctrl+V) the contents of this file into your next post for me to analyse please - put [CODE][/CODE] tags around the log to break up the text.
 

Attachments

Thanks softwaremaniac,
Process complete, results are:

Code:
SFCFix version 3.0.2.1 by niemiro.
Start time: 2020-08-17 14:05:40.313
Microsoft Windows Server 10 Build 14393 - amd64
Using .zip script file at C:\Users\consoleadmin\Desktop\SFCFix.zip [0]




PowerCopy::
Successfully took permissions for file or folder C:\Windows\WinSxS\Manifests\amd64_816942332ac85952fd97b8a328202d39_31bf3856ad364e35_10.0.14393.3442_none_b8f86a089c279f6c.manifest

Successfully copied file C:\Users\consoleadmin\AppData\Local\niemiro\Archive\Manifests\amd64_816942332ac85952fd97b8a328202d39_31bf3856ad364e35_10.0.14393.3442_none_b8f86a089c279f6c.manifest to C:\Windows\WinSxS\Manifests\amd64_816942332ac85952fd97b8a328202d39_31bf3856ad364e35_10.0.14393.3442_none_b8f86a089c279f6c.manifest.

Successfully restored ownership for C:\Windows\WinSxS\Manifests\amd64_816942332ac85952fd97b8a328202d39_31bf3856ad364e35_10.0.14393.3442_none_b8f86a089c279f6c.manifest
Successfully restored permissions on C:\Windows\WinSxS\Manifests\amd64_816942332ac85952fd97b8a328202d39_31bf3856ad364e35_10.0.14393.3442_none_b8f86a089c279f6c.manifest
PowerCopy:: directive completed successfully.




Successfully processed all directives.
SFCFix version 3.0.2.1 by niemiro has completed.
Currently storing 1 datablocks.
Finish time: 2020-08-17 14:05:42.407
Script hash: D0DKvQtN3jU9XI0oeqQbxT0PVpCFYXf/E+7b5VoKgH8=
----------------------EOF-----------------------
 
Server is in use at the moment. I'll reboot and try to install updates this evening and let you know how I get on.
Best,
Kevin
 
Hi Softwaremaniac,
Unfortunately that didn't fix the issue. Last night it successfully installed the defender update and 2020-07 servicing stack update, but not 2020-08 cumulative update. I rebooted and tried the 2020-08 update again as the only update offered, but it still failed. I tried to run SFCFix.exe in the hope that the changes yesterday had fixed the problem with it crashing, but alas it still crashed. I submitted a bug report, don't know if that would help.
I still have the full download of the 2020-07 cumulative update (KB4534271), but haven't tried that yet to see if it's maybe a download/softwaredistribution folders/files issue.
Any ideas?
 
As for the SFCFix crashing issues, right-click it and select Properties, one of the tabs (I think General), will have an option to unblock the file.

Please also include your CBS.log after the latest failed attempt.
 
Hi Softwaremaniac,
The 'Unblock' didn't make a difference. The exe is running, but crashes after half a minute or so. The SFCFix.txt output is shown below, CBS.log attached.

Code:
SFCFix version 3.0.2.1 by niemiro.
Start time: 2020-08-18 13:05:19.685
Microsoft Windows Server 10 Build 14393 - amd64
Not using a script file.




SFCFix version 3.0.2.1 by niemiro has encountered an unhandled exception.
Currently storing 1 datablocks.
Finish time: 2020-08-18 13:05:52.591
----------------------EOF-----------------------
 

Attachments

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

Back
Top