[SOLVED] Error 1009: The configuration registry database is corrupt (Win2K16E)

TMow

New member
Joined
Jan 29, 2019
Posts
4
Hello Folks!

Because I can't install any Windows Updates anymore on a Windows Server 2016 Essentials, I tried to do a repair by
DISM.exe /Online /Cleanup-image /Restorehealth

It stops at 4,5% with
Error: 1009. The configuration registry database is corrupt

The log of SFCFix says

FCFix version 3.0.0.0 by niemiro.
Start time: 2019-01-29 14:07:17.734
Microsoft Windows Server 10 Build 14393 - amd64
Not using a script file.

AutoAnalysis::
WARNING: Failed to check store directories with return code 1 and error code ERROR_FILE_NOT_FOUND. COMPONENTS hive may be corrupt.

WARNING: Components hive failed load test and may be corrupt.

WARNING: Components hive failed final reload test with error code ERROR_BADDB and may be corrupt.

SUMMARY: No corruptions were detected.
AutoAnalysis:: directive completed successfully.

Successfully processed all directives.
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 0 datablocks.
Finish time: 2019-01-29 14:10:57.745
----------------------EOF-----------------------


Here the COMPONENTS Hive zipped:
COMPONENTS.zip - Google Drive



Thank you loads in advance for your help!
 
Hello and welcome!

Step 1 - Replace Components Hive Manually

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 COMPONENTS.ZIP and save to your 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 we 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




Step#2 - DISM /RestoreHealth Scan
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. Right-click on the Start button and select Command Prompt (Admin)
  2. When command prompt opens, Copy (Ctrl+C) and Paste (Right-click > Paste) the following command into it, then press Enter
    Dism /Online /Cleanup-Image /RestoreHealth
  3. Once it finishes, copy and paste the following into the command-prompt window and press Enter. If prompted to overwrite the existing file go ahead.
    copy %windir%\logs\cbs\cbs.log "%userprofile%\Desktop\cbs.txt"
  4. Once this has completed please go to your Desktop and you will find CBS.txt => Please zip/upload to this thread.
    Please Note:: if the file is too big (over 7MB) to upload to your next post, please upload via a service such as Dropbox or One Drive or SendSpace and just provide the link.
 
Sorry the late reply, I couldn't test it earlier.

It's really fixed, I'm impressed!! Thanks a lot again for your help, I really appreciate!

Any idea what causes the corrupted database? - just to avoid it in the future...:o1
 
Great! I cannot tell you what caused the issue as I don't have an insight into what was done on the machine prior to the incident. If you have an issue later on, just start a new thread. :)
 

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

Back
Top