DISM (Deployment Image Service and Management Tool) is a powerful Windows utility that helps manage and repair system image files. However, it’s not uncommon to encounter errors while using DISM, and one of the errors you might come across is DISM Error 1009. In this blog, we’ll explore several methods to fix this error, each with concise steps to help you resolve the issue.
How to Fix DISM Error 1009
The Windows registry is a critical component that stores configuration settings and options for both the operating system and installed applications. However, when it becomes corrupt, it can lead to various system errors, including DISM error 1009. When you encounter it while using DISM, it suggests that there is an issue with the registry files on your Windows system. Fortunately, you can get it fixed using some effective fixes provided below.
Note: Remember to back up important data before attempting any repairs, as they may involve modifying system files.
Quick Answer
Get DISM error fixed by restoring registry from a backup with these steps:
1. Open the Run dialog by pressing Win + R.
2. Type regedit and press enter to open the Registry Editor.
3. In the Registry Editor, click on File and select Import.
4. Select the backup file and click Open to restore the registry.
Method 1: Basic Troubleshooting Methods
Before we dive into advanced troubleshooting methods try out these basic troubleshooting solutions to check and solve this error easily.
1A. Check System File Corruption
When faced with DISM Error 1009, ensure your Windows system files are intact by running the System File Checker (SFC) tool to automatically repair any corrupted files.
1. Open Command Prompt as an administrator. To do this, search for cmd in the Start menu, right-click on Command Prompt, and choose Run as administrator.
2. Type command, sfc /scannow and press Enter.
Note: Wait for the System File Checker (SFC) to scan and repair any corrupt system files.
3. Restart your computer after the process is complete.
1B. Use Windows Update Troubleshooter
Windows Update Troubleshooter is a built-in tool that can help diagnose and fix issues related to updates on PC, potentially resolving DISM error 1009 on Windows 10.
1. Click on Start and open PC Settings.
2. Click on Update & Security.
3. Click on Troubleshoot in the left sidebar. Then Click on Additional Troubleshooters.
4. Under Get up and running, click on Windows Update and then click Run the troubleshooter.
5. Follow the on-screen instructions to complete the troubleshooting process.
Restart your computer and check if the DISM Error 1009 is resolved.
Also Read: Fix DISM Error 14098 Component Store has been corrupted
Method 2: Remove the Latest Windows Update
If the error appears after a recent update, uninstalling the problematic update through the Command Prompt with a Windows installation media can be a solution. To fix DISM error 1009 on Windows 10, follow these steps:
1. Press Win + I to open the PC settings and click on Update & Security.
2. In the left sidebar, select Windows Update.
3. Click on View update history.
4. Click on Uninstall updates at the top of the page.
5. Locate the most recent update in the list, right-click on it, and select Uninstall.
Note: Follow the on-screen instructions to remove the update.
After the update is removed, restart your computer and check if the DISM Error 1009 is resolved.
In case your Windows PC is not accessible to you then you may go for the below given steps:
1. To begin, prepare a bootable USB drive containing Windows 10.
2. Next, power off your computer, then turn it back on. Access the BIOS settings and opt for the USB drive as your boot source.
3. On the boot screen, click Next.
4. Select Repair your computer.
5. Click on Troubleshoot and then Command Prompt.
6. In the Command Prompt, type the following command and press Enter to identify the drive containing the Windows folder:
wmic logicaldisk get name
7. Use the dir C: command to locate the drive with the Windows installation. Replace C with the appropriate drive letter:
8. Once you’ve identified the drive with the Windows folder, switch to that drive. Replace C with the correct drive letter:
9. Create a Scratch folder on the drive using the command, mkdir C:\Scratch.
10. Roll back the installed updates with this command:
DISM /Image:C:\ /ScratchDir:C:\Scratch /Cleanup-Image /RevertPendingActions
Note: After the command is completed successfully, exit the Command Prompt and restart your PC.
If Windows boots successfully, great! If not, continue with these steps:
1. Restart your PC with the installation media and access the Command Prompt as before.
2. Run the following three commands to remove update-related files (replace C with your drive letter):
del C:\Windows\SoftwareDistribution del C:\Windows\WinSxS\cleanup.xml del C:\Windows\WinSxS\pending.xml
Note: Restart your computer. If the system still doesn’t boot, restart the installation media again and open Command Prompt.
3. Run the following commands (replace C with your drive letter):
chkdsk /f C: sfc /scannow /offbootdir=C:\ /offwindir=C:\windows dism /image:C:\ /cleanup-image /restorehealth
After executing these commands, restart your computer.
Also Read: Fix DISM Source Files Could not be Found Error
Method 3: Restore Registry from a Backup
In case of registry corruption causing DISM error 1009 on Windows 10, restore your Windows registry using the RegBack folder, provided you have a healthy backup.
Note: This method assumes you have a backup of your Windows registry. Be cautious when modifying the registry, as it can lead to system instability if done incorrectly.
1. Open the Run dialog by pressing Win + R.
2. Type regedit and press enter to open the Registry Editor.
3. In the Registry Editor, click on File and select Import.
Note: Navigate to the location where you have your registry backup file saved.
4. Select the backup file and click Open to restore the registry.
Note: Follow any on-screen prompts or confirmations.
After the registry is restored, restart your computer.
In case your Windows PC is not accessible to you then you may go for the below given steps:
Note: Before running these commands, you should ensure that the directories mentioned exist. If any of these directories don’t exist, the commands will result in errors.
1. Boot your computer with the Windows installation media and access Command Prompt.
2. Change to the drive containing the Windows folder and hit Enter. (replace C with your drive letter):
3. Run the following commands:
cd \windows\system32\config md Backup copy *.* Backup cd RegBack
Note: If any files in the RegBack folder have zero bytes, it indicates corrupt or empty registry files. In this case, proceed to Solution 3 (System Restore).
4. If none of the files have zero bytes, run the copy *.* .. command to copy registry files to the Config folder (overwrite if prompted):
5. Exit the Command Prompt and restart your PC.
6. If your PC doesn’t boot, restart from the installation media, open Command Prompt, and execute the following commands (replace C with your drive letter):
chkdsk /f C: sfc /scannow /offbootdir=C:\ /offwindir=C:\windows dism /image:C:\ /cleanup-image /restorehealth
Restart your computer.
Also Read: Fix DISM Error 0x800f081f in Windows 10
Method 4: Verify Windows Installation Media
If you encounter an error during DISM repair operations, ensure the integrity of your Windows installation media to ensure the repair source is reliable and fix DISM error 1009.
1. Ensure you have a Windows installation USB or DVD.
2. Insert the installation media into your computer and restart it.
3. Boot from the installation media. Choose your language, time, currency, and keyboard preferences, then click Next.
4. Click Repair your computer in the bottom left corner.
5. Select Troubleshoot and then Advanced options.
6. Select Command Prompt.
7. In the Command Prompt, enter the following command to repair the Windows image. Replace X: with the drive letter assigned to your Windows installation media (e.g., D:):
DISM /Online /Cleanup-Image /RestoreHealth /source:X:\Sources\Install.wim
Wait for the process to complete. Remove the installation media and restart your computer.
Method 5: Use the System Restore Function
When registry issues persist or are unrecoverable, initiate a System Restore from the Windows installation media to revert your system to a previously functional state, potentially resolving the error. To do so, please refer to our guide on How to use System Restore on Windows 10 for detailed steps.
These methods should help you fix DISM error 1009 and get your Windows system back on track. If the issue persists, consider seeking further assistance from a professional or Microsoft support. If you have any queries or suggestions for us, do let us know in the comments box below.