DISM is a command-line tool that is used to fix corrupt Windows files on a computer, but sometimes DISM can itself run into the DISM Error 2 especially on Windows 10 and Windows 7. The full error message usually states “DISM error 2 File not Found or DISM Error 2 Unable to access the image”. In this article, we have concluded the reasons due to which the error occurs and have also listed the solutions for them.

Make sure to read through all of the solutions and also to analyze the reasons due to which they are triggered in order to ensure complete eradication of the error message from your computer.
What Causes the DISM Error 2 on Windows 10?
After going through the solutions that are commonly adopted to fix this error message, we concluded that the following must be some of the most crucial reasons due to which it is triggered in the first place.
- Command Line: In certain cases, the command line that the user is adopting might be incorrectly configured or the command used might not have been implemented properly. Therefore, we recommend that you try using a slightly different command that might sometimes do the trick and fix the DISM error 2 on your computer.
- Stuck Tool: The DISM Tool can sometimes get stuck while executing certain commands and that can end up triggering this error message. Therefore, we recommend that you run some commands on your computer that get rid of this.
- Antivirus: The Antivirus being used by the computer can sometimes block the DISM tool from accessing the drive by hogging its resources or falsely flagging it as a virus. Therefore, we recommend that you try and disable the Antivirus at least temporarily to ensure that the DISM error 2 isn’t being triggered because of it.
- Bad Sectors: The Hardrive often acquires bad sectors due to prolonged usage and this can really end up harming the tool’s ability to be able to repair the drive if it has been damaged beyond repair. Therefore, we recommend that you check for any wear, tear or bad sectors on the hard disk.
- Damaged OS: The operating system that you are using might be in a faulty state or it might not be working properly due to which the DISM error 2 is being triggered. Therefore, we recommend that you try and repair the operating system and then check to see if doing so fixes the issue.
Now that you have gone through the reasons behind its occurrence, it is about time that we move on towards implementing the solutions.
Before You Start:
Before you begin with any of the fixes make sure you are using the correct DISM version. If you are experiencing DISM error 2 it is recommended that you run the commands using WinPE. WinPE is Windows Pre-Installation Environment, it is often used to perform a recovery operation in Windows. Once done now continue on with implementing some of the advanced solutions listed below.
Fixing the DISM Error 2 Unable to Access the Image:
Method-1: Try Using A Different Command
Some users were able to work around the error with a different command, try using the following commands in the command window and see which one works best for you:
dism.exe /image:C: /cleanup-image /revertpendingactions
OR,
dism.exe /online /cleanup-image /reverpendingactions
Solution 2: Refresh DISM Tool
By refreshing the DISM tool in Windows you might also be able to fix the error. To refresh the DISM tool follow these steps:
- Hold down the “Window + R” keys together on your keyboard to open up a “Run” dialog box.
- In the “Run” prompt type in “cmd” and then hold down on the “Shift + CTRL + Enter” keys to open an “Elevated Command Prompt”. If the system asks you for permission click to choose “YES”.
- In the new elevated command prompt window type the following command:
exe/image:C /Cleanup-image /revertpendingactions
4. Press “Enter” now and after the process is completed “Restart” your PC.
5. After the restart, now repeat steps one, two, and three and run the following command:
exe /online/Cleanup-Image /StartComponentCleanup
dism /online/cleanup-image /startcomponentcleanup
6. Once the process is completed again restart your computer.
7. Now, once again repeat steps 1,2,3 to run an elevated command prompt.
8. Type in the following command and hit “Enter”.
sfc/scannow
9. Then restart your computer once again.
10. Now, once again repeat steps one, two, and three to run an elevated command prompt.
11. Type in the following command and again hit “Enter”.
dism.exe /online /Cleanup-image /RestoreHealth
12. This will hopefully solve the DISM error on your pc, if not follow down for other solutions.