WIN10 N 20h2 Unable to Install Media Feature Pack - DISM Error: 1009 "The configuration registry database is corrupt."

ArtemisHacks

Member
Joined
Mar 20, 2021
Posts
5
Hello,

I ran into this issue today after trying to launch a game on my PC which apparently required "mfplat.dll" which was missing. After looking online it was clear that I did not have the Media Feature Pack installed on my version of windows (10 Pro N 20h2). However when I tried to install this by adding the optional feature through windows, nothing happened... Like, at all. No errors, notifications, nothing. I tried restarting and the Media Pack was still listed as an optional feature and was not installed.

I dug deeper online and found that you could use DISM on the command line to install the package, so I tried the following:


Code:
C:\WINDOWS\system32>DISM /Online /Add-Capability /CapabilityName:Media.MediaFeaturePack~~~~0.0.1.0

Deployment Image Servicing and Management tool
Version: 10.0.19041.746

Image Version: 10.0.19042.804


Error: 1009

The configuration registry database is corrupt.

The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log


SFC Also does not work:
Code:
C:\WINDOWS\system32>sfc /scannow

Beginning system scan.  This process will take some time.


Windows Resource Protection could not perform the requested operation.

I also downloaded and ran SFCFix. Here is the log:
Code:
SFCFix version 3.0.2.1 by niemiro.
Start time: 2021-03-20 16:15:04.876
Microsoft Windows 10 Build 19042 - 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: 2021-03-20 16:20:30.996
----------------------EOF-----------------------

I thankfully found this forum via this thread which appears extremely similar if not identical to the issue I am having: [SOLVED] - "The configuration registry database is corrupt."

Any help would be extremely appreciated! I've also attached the CBS logs, and here is my components file: Meet Google Drive – One place for all your files

Thanks,
Artemis
 

Attachments

Last edited:
/bump (shamefully)

I feel bad bumping my own post but you guys are essentially my last hope at this point to try and resolve this issue without doing a full reformat. Please help save my system!

Regards,
Artemis
 
Hi,

If you still need help on this please change the google drive link to public so we can check.
 
Hi Artemis,

Thanks for the file.

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
 
SleepyDude, thank you so much!! This resolved my issues and I was able to install the media pack successfully.

Will be sending a donation your way.

Artemis
 
Back
Top