[SOLVED] Yet another corrupt COMPONENTS hive

vasily

Member
Joined
Aug 24, 2020
Posts
6
Greetings,

I have been trying to resolve a windows update issue and eventually arrived upon this site. I've tried everything that I read here and ventured some of my own hail marys, such as pulling the COMPONENTS hive from different builds of Windows 10 (1803, 1809 builds, 1909 and 2004.) This has led to a different set of errors, but did not resolve the main one. I have a clone of my system drive as well as another identical computer, so I can keep working while I try various ideas, even if they lead to an unbootable or otherwise (more) corrupted volume because I simply restore the clone when that happens. (I update the clone daily, so no info is lost, plus there's an incremental acronis backup.)

In any case, I followed the procedure outlined in the posting instructions. CBS folder is attached - I copied the DISM log in there as well, in case that should prove useful in any way.

sfc /scannow results in "windows resource protection cannot perform the requested operation"
sfcfix states the DISM version (10.0.17763.1) and image version (10.0.17763.404), runs for 4.5% and returns error 1009.
COMPONENTS hive last modified date is April 9th 2019, all the rest of the hives are updated today, or a week ago or within a month.
BCD TEMPLATE last modified date is March 10th 2019, if that matters.
I have some old backups of the system partition, but none that precede april 2019, unfortunately.

Please help - this is my last hope. Much appreciation for developing solutions to this specific issue and writing the diagnostic tools and all the other work that you have put in. Thanks very much. Cheers
--Vasily
 

Attachments

Any chance someone could look at this? It's been three weeks-ish and it's buried...
 
Hi Welcome to Sysnative,

Do you have the original corrupted COMPONENTS hive? If you have please do this:

Retrieve the Components Hive
  1. Navigate to C:\Windows\System32\Config and locate the COMPONENTS file
  2. Please copy the COMPONENTS file to your desktop
    Note: If you receive an error that this file is in-use, simply reboot your computer and try again
  3. 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
  4. If file will is too large to upload to the forum please share the file using a service like Dropbox, OneDrive, Google Drive, or upload to www.sendspace.com and just provide the link for the file here

The Components Hive is specific for your Windows installation it can't be copied from another system even if using the exact same version...
 
Hi Welcome to Sysnative,

Do you have the original corrupted COMPONENTS hive? If you have please do this:

Retrieve the Components Hive
  1. Navigate to C:\Windows\System32\Config and locate the COMPONENTS file
  2. Please copy the COMPONENTS file to your desktop
    Note: If you receive an error that this file is in-use, simply reboot your computer and try again
  3. 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
  4. If file will is too large to upload to the forum please share the file using a service like Dropbox, OneDrive, Google Drive, or upload to www.sendspace.com and just provide the link for the file here

The Components Hive is specific for your Windows installation it can't be copied from another system even if using the exact same version...

Hi, thanks for your reply. The original corrupted COMPONENTS hive can be retrieved here: COMPONENTS.zip
I'm aware that these files (registry hives) are specific to individual installations - I was hoping that another installation on the same exact machine might produce a usable hive or at least lead me down a path of better understanding the problem. So far, it has not. In any case, thanks for your attention to my post.
Cheers
--Vasily
 
Hi,

Replace Components Hive Manually

!!! WARNING !!! The following fix is only relevant for this system and no other, applying this fix on another computer will not work and most likely will cause problems...
  1. Download COMPONENTS2.ZIP and save it to the Desktop.
  2. Right-click on it and select Extract all.... Make sure the "Show extracted files when complete" is checked and click Extract.
  3. Now you have the COMPONENTS file that we will be using to replace your current one.
  4. Navigate to C:\Windows\System32\config
  5. Right-click on the current COMPONENTS file and select rename. Rename it to COMPONENTS.bad.
    Note: If you get an error that the file is in use, reboot your computer and then try again.
  6. Take the file from the Components folder on your desktop and paste it into C:\Windows\System32\config
 
Hi,

Replace Components Hive Manually

!!! WARNING !!! The following fix is only relevant for this system and no other, applying this fix on another computer will not work and most likely will cause problems...
  1. Download COMPONENTS2.ZIP and save it to the Desktop.
  2. Right-click on it and select Extract all.... Make sure the "Show extracted files when complete" is checked and click Extract.
  3. Now you have the COMPONENTS file that we will be using to replace your current one.
  4. Navigate to C:\Windows\System32\config
  5. Right-click on the current COMPONENTS file and select rename. Rename it to COMPONENTS.bad.
    Note: If you get an error that the file is in use, reboot your computer and then try again.
  6. Take the file from the Components folder on your desktop and paste it into C:\Windows\System32\config

Hi, thank you for the above, it solved the issue of updating to an extent.

I have a followup question: new updates were installed; but the build is not updating. I've tried a manual update to various builds beyond 1809 - no luck. "version (1903, 1909, 2004) cannot be installed on this computer," which is of course nonsense, because if I start from scratch, 2004 or any other build installs without a problem. Therefore, my question is - how do I update the build without doing a clean install? 1809 is EOL in a month or two I think.

Thanks again
--Vasily
 
Hi,

What exactly happens during the Windows 10 upgrade? any error code?

Try to locate the following logs:
C:\Windows\Panther\Setupact.log
C:\Windows\panther\setuperr.log
C:\Windows\inf\setupapi.app.log
C:\Windows\inf\setupapi.dev.log

Some may not exist. Copy the files to the Desktop, zip them and attach the zip file to your post.
 
Hello again,

After several attempts of using windows update and update assistant, two days ago, Oct 13th, something changed and a different update - I don't see the KB number in the list, only the updates that were installed subsequent to it - was installed which moved the system up to 2004, up to the most recent build of 19041.572, along with .NET framework updates and others. The system now passes all the checks, including SFC and DISM.
I'm very grateful for your help - without that initial COMPONENT hive fix, none of this would've been possible.

I have an aside question, if you have time - can you summarize briefly, what you looked for in the corrupted hive and how you changed the problem entries?

Thank you very much for your help.
--Vasily
 
Hi,

Those are good news.

To fix the hive we use a tool created by one member of the Team that can fix some corruptions...

You are welcome.
 

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

Back
Top