[SOLVED] Configuration Registry Database Is Corrupt - ERROR_BADDB

hansmeets

Member
Joined
Feb 22, 2021
Posts
5
Hello!

I'm facing an issue with a Windows 10 computer which hasn't been able to update since 2019. It appears to have serious problems with a corrupted COMPONENTS store.
Some wild searches on the internet all led to this forums for the ultimate solutions :-)

Steps taken:
- SFC /scannow: Windows Resource Protection could not perform the requested operation.
- Dism /Online /Cleanup-Image /ScanHealth: Error 1009: The Configuration Registry Database Is Corrupt
- SFCFix: WARNING: Components hive failed final reload test with error code ERROR_BADDB and may be corrupt.

I guess that indeed the components hive is seriously damaged...

I'm very curious if you are able to help with this problem! Thanks in advance.

I've attached the CBS and SFCFix logs.
COMPONENTS file: COMPONENTS.zip
 

Attachments

Hi Welcome to Sysnative,

This should help...

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
 
Thank you very much! I'm getting a bit further now.

Although sfc and dism are finishing without error now, I am now still unable to install the latest Windows Updates.

Update KB4537762 is offered through Windows Update, but it fails with error "0x8007371b". I have downloaded the standalone package from the WU Catalog, but this one also doesn't complete yet.

Please find fresh CBS logs in the attachments. Thanks!
 

Attachments

Hi, I've tried that one, but I got an "The update is not applicable to your computer." error.. should I try an older SSU update first? I get the same error when I try to apply the latest (standalone) CU (KB4601354) instead of the one that is offered on Windows Update (02-2020).
 
Because the Windows 10 1803 no longer have support try to upgrade to the latest version
https://go.microsoft.com/fwlink/?LinkID=799445

If you have any 3rd party Antivirus installed I suggest you temporarily remove it. The upgrade process keeps all the data and programs but its always good idea to have backup copies of your data just in case.
 
Hi, I didn't expect an upgrade to work with all those problems, but it did! I was able to upgrade to 20H2 and updates are working again. Thanks for your help!
 

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

Back
Top