The DISM error 1009 can appear when you try to repair a Windows image with a damaged (corrupted) registry, by using one of the following DISM commands in command prompt: You may also encounter this error when running the DISM command below in Windows Recovery Environment (WinRE). The second scenario that triggers this error is when the Windows update failed on Windows 10. Generally, the error code indicates an error caused by corrupt registry files and they have to be fixed to solve the problem.

DISM Error 1009 – The configuration registry database is corrupt

If you’re faced with this issue, you can try our recommended solutions below in no particular order and see if that helps to resolve the issue. Let’s take a look at the description of the process involved concerning each of the listed solutions. Before solving the error, you need to have your Windows 10 Installation Media – that’s either a DVD or USB. If you don’t have it handy, then you can create the installation media on a working Windows 10 PC or create the installation media on a Linux or Mac computer if that’s what you have available.

1] Remove Windows update

If you started experiencing the problem after installing updates, you need to remove these updates from your Windows 10 PC using the installation media. Here’s how:

Boot your computer with Windows 10 installation media.On the boot screen, open Command Prompt by pressing Shift + F10, or alternatively, you can click on Next and then select Repair your computer > Troubleshoot > Command Prompt.In the CMD prompt, type the command below and hit Enter:

Next, type dir C: in the command prompt to locate the drive that has the Windows folder. It’s the drive that has Windows installation. Replace C with the alphabet of your drive where Windows is installed.Once you identify the drive that contains the Windows folder. you can then type C: and hit Enter. If it’s not C, input the appropriate letter.Next, you should create a scratch folder on your drive by typing the command below and hit Enter:

Now, run the command below to roll back the updates you have installed.

Once the command executes, you’ll get the following message;

After receiving the above message, you can exit Command Prompt and restart your PC.

If Windows boots successfully, it’s all fine and good. But if it fails to boot and is attempting to install the updates again, do the following: The operation was completed. Any revert of pending actions will be attempted after the reboot The operation completed successfully.

Restart your PC and boot using the installation media as you did previously.Launch the command prompt following the steps above.You now run the following three commands in that order and hit Enter after each line. Replace C: with your drive letter.

After you execute the commands, restart your PC. If the system still fails to boot again, you should boot again from installation media and open the command prompt, then run the following set of commands. Replace C: with your drive as in the previous steps. After you execute the commands, restart your computer. The DISM Error 1009 – The configuration registry database is corrupt error should be resolved now. If not, try the next fix.

2] Restore registry from backup

This solution requires you to restore the Windows registry using the RegBack folder. Here’s how:

Boot your computer with Windows 10 installation media and access the Command Prompt as shown above.Type C: and hit Enter to open the Windows folder on the drive. Replace C: with your drive letter.Next, in the CMD prompt, type the command below and hit Enter after each line:

Now, navigate to the RegBack folder by running the command cd RegBack in the command prompt.

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 10 to a previous working state which we’ll outline in Solution 3 below. The second scenario is that when none of the files displayed have zero bytes (0). In this case, you need to run the command below:

Executing this command will copy registry files from Windows\System32\Config\RegBack folder to Windows\System32\Config\ folder.If you’re prompted, you should press the letter A on your keyboard to overwrite the files in the destination folder.Once the files have finished copying, you now type exit and hit Enter to exit the command prompt.Restart your PC.

If you’re not able to boot successfully to the desktop, you should boot again with installation media and open the command prompt and run these commands one by one: After you execute the commands, restart your PC. It should boot to the desktop without issues. Otherwise, try the next solution.

3] Perform System Restore

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 10 because it shows that the registry is seriously damaged. Note: If you can boot to the desktop, you can follow the instructions in this guide to perform the System Restore – otherwise, follow the instructions below.

Boot your computer with Windows 10 installation media.On the boot screen, click on Next and then select Repair your computer > Troubleshoot > Advanced Options.Next, choose System Restore, or in some PC’s you’ll see the option Go back to a previous build.Now, select your operating system in the next screen.Click Next at the System Restore Wizard.Select the restore point. You need to select a date when your system was working normally.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.

If the issue is still unresolved, try the next solution.

4] Perform Windows 10 in-place upgrade repair

If this error couldn’t be fixed with system restore, the final solution is to perform Windows 10 In-Place Upgrade Repair and if that’s unsuccessful, you can back up your files and then clean install Windows 10. Hope this helps! Related post: Fix DISM Errors 87, 112, 11, 50, 2, 3, 87,1726, 1393, 1910, 0x800f081f, etc.