[SOLVED] DISM RestoreHealth fails (missing catalogs)

wvw

Well-known member
Joined
Jul 24, 2024
Posts
54
I have a Win 2016 DC I am trying to shrink WinSxS on. StartComponentCleanup fails; RestoreHealth fails. The RH failures I get are the two seemingly common ones: "the source files could not be found" and "array index out of bounds". I have been able to fix some of the errors in CBS.log by downloading old KBs, expanding the .cabs and pointing DISM there, but the remainder of my errors are for KBs that have been rolled into SSUs (which RestoreHealth doesn't seem to recognize the same way) or other. I have tried running SFCFix and it didn't detect any corruption, despite DISM erroring out. Would really appreciate any help as I am trying to not have to reinstall Windows and upend this site.

Thanks.



-Attached some logs, though I don't think the SFCFix really accompished anything and the log is kinda useless
 

Attachments

My apologies, I didn't see the posting instructions before. I have attached the correct files to this reply.
 

Attachments

Hi and welcome to Sysnative,

Step 1. Download
6530fbb0f4101-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 SFCFix.zip and save it to your desktop.
  • Drag the SFCFix.zip file over the SFCFix.exe executable and release it.
650c22f99662d-6190d993a26f3-SFCFix-Zip-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. Run the following DISM command and post the result. If it fails attach a new copy of the CBS log.
Code:
DISM /online /cleanup-image /RestoreHealth
 

Attachments

  • Thanks
Reactions: wvw
The RestoreHealth operation completed successfully! Thank you very much.

I tried running StartComponentCleanup afterward which failed unfortunately. Is that something you can help with? The WinSxS folder on this server is almost 80GB at this point.
 

Attachments

Hi,

Step 1. Please run the following command first and copy past the result in your next post:
Code:
DISM /online /cleanup-image /AnalyzeComponentStore

Step 2. Download the
577bf0efb8088-FRST.png
Farbar Recovery Scan Tool and save it to your Desktop:

Download the 64 bit version: - Farbar Recovery Scan Tool Link
  • Download the attachment fixlist.txt and save it to your desktop.
  • Right-click on FRST.exe and select "Run as administrator".
  • Press the Fix button.
  • If for some reason the tool needs a restart, please make sure you let the system restart normally.
  • When finished, a log called Fixlog.txt will appear in the same directory the tool is run from.
  • Post the logfile Fixlog.txt as attachment in your next reply.
 

Attachments

  • Thanks
Reactions: wvw
Please open an elevated prompt, run the following command and post the result:
Code:
Dism /Online /Remove-Package /PackageName:Package_for_KB3202790~31bf3856ad364e35~amd64~~10.0.1.0
 
  • Thanks
Reactions: wvw
Deployment Image Servicing and Management tool
Version: 10.0.14393.4169

Image Version: 10.0.14393.4169

Processing 1 of 1 - Removing package Package_for_KB3202790~31bf3856ad364e35~amd64~~10.0.1.0
[==========================100.0%==========================]
The operation completed successfully.
 
Please run the following command again and post the result:
Code:
DISM /online /cleanup-image /StartComponentCleanup
 
C:\Users\Administrator>DISM /online /cleanup-image /StartComponentCleanup

Deployment Image Servicing and Management tool
Version: 10.0.14393.4169

Image Version: 10.0.14393.4169

[==========================100.0%==========================]

Error: 14098

The component store has been corrupted.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
 

Attachments

Step 1. Download
61f7aba7309a1-ComponentsScanner_Icon.png
ComponentsScanner and save it to your desktop.
  • Right-click ComponentsScanner.exe and select "Run as administrator", click Yes on the UAC (User Account Control) prompt which appears.
  • Follow the on-screen instructions.
  • Once complete, a report will be saved to your desktop called ComponentsScanner.txt.
  • Post the logfile ComponentsScanner.txt as attachment into your next reply.

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

Follow these instructions to remove an update.
  • Open the Start menu of Windows and type the command CMD
  • When you see Command Prompt on the list, right-click on it and select Run as administrator.
  • When command prompt opens, copy and paste the following command into it, then press enter.
Code:
wusa /uninstall /KB:4025334
  • Let me know if it says it was successful or you get the message: The update KB4025334 is not installed on this computer.
 
Please run also the following command in an elevated prompt and attach Packages.txt to your next post.
Code:
DISM /online /get-packages /format:table > "%USERPROFILE%\desktop\Packages.txt"
 
Download the
577bf0efb8088-FRST.png
Farbar Recovery Scan Tool and save it to your Desktop:

Download the 64 bit version: - Farbar Recovery Scan Tool Link
  • Open the startmenu and type the command cmd.
  • After you find the Command Prompt, right click on it and select Run as Administrator.
  • Copy and paste the following into the Command Prompt and press enter.
Code:
reg load HKLM\COMPONENTS C:\WINDOWS\SYSTEM32\CONFIG\COMPONENTS
Right-click on the file FRST64.exe and choose Run as administrator.
  • Copy and paste the following (code) into the Search box and click the Search Registry button.
Code:
KB4025334;KB3200970
  • When the scan is complete, a message will display that SearchReg.txt is saved in the same folder FRST was started from.
  • Post the logfile SearchReg.txt as attachment in your next reply.
 
Hi,

Please do the following:

Step 1.
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 SFCFix.zip and save it to your desktop.
  • Drag the SFCFix.zip file over the SFCFix.exe executable and release it.
650c22f99662d-6190d993a26f3-SFCFix-Zip-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. Run the following DISM command and post the result. If it fails attach a new copy of the CBS log.
Code:
DISM /online /cleanup-image /RestoreHealth
 

Attachments

  • Thanks
Reactions: wvw

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

Back
Top