[SOLVED] I keep getting "Enumeration of driver packages failed: Configuration registry database is corrupted" From PnPUtil and I can't install drivers.

The_Alice

Member
Joined
Jun 8, 2025
Posts
20
Hello,

As the title says, I keep getting "Enumeration of driver packages failed: Configuration registry database is corrupted" in PnPUtil after I woke to my PC having a weird screen where it had white lines and a yellow background. It didn't do much except corrupt my TAP0901 drivers (which is what VPNs use to connect or something like that) and made Windows do a self-repair on startup (didn't take much time to finish). I tried everything, but I couldn't install TAP0901, and I couldn't even install OpenVPN (which gave "TAP0901 error: Failed to install driver. The configuration registry database is corrupted. (Code 0x00003F1) Error on TAP-Windows6 Driver") nor any VPN was working.

For the main issue, I tried SFC and 3 DISM commands. SFC probably detected some issues and fixed them, and DISM didn’t find anything, and neither of them fixed anything. I still keep getting the same error in PnPUtil, and I really don't want to do a Windows factory reset or the “keep my files” option, which removes many things that I can't spend time reinstalling or redoing. I'm scared of it deleting important files and pictures/images. I'm out of solutions and have already spent half of my day trying to fix this. I would really appreciate it if anyone could help me.


System Specs:
  • Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz
  • 16 GB DDR3 RAM
  • Radeon RX550/550 Series 4GB
  • 500 GB HDD (466 GB for Windows)
  • Windows 10 Pro 64-bit
  • Version 20H2
Unfortunately i can't install Version 22H2 for some reason, nor it even tries on startup.

Thanks.
 
Hi and welcome to Sysnative,

Upload your DRIVERS Hive
  • Navigate to C:\Windows\System32\config and locate the DRIVERS file.
  • 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.
  • Right-click on this file on your desktop and select Send To > Compressed (zipped) folder. This will create a file named DRIVERS.ZIP on your desktop.
  • If the file is too large to upload here, upload the file to www.wetransfer.com and post the link in your next reply.
 
Here's the zipfile, fortunately i didn't had to upload it to wetransfer since it was 1mb.

Hopefully this helps and creates a valid solution for me since i can't afford to lose my stuff like apps and many more :(
 

Attachments

Step 1. Replace Drivers 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 DRIVERS.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 DRIVERS file that we will be using to replace your current one.
  4. Navigate to C:\Windows\System32\config
  5. Right-click on the current DRIVERS file and select rename. Rename it to DRIVERS.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 Drivers folder on your desktop and paste it into C:\Windows\System32\config


Step 2. Download
61f7aba7309a1-ComponentsScanner_Icon.png
ComponentsScanner and save it to your desktop.
  • Right-click ComponentsScanner.exe and select "Run as administrator", click Yes on the UAC (User Account Control) prompt which appears.
  • Follow the on-screen instructions.
  • Once complete, a report will be saved to your desktop called ComponentsScanner.txt.
  • Post the logfile ComponentsScanner.txt as attachment into your next reply.
 

Attachments

Yes, ComponentsScanner does not (fully) support insider builds. So please follow the instructions below (step 2).

Download
61f7aba7309a1-ComponentsScanner_Icon.png
ComponentsScanner and save it to your desktop.
  • Navigate to C:\Windows\System32\Config and locate the COMPONENTS file.
  • 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.
  • Drag the COMPONENTS hive file over the ComponentsScanner.exe executable and release it.
64109b7b4d2f2-ComponentsScanner.gif

  • When the following message appears: "ComponentsScanner has detected the following issues that it is able to repair automatically."
  • Press Y to perform the repair.
62446b15462b1-ComponentsScanner-ERROR_BADDB.png

  • Once complete, a report will be saved to your desktop called ComponentsScanner.txt.
  • Post the logfile ComponentsScanner.txt as attachment into your next reply.
 
Well im on dev channel insider build, is there anyway to leave insider build without hard resetting my hdd and wiping everything to do clean windows setup or am i stuck with this forever?
 
Please replace the repaired DRIVERS hive first, then copy the COMPONENTS hive to your desktop and perform the scan with ComponentsScanner.

When both steps completed we can see if you can leave the insider channel of 20H2 which is outdated since May 2022.
 
Well it said "No corruptions were detected in the COMPONENTS hive." after 4 seconds of scan and asked me "Do you want to upload this hive to Sysnative [y/N]"
 
Oh... Sorry im kinda sleepy i didnt understood the first thing, i haven't replaced the drivers file and i really dont know how im supposed to do it as im scared of breaking it while copying the file to config or deleting the drivers from config to place the new one
 
The current DRIVERS hive is corrupt, with a tool developed here at Sysnative I've repaired your hive file. So it's absolutely safe to replace the current hive with the repaire hive file I provided in post #5. So please follow the instructions in that post and let me know when you're ready.
 
No please don't delete the current DRIVERS hive, but follow the instructions below and rename the DRIVERS to DRIVERS.bad.

Replace Drivers 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 DRIVERS.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 DRIVERS file that we will be using to replace your current one.
  4. Navigate to C:\Windows\System32\config
  5. Right-click on the current DRIVERS file and select rename. Rename it to DRIVERS.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 Drivers folder on your desktop and paste it into C:\Windows\System32\config
 
Its done right now and it says no corruption detected, even with new componets and new drivers, this is good right?
 

Attachments

  • ComponentsScanner.zip
    ComponentsScanner.zip
    528 bytes · Views: 2
  • 1749383968757.webp
    1749383968757.webp
    36.3 KB · Views: 2
  • 1749384092006.webp
    1749384092006.webp
    2.1 KB · Views: 2
I tried doing that many times and it just feels like it doesn't work. I press "Leave the program now" then "Stop receiving Insider Preview builds" comes up which does... Nothing. Then i try "follow our instructions on how to stop receiving Insider Preview builds." which sometimes does nothing sometimes it sends me to start again.
 

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

Back
Top