Get IT Solutions

How to do IT
Menu
  • Home
  • SCCM 2012
    • Deploy Packages
    • Troubleshooting errors SCCM 2012
  • Windows
    • Applications Silent Install
    • Windows Tools
    • Windows Error
    • Script
    • Exchange Server
    • Troubleshooting Office
    • Applications Errors
  • Database
    • SQL Server
    • MySQL
    • Oracle
  • Cybersecurity
  • Other
  • Reviews

How to Fix DISM Error 1009: The Configuration Registry Database Is Corrupt

The error “DISM Error 1009: The Configuration Registry Database Is Corrupt” isn’t new for Windows users. It can show up when you’re trying to open programs on your PC, but in this post, we’re addressing this error concerning DISM tool on your PC. You already know that DISM help diagnoses various problems on your PC, but if it turns out that the tool isn’t working and is showing errors such as the “DISM Error 1009”. You probably won’t be able to run some troubleshoots on your Windows PC.

What Is DISM Error 1009: The Configuration Registry Database Is Corrupt?

It’s an error that shows up when you attempt to repair Windows image with a corrupt registry. It mostly occurs when you run these two commands:

  • Dism /Online /Cleanup-Image /Restorehealth.
  • Dism /Online /Cleanup-image /Restorehealth /source:wim:X:\sources\install.wim:1 
    /LimitAccess.

Also, it can show up when running the DISM command in WinRE (Windows Recovery Environment). The popular command that causes the problem is: “Dism.exe /Image:X:\ /Cleanup-Image /Restorehealth”.

The second scenario that shows up this error is when the Windows update failed on Windows 10. Generally, when you Look at the error code, we can conclude that it’s an error caused by corrupt registry files and they have to be fixed to solve the problem.

What Is DISM Error 1009

What Is DISM Error 1009

How To Fix DISM Error 1009

Before solving the error, you need to have your Windows Installation Media. That’s either a DVD or USB. If you don’t have access to it, then you need to download online or use Microsoft’s Media creation tool.

Fix 1: Remove Windows Update

If you started experiencing the problem after installing updates, you need to remove these updates from your PC. Here is how to do that from your installation media:

  1. Boot the PC using your Installation media.
  2. On the boot screen, you should open Command Prompt by pressing Shift + F10, or alternatively, you can click on “Next” and then select Repair My Computer > Troubleshoot > Command Prompt.
  3. Type this command when the Command Prompt opens:
    wmic logicaldisk get name
  4. Hit enter to run the command, all the drives on your PC will be listed with this command.
  5. Next, you type “dir C:” in the command prompt to locate the drive that has the “Windows” folder. It’s the drive that has Windows installation. You should replace the “C” with the alphabet of your drive or any other name you gave to your drive where windows are installed. It can be the letter D: or F:, just replace with the appropriate letter.
  6. Once you trace the drive that contains the Windows folder you then run C: and hit enter. That’s if the name of your drive is C:/. Whatever the name of the drive is, you should type the name in the command prompt and hit enter.
  7. Next, you should create a scratch folder on your drive by typing the command
    mkdir C:\Scratch
  8. You now run this command:
    DISM /Image:C:\ /ScratchDir:C:\Scratch /Cleanup-Image /RevertPendingActions 

    to roll back the updates you have installed. Always remember to replace “C:” with the name of your drive.

  9. After executing the command above, you’ll be receiving the message:
"Reverting pending actions from the image….

The operation was completed.  Any revert of pending actions will be attempted after the reboot

The operation completed successfully".
everting pending actions from the image….

everting pending actions from the image….

  1. After receiving the above message, you then close Command Prompt and restart your PC.

If Windows can boot successfully, you now continue working with your PC. If on the other hand it fails to boot and is attempting to install the updates again, you should execute these steps:

  1. Restart your PC and boot using the installation media as you did previously.
  2. Launch the command prompt following the steps above.
  3. You now run the following three commands in order and don’t forget to replace “C:” with your drive name:
del C:\Windows\SoftwareDistribution

del C:\Windows\WinSxS\cleanup.xml

del C:\Windows\WinSxS\pending.xml
  1. Hit enter after each command to run, and when successfully done, you should restart your PC.
  2. If the system still fails to boot again, you should boot again and open the command prompt, then run the following set of commands:
chkdsk /f C:

sfc /scannow /offbootdir=C:\ /offwindir=C:\windows

dism /image:C:\ /cleanup-image /restorehealth
  1. Replace “C:” with your drive as in the previous steps.
  2. You now restart your PC, and hopefully, you’ll be able to get rid of DISM Error 1009 “The configuration registry database is corrupt”, and if not, you should proceed to the next fix.

Fix 2: Registry restore from backup

The next troubleshoot you need to try now is restoring the Windows registry using the “RegBack” folder and here is how to execute the steps:

  1. Boot Windows with installation media like you did previously, open the command prompt, and run the command “wmic logicaldisk get name” to list down your drives and then locate the Windows folder from the drive you’re using. Note that you’re running this command if you don’t know the name of the drive windows is installed. If you already know you just need to run “C:” to open the Windows folder on the drive (keeping in mind to replace “C:” with your drive name.
  2. You now run these three commands one by one:
cd \windows\system32\config
md Backup
copy *.* Backup
md Backup

md Backup

  1. You then navigate to the RegBack folder by running the command “cd RegBack” in the command prompt.
  2. There would be two scenarios: first, there would be a list of files, and their sizes will be displayed in bytes, you might notice files that have zero bytes (0). This shows that such registry files are either corrupt or empty and that should be the cause of the problem. You should now stop here because the best thing to do here is to restore Windows which we’ll outline in the next fix.
  3. The second scenario is that when none of the files displayed have zero bytes (0). In this case, you need to run this command “copy *.* ..” executing this command will copy registry files from ‘Windows\System32\Config\RegBack’ Folder to “Windows\System32\Config\” Folder.
  4. If you’re prompted, you should press the letter “A” on your keyboard to overwrite the files in the destination folder.
  5. Once the files have finished copying, you now type “Exit” and press enter to exit the command prompt Windows.
  6. Restart your PC and see if things are working.
  7. If you’re not able to boot successfully, you should boot again with WinRE. Open the command prompt just like in the previous steps during boot and run these commands one by one:
chkdsk /f C:
sfc /scannow /offbootdir=C:\ /offwindir=C:\windows
dism /image:C:\ /cleanup-image /restorehealth
  1. Hopefully, you might solve the problem when windows restart.

Fix 3: Restore Windows to a previous working version

As mentioned in the fix above, if you received a Zero (0) value in some of the files listed earlier. You need to restore windows because it shows that the registry is seriously damaged. Here is how to do that:

  1. You first boot your PC using Installation media as you did in the previous methods.
  2. Select the option “Repair Your Computer” and then “Troubleshoot”.
  3. The next option to choose on the screen is “Advanced Options” and then choose “System Restore”, or in some PC’s you’ll see the option “Go back to a previous build”.
  4. You’ll now select your operating system in the next screen that shows up.
  5. Click next when you’re at the System Restore Wizard.
  6. You then select the restore point, you need to select a date when your system was working smoothly.
  7. Click “Next” to start the system restore process. When finished you’ll be prompted to restart your PC, or in most cases, it will restart automatically.
  8. You now check for the error to see if it’s gone or not.
system restore windows 10

system restore windows 10

Fix 4: Repair Windows

If “DISM Error 1009 The configuration registry database is corrupt” couldn’t be fixed with system restore, you now repair windows. This is pretty simple, you should boot your computer using Installation media, as usual. Then you select the option Repair your computer, and you’ll be guided through the process. It will take some time because Windows will now compare the original files on your installation media to the current files on the PC and then automatically repair the files affected.

So far these are the most effective solutions for DISM Error 1009 “The configuration registry database is corrupt”. Let us know the troubleshoot that solved the error for you even if it’s not listed here so that our readers can learn more about this error.

Share
Tweet
Google+
Pinterest
Linkedin
Stumble
Email
Prev Article
Next Article

Related Articles

Best Solutions For Resource Not Owned BSoD Error On Windows 11/10/7
BSoD error codes are the worst nightmare for any Windows …

Best Solutions For Resource Not Owned BSoD Error On Windows 11/10/7

Delete hiberfil.sys from windows xp
In this article we will explain how to remove or …

Fastest way to delete hiberfil sys from windows 10/8/7 and XP – CMD

Best Computers & Laptops

Best Computer for Cyber Security – Laptop and Desktop
Best Computer for Cyber Security
Hey, are you seeking the best computer for cyber security? Well, we must say you have come to the right place to find your answer and guidance. There are a plethora of products out there for you to pick from ...
Read More
Best Computer for Microsoft Office & Excel – Laptop and Desktop
Best Computer for Microsoft Office & Excel
Are you finding the Best Computer for Microsoft Office and Excel? In modern days, the best laptop or desktop set is the one which is both portable, has good looks and offers the smoothest performance. Microsoft Office is a package ...
Read More
Best Computer for Hacking – Laptop and Desktop Selection
Best computer for Hacking
When it comes to hacking, either laptop or desktop, choosing the best computer for hacking would be an exhilarating job. There are many specifications to be considered for hacking ...
Read More

SQL Server Tips

FIX sqlstate 42000 – mysql error 1064 – you have an error in your sql syntax
Sqlstate 42000 Is a general code that come together with other number. Most often comes with the code 1064 and ...
Read More
The execute permission was denied on the object – SQL Server Error
The execute permission was denied on the object
The following article will handle “the execute permission was denied on the object” error appears on SQL Server. This error ...
Read More
How to Read Data from LDF file in SQL Server – A Complete Guide
Read LDF File
Hello Everyone, Today we are going to address the most popular query of SQL users, how to read data from ...
Read More

Search

We are on:

Get FREE SPACE for your PC

3 Method to Delete Temp Files in Windows 7/10 including vbs script

In this post we will explain how to delete temp files windows 7 using three different methods including vbs script ...
Read More

Fastest way to delete hiberfil sys from windows 10/8/7 and XP – CMD

In this article we will explain how to remove or delete hiberfil sys from Windows 10/8/7 and XP . If you does ...
Read More

Learn How to Silent Install Applications

Silent Install Adobe Flash Player
In this tutorial will explain how to silent install adobe flash player 25, Msi and Exe version. How to disable auto update and uninstall older ...
Read More
Java Silent Install and Uninstall Older Version – Deploy Package MSI
This tutorial will explain how to silent install Java MSI/EXE version and disable auto-update. The command line will also uninstall the ...
Read More
Silent Install Adobe Shockwave Player 12 and disable update
In this tutorial will explain how to silent install Adobe Shockwave Player 12 msi and disable auto update. The command will uninstall older ...
Read More
Silent Install Google Chrome MSI, Silent Uninstall and Disable Auto Update
This tutorial will explain how to silent install Google Chrome MSI and disable auto update. The command will uninstall older version of ...
Read More
Silent Install Adobe Reader 11 and DC – msi and exe – disable update
In this tutorial will explain how to silent install Adobe Reader version 11 and DC. We will user both version "msi" ...
Read More
Silent Install Mozilla Firefox msi and exe file – Including Silent Uninstallation
This tutorial will explain how to silent install Mozilla Firefox. We will use MSI and EXE files to perform a silent ...
Read More
Skype Silent Install Msi and disable updates
In this tutorial will explain how to silent install skype  and disable auto update. The command will uninstall older version of Skype and ...
Read More
Filezilla Silent Install msi and exe version
Filezilla silent install tutorial will explain how to perform a silent installation of application. We will explain methods, silent install ...
Read More
Silent install VLC Media Player
In this tutorial will explain how to silent install VLC Media Player. We will explain both methods for exe and ...
Read More
Notepad++ silent install exe and msi version – Command Line
Notepad++ silent install is the new article from a series of silent installations. Notepad++ as free software has two main ...
Read More

Batch File Solutions

How to list files in cmd – Command Prompt – Windows 10
Whenever you want to search and make a list of all files on a specific folder, you used the windows ...
Read More
Batch rename multiple files in folder – CMD script – Bulk Method – Win 10
The following article will teach how to rename multiple files in a folder with the bulk method using Command Line ...
Read More
Batch script rename file using Command Line (CMD) & PowerShell – Windows 10
The following article will use the “rename” or “ren” command to rename the file using a command prompt. Also, we ...
Read More
Change extension of multiple files at once – CMD batch file
The following article will teach the methods to change the extension of multiple files at once using command prompt and ...
Read More
How to delete registry key with command line | PowerShell | Batch
The following article is the third of series about registry and working on it through command line (CMD) and PowerShell ...
Read More
How to add registry key & values with CMD | PowerShell | Batch
The registry is the place where most of the applications store the settings but not only. Used also from the ...
Read More
Unmap Network Drive CMD – (Batch file) – net use delete command
After we posted the methods to map network drive using cmd commands we come this time with the method to ...
Read More
Map Network Drive cmd (batch file) – net use user password
This article will focus on another way to map a network drive on your computer instead of from the explorer ...
Read More
How to Find Large Files on Windows 7 & 10 – CMD Forfiles Command
If the capacity of your hard drive is running low, it is time to clean off some files and to ...
Read More
CMD Script to check disk space on windows and multiple remote servers
The following article will provide you script to check disk space. The Script monitor space on windows and multiple remote ...
Read More

Get IT Solutions

How to do IT

About Us

Get IT Solutions is a personal blog, which is managed to guide people for various topic.

Second Menu

  • Donate
  • About Us
  • Contact Us
  • Privacy Policy

What Will You Find

Automation is our area of writing where are included scripts, batch and various tips to automate your daily job.
Copyright © 2025 Get IT Solutions