[SOLVED] Server 2012 R2 - Failing Updates, corrupt configuration database

RNSiTech

Member
Joined
Feb 3, 2020
Posts
8
We have a 2012 R2 server that is failing to update: Code 800703F1. It got stuck on the last Adobe Flash security update KB4561600, supposedly, and hasn't processed any new updates since.

I've run chkdisk /r on the system in question. It did have an index that was off at one point (6 monts ago, I believe) but that was resolved.

I've run sfc /scannow with the result "Windows Resource Protection could not perform the requested operation"

Dism /Online /Cleanup-Image /CheckHealth indicates "No component store corruption detected."

Dism /Online /Cleanup-Image /RestoreHealth results in "Error 1009, the configuration database is corrupt."

DISM log error is as follows: DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=800703F1

My junior technician deleted the SoftwareDistribution folder rather than renaming it in the process he followed to troubleshoot the issue initially. He also ran Adobe Flash's updated full installer as recommended by Adobe.

Running SFCFix resulted in the following:
Code:
SFCFix version 3.0.2.1 by niemiro.
Start time: 2020-09-29 07:15:47.885
Microsoft Windows Server 2012 R2 Update 3 - 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.2.1 by niemiro has completed.
Currently storing 0 datablocks.
Finish time: 2020-09-29 07:20:33.833
----------------------EOF-----------------------
 

Attachments

Hi RNSiTech welcome to Sysnative,

Do you still need assistance with this issue?

If you do please execute the following:

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
 
Thank You.

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
 
Following this should I reboot the server and attempt to check and process updates or run a new DISM health check/restore?
 
If the file isn't locked and you can replace it there is no need of a reboot.

Try to install the updates and report the result.
 

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

Back
Top