1. #1

    Question "The configuration registry database is corrupt."

    Hi.

    My problems started when I tried to update Windows 10 with KB4134660 y KB4033631 and I received error 0x800703f1 for both of them. I tried to execute "Windows10UpgraderApp.exe" and the download and upgrade (from 15063 to 16299) process seemed to work fine but after reboot it shows that and error was found and it was necessary to return to previous version. I have retry this process several times but with same result.

    Then I started to investigate this situation and finally I found that the "component store" was damaged:
    Code:
    PS C:\WINDOWS\system32> Dism /Online /Cleanup-Image /CheckHealth /english
    
    Deployment Image Servicing and Management tool
    Version: 10.0.15063.0
    
    Image Version: 10.0.15063.0
    
    The component store is repairable.
    The operation completed successfully.

    But it was repairable.
    But when I tried to repair:
    Code:
    PS C:\WINDOWS\system32> Dism /Online /Cleanup-Image /RestoreHealth /english
    Deployment Image Servicing and Management tool
    Version: 10.0.15063.0
    
    Image Version: 10.0.15063.0
    
    [==                         4.5%                           ]
    Error: 1009
    
    The configuration registry database is corrupt.
    
    The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

    Reviewing dism.log found this errors:
    Code:
    2019-01-09 18:42:53, Error                 DISM   DISM Package Manager: PID=13672 TID=10992 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800703f1)
    2019-01-09 18:42:53, Error                 DISM   DISM Package Manager: PID=13672 TID=10992 Failed processing package changes with session option CbsSessionOptionRepairStoreCorruption - CDISMPackageManager::RestoreHealth(hr:0x800703f1)
    2019-01-09 18:42:53, Error                 DISM   DISM Package Manager: PID=13672 TID=10992 Failed to restore the image health. - CPackageManagerCLIHandler::ProcessCmdLine_CleanupImage(hr:0x800703f1)
    2019-01-09 18:42:53, Error                 DISM   DISM Package Manager: PID=13672 TID=10992 Failed while processing command cleanup-image. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800703f1)
    2019-01-09 18:42:53, Info                  DISM   DISM Package Manager: PID=13672 TID=10992 Further logs for online package and feature related operations can be found at %WINDIR%\logs\CBS\cbs.log - CPackageManagerCLIHandler::ExecuteCmdLine
    2019-01-09 18:42:53, Error                 DISM   DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=800703F1

    And reviewing cbs.log I found:
    Code:
    2019-01-09 18:42:53, Error                 CBS    Session: 30713922_3116442048 failed to perform store corruption detect and repair operation. [HRESULT = 0x800703f1 - ERROR_BADDB]

    After this I was totally missed but I found this forum. I started to follow the "Windows Update Forum Posting Instructions" and found that sfc /scannow is reporting "Windows Resource Protection could not perform the requested operation". Then I downloaded sfcfix and this is the log output:
    Code:
    SFCFix version 3.0.1.0 by niemiro.
    Start time: 2019-01-09 12:42:59.621
    Microsoft Windows 10 Build 15063 - 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.
    
    
    
    Failed to process registry database in location 1.
    Failed to load registry hive C:\WINDOWS\System32\config\COMPONENTS into key HKEY_LOCAL_MACHINE\COMPONENTS with error code ERROR_BADDB.
    
    Failed to process registry database in location 2 with error code ERROR_FILE_NOT_FOUND.
    WARNING: Failed to process registry database in location 3 with error code ERROR_INVALID_HANDLE.
    Failed to process registry database in location 4 with error code ERROR_INVALID_HANDLE.
    Failed to process registry database in location 4 with error code ERROR_FILE_NOT_FOUND.
    Failed to process registry database in location 4 with error code ERROR_FILE_NOT_FOUND.
    Failed to process registry database in location 4 with error code ERROR_FILE_NOT_FOUND.
    
    
    SFCFix version 3.0.1.0 by niemiro has completed.
    Currently storing 0 datablocks.
    Finish time: 2019-01-09 12:57:39.911
    ----------------------EOF-----------------------

    I have attached CBS.zip file

    I hope you can guide me towards a solution to this problem.
    Thanks in advance.
    Attached Files Attached Files


    • Ad Bot

      advertising
      Beep.

        
       

  2. #2
    Moderator
    BSOD Kernel Dump Analyst
    Windows Update Instructor
    softwaremaniac's Avatar
    Join Date
    Oct 2014
    Location
    Croatia
    Age
    23
    Posts
    16,800
    • specs System Specs
      • Motherboard:
        ASUS MAXIMUS ROG HERO X
      • CPU:
        Intel Core i7-8700K 3.7GHz
      • Memory:
        Crucial 2x8GB DDR4 2666 MHz
      • Graphics:
        Gigabyte GTX 1080 G1 Gaming 8 GB
      • Sound Card:
        Asus Xonar DSX
      • Hard Drives:
        WD Caviar Black 1TB SATA III 7200rpm, WD Caviar Black 6TB SATA III 7200rpm
      • Disk Drives:
        Samsung 960 Evo 256GB NVME PCIe
      • Power Supply:
        Corsair HX 750W 80+ Platinum
      • Case:
        Fractal Design Define R6
      • Cooling:
        Noctua NH-D14
      • Display:
        Philips Brilliance BDM4065UC 4K 3840x2160
      • Operating System:
        Windows 10 Pro 1803 x64

    Re: "The configuration registry database is corrupt."

    Hello and welcome!

    Retrieve Components Hive
    1. Navigate to C:\Windows\System32\Config and locate the COMPONENTS file.
    2. 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.
    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. The file will likely be too large to upload here so please upload to a file sharing service and just provide the link here.


    Users needing assistance: If I haven't replied to your thread within 48 hours, please send me a Personal Message.

    Windows Update Academy Trainees: If I haven't replied to your CMF thread within 24 hours, please send me a Personal Message.

  3. #3

    Re: "The configuration registry database is corrupt."

    Hi.

    That's the link to my COMPONENTS file: WeTransfer

    Regards

  4. #4
    Moderator
    BSOD Kernel Dump Analyst
    Windows Update Instructor
    softwaremaniac's Avatar
    Join Date
    Oct 2014
    Location
    Croatia
    Age
    23
    Posts
    16,800
    • specs System Specs
      • Motherboard:
        ASUS MAXIMUS ROG HERO X
      • CPU:
        Intel Core i7-8700K 3.7GHz
      • Memory:
        Crucial 2x8GB DDR4 2666 MHz
      • Graphics:
        Gigabyte GTX 1080 G1 Gaming 8 GB
      • Sound Card:
        Asus Xonar DSX
      • Hard Drives:
        WD Caviar Black 1TB SATA III 7200rpm, WD Caviar Black 6TB SATA III 7200rpm
      • Disk Drives:
        Samsung 960 Evo 256GB NVME PCIe
      • Power Supply:
        Corsair HX 750W 80+ Platinum
      • Case:
        Fractal Design Define R6
      • Cooling:
        Noctua NH-D14
      • Display:
        Philips Brilliance BDM4065UC 4K 3840x2160
      • Operating System:
        Windows 10 Pro 1803 x64

    Re: "The configuration registry database is corrupt."

    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.RAR 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.


    Users needing assistance: If I haven't replied to your thread within 48 hours, please send me a Personal Message.

    Windows Update Academy Trainees: If I haven't replied to your CMF thread within 24 hours, please send me a Personal Message.

  5. #5

    Re: "The configuration registry database is corrupt."

    Processes completed.

    CBS.zip file attached.

    Regards.
    Attached Files Attached Files

  6. #6
    Moderator
    BSOD Kernel Dump Analyst
    Windows Update Instructor
    softwaremaniac's Avatar
    Join Date
    Oct 2014
    Location
    Croatia
    Age
    23
    Posts
    16,800
    • specs System Specs
      • Motherboard:
        ASUS MAXIMUS ROG HERO X
      • CPU:
        Intel Core i7-8700K 3.7GHz
      • Memory:
        Crucial 2x8GB DDR4 2666 MHz
      • Graphics:
        Gigabyte GTX 1080 G1 Gaming 8 GB
      • Sound Card:
        Asus Xonar DSX
      • Hard Drives:
        WD Caviar Black 1TB SATA III 7200rpm, WD Caviar Black 6TB SATA III 7200rpm
      • Disk Drives:
        Samsung 960 Evo 256GB NVME PCIe
      • Power Supply:
        Corsair HX 750W 80+ Platinum
      • Case:
        Fractal Design Define R6
      • Cooling:
        Noctua NH-D14
      • Display:
        Philips Brilliance BDM4065UC 4K 3840x2160
      • Operating System:
        Windows 10 Pro 1803 x64

    Re: "The configuration registry database is corrupt."

    Great! Is there anything else you need my assistance with?


    Users needing assistance: If I haven't replied to your thread within 48 hours, please send me a Personal Message.

    Windows Update Academy Trainees: If I haven't replied to your CMF thread within 24 hours, please send me a Personal Message.

  7. #7

    Re: "The configuration registry database is corrupt."

    I have update Windows to version 10.0.16299.904 without problems.
    At this moment, I am installing last security patches and everything is working fine.

    Thanks a lot for your help.

    Regards.

  8. #8
    Moderator
    BSOD Kernel Dump Analyst
    Windows Update Instructor
    softwaremaniac's Avatar
    Join Date
    Oct 2014
    Location
    Croatia
    Age
    23
    Posts
    16,800
    • specs System Specs
      • Motherboard:
        ASUS MAXIMUS ROG HERO X
      • CPU:
        Intel Core i7-8700K 3.7GHz
      • Memory:
        Crucial 2x8GB DDR4 2666 MHz
      • Graphics:
        Gigabyte GTX 1080 G1 Gaming 8 GB
      • Sound Card:
        Asus Xonar DSX
      • Hard Drives:
        WD Caviar Black 1TB SATA III 7200rpm, WD Caviar Black 6TB SATA III 7200rpm
      • Disk Drives:
        Samsung 960 Evo 256GB NVME PCIe
      • Power Supply:
        Corsair HX 750W 80+ Platinum
      • Case:
        Fractal Design Define R6
      • Cooling:
        Noctua NH-D14
      • Display:
        Philips Brilliance BDM4065UC 4K 3840x2160
      • Operating System:
        Windows 10 Pro 1803 x64

    Re: "The configuration registry database is corrupt."

    Excellent news!


    Users needing assistance: If I haven't replied to your thread within 48 hours, please send me a Personal Message.

    Windows Update Academy Trainees: If I haven't replied to your CMF thread within 24 hours, please send me a Personal Message.

Similar Threads

  1. [SOLVED] Configuration registry database corrupt
    By Sultanov in forum Windows Update
    Replies: 7
    Last Post: 07-19-2018, 03:47 PM
  2. [SOLVED] Configuration Registry Database Corrupt!
    By Davii in forum Windows Update
    Replies: 21
    Last Post: 05-07-2018, 06:07 PM
  3. "Configuration registry database is corrupt"
    By ggwp in forum Windows Update
    Replies: 5
    Last Post: 09-21-2017, 02:59 PM
  4. [SOLVED] Configuration registry database corrupt
    By kltye in forum Windows Update
    Replies: 9
    Last Post: 08-23-2016, 07:43 PM
  5. Configuration registry database corrupt
    By alexsmith2709 in forum Windows 10
    Replies: 3
    Last Post: 08-07-2016, 06:33 PM

Log in

Log in