[SOLVED] Windows Update/Re-Installation Fails, as does Nvidia Driver Update/Installation - Corrupted Configuration Registry Database

fallingtwice

Member
Joined
Dec 16, 2023
Posts
14
Hello,

I came across this forum when researching my issue and am hoping somebody will be able to give me a hand here. When I attempt to update Windows 10 (currently 10.0.19045 Build 19045), it just tells me that it could not complete the update and is reverting the changes (no error code). I also noticed that none of my installed games were able to run, so I tried to update my Nvidia GPU drivers, which told me that I have a corrupted configuration registry database. I uninstalled my GPU drivers and tried to install them again, but this fails whenever I try.

I attempted to reinstall Windows 10 as a workaround, but it likewise with the Windows update it just says it was unable to make the changes and undos them with no error code. When I did an sfc scan, it said that Windows Resource Protection found corrupt files but was unable to fix some of them. As per the instructions on this forum, I have also ran dism scan and component scanner, and attatched CBS.zip and ComponentScanner.txt. Any help would be much appreciated!

Edit: Please let me know if any further info is needed and I will happily provide
 

Attachments

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.
 
Hi,

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

Afterwards reboot the machine and attempt to update again. If it fails attach a new copy of the CBS logs.
 

Attachments

Hey again, apologies for the delayed reply. Your fix worked to an extent - I was able to re-install my Nvidia drivers, and they work just fine now. However, I am still unable to install my Windows update. Thank you so much for getting this far, if you wouldn't mind sorting the update issue too that would be excellent, thanks!
 

Attachments

Hi,

Upload the setupapi.dev.log file
  • Open Windows Explorer and browse to the C:\Windows\INF folder.
  • Right-click on the file setupapi.dev.log and choose Send to > Compressed (zipped) folder.
  • Now the message will appear, "Windows cannot create the Compressed (zipped) Folder here. Do you want it to be placed on the desktop instead?"
  • Click on the Yes button here.
657716925b62b-setup-api-dev-folder.png

  • Attach the file setupapi.dev.zip in your next reply.
 
Hi,

Download
6530fbb0f4101-56f31e53c97da-SFCFix.PNG
SFCFix and save it to your desktop.
  • Download the attachment SFCFixScript.txt and save it to your desktop.
  • Drag the SFCFixScript.txt file over the SFCFix.exe executable and release it.
650ef5dbdfd06-62151e1bebac4-SFCFix-Txt-Eng.gif

  • SFCFix will launch, let it complete.
  • Once done, a file will appear on your desktop, called SFCFix.txt.
  • Post the logfile (SFCFix.txt) as attachment in your next reply.
 

Attachments

Hi,

Step 1. Download
6530fbb0f4101-56f31e53c97da-SFCFix.PNG
SFCFix and save it to your desktop.

Warning: This fix was written specifically for this system. Do not run this fix on another system.
  • Save any work you have open, and close all programs.
  • Download the attachment SFCFix.zip and save it to your desktop.
  • Drag the SFCFix.zip file over the SFCFix.exe executable and release it.
650c22f99662d-6190d993a26f3-SFCFix-Zip-Eng.gif

  • SFCFix will launch, let it complete.
  • Once done, a file will appear on your desktop, called SFCFix.txt.
  • Post the logfile (SFCFix.txt) as attachment in your next reply.


Step 2. Run the System File Checker and post the result. If it fails attach a new copy of the CBS log.
Code:
SFC /Scannow
 

Attachments

Hey, sorry again for the long waits between replies.

I tried to follow the steps you sent, however when I tried the sfc scan it always says I need to restart (see attached screenshot) but even after restarting it still says this no matter what. With that in mind I don't know if the CBS log is of any use to you as the sfc scan doesn't appear to be running but I attached it anyway just in case. I've also attached the txt file.
 

Attachments

Hi,

Open an elevated command prompt, run the following command and post the result.
Code:
DISM /Image:C:\ /Cleanup-Image /RevertPendingActions
 
Hey,

I ran this and it gave me an error. I've attached a screenshot of the output and a copy of the DISM log.
 

Attachments

  • DISM output.png
    DISM output.png
    59.4 KB · Views: 2
  • dism.log
    dism.log
    23 MB · Views: 1
Hi,

I tried this, and got this error back. Apologies for the dodgy quality, as far as I know there's not a way to screenshot from this screen.
 

Attachments

  • IMG_1957.jpg
    IMG_1957.jpg
    93.2 KB · Views: 1
Please replace X in the command with the correct drive letters.
Code:
DISM /Image:X:\ /ScratchDir:X:\Scratch /Cleanup-Image /RevertPendingActions
E.g.
Code:
DISM /Image:C:\ /ScratchDir:C:\Scratch /Cleanup-Image /RevertPendingActions
 
Hahaha okay that should have been obvious in retrospect, my bad. I've corrected it to the C drive, however I'm still getting the same error? Apologies if I'm overlooking something obvious again.
 

Attachments

  • Correct Drive.png
    Correct Drive.png
    2.1 KB · Views: 2
  • IMG_1959.jpg
    IMG_1959.jpg
    87.8 KB · Views: 2
In the recovery environment the drive letters could be differ, to find the correct one you can run the following command first.
Code:
BCDEdit
After osdevice you will see the driveletter of the system drive, this could also be D:\. Then the command should be:
Code:
DISM /Image:D:\ /ScratchDir:D:\Scratch /Cleanup-Image /RevertPendingActions
 
After osdevice, it said E, so I tried with that and I got the same error message back. I also tried with D per your suggestion, which also gave me the same error.
 

Attachments

  • IMG_1961.jpg
    IMG_1961.jpg
    138.3 KB · Views: 1
Please try the following command without temporary directory.
Code:
DISM /Image:E:\ /Cleanup-Image /RevertPendingActions
 

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

Back
Top