Top 5 Solutions to DISM Error 2 on Windows 10

DISM refers to Deployment Image Servicing and Management. It’s a Windows built-in tool, which mounts and services the Windows Images. It’s commonly used to solve problems on PC.

However, some users have reported that they encountered errors while using this tool. Our previous post has already introduced DISM error 50. Here, I will talk about DISM error 2. DISM error 2 usually comes with a message “unable to access the image” while running some commands related to “dism.exe /image:C: /cleanup-image”.

If you’re facing the same problem, you can follow the solutions listed in the following contents to solve it.

Solution 1: Disable or Uninstall Your Antivirus

Solution 2: Refresh DISM

Step 1: Press Win + S to open Search and type cmd in the search box. Then right-click Command Prompt from the search results and select Run as administrator.

Step 2: Input the command: dism.exe/image:C /cleanup-image /revertpendingactions. Then press Enter to execute it. This will revert pending tasks, including any Windows updates.

Step 3: Restart your PC and access Windows Recovery Environment. Then go to Command Prompt.

Step 4: Input dism.exe /online/Cleanup-Image /StartComponentCleanup and press Enter to clean up the component store and help everything to run properly again.

Step 5: Restart your computer and start Windows in Safe Mode. Then run Command Prompt as administrator.

Step 6: Execute the sfc/scannow command and wait until the process is completed.

Then you can run the command dism.exe /online /Cleanup-Image /RestoreHealth and check if it works properly. If you still encounter DISM error 2 during the process, try the next solution.

Solution 3: Run Disk Defragmenter

Step 2: Select This PC and right-click Local Disk (C:). Then choose Properties.

Step 3: In the pop-up window, select Tools tab. Then click Optimize under Optimize and defragment drive.

Then follow the onscreen instructions to finish the process. Once it’s done, click Apply and OK.

Solution 4: Perform a System Restore

Here is how to fix DISM error 2 via System Restore.

Step 1: Open Search utility and then input restore in the search box. Then click Create a restore point.

Step 2: In the pop-up window, click System Restore button. Click Next to skip the wizard.

Step 3: Select a system restore point according to the description and the creating time and data. Then click Next.

After the operation, you can try running DISM commands and check if the error has been fixed. If the problem still appear, you might need to reset your PC with Keep my files option.

Originally published at https://www.partitionwizard.com on June 9, 2020.