When you run the built-in Windows DISM tool, if you receive error message codes like 87, 112, 11, 3, 87,1726, 1392, 1393, 1910, etc, then these general troubleshooting suggestions may help you fix the problem. The error code may be accompanied by a message :
- If the accompanying message is – The restore health option is not recognized in this context, An error occurred while processing the command, A Windows capability name was not recognized, The cleanup-image option is unknown, etc. it could indicate that the DISM command you use is not supported by the operating system version.
- If the accompanying message is – The add-package option is unknown, it could indicate that the option you use is not supported by the operating system version.
If a Windows image becomes unserviceable, you can use the Deployment Imaging and Servicing Management (DISM) tool to update the files and correct the problem. In the case of system inconsistencies and corruptions, corrupted Windows Update files, etc., you can run the DISM tool by using the Cleanup-Image functionality along with the available switches.
But if the effort fails, you may need to find out why this happened. Such errors are usually faced when you use the /restorehealth
parameter – but it could appear when you use other parameters as well.
What does DISM stand for?
DISM stands for Deployment Image Servicing and Management. It is a command-line tool that helps users service a Windows image or prepare a Windows Pre-installation Environment (Windows PE). The DISM tool is also helpful when the System File Checker stops working or the Windows image becomes unserviceable.
Fix DISM Error on Windows 11/10
To fix DISM Errors 87, 112, 11, 3, 87,1726, 1392, 1393, 1910 on Windows PC, follows these suggestions:
1] Run offline ChkDsk scan
In an elevated CMD execute the following command:
chkdsk /offlinescanandfix
Restart Windows and proceed to the next action.
Read: System error 5 has occurred, Access is denied
2] Revert Pending Actions
Open an elevated command prompt window and execute the following command to refresh the DISM tool:
dism.exe /image:C: /cleanup-image /revertpendingactions
This will revert all pending tasks, including Windows Updates. It is recommended that you boot offline and then run it a recovery command prompt.
Related: The WOF Driver encountered a corruption in the compressed file’s Resource Table – DISM error.
3] Start Component Cleanup
Next, execute the following command:
dism.exe /online /Cleanup-Image /StartComponentCleanup
This will clean up the component store so that everything can run properly again.
Read: DISM /Apply-Image command fails with Error Code 5
4] Restore Health
Restart and then Run sfc /scannow in Safe Mode.
Restart your system and see if you can run the following command now:
dism.exe /online /Cleanup-Image /RestoreHealth
Read: Fix 0x800f082f DISM Remove Package error
How do you read DISM logs?
Windows saves the DISM logs inside the DISM folder on the C drive. The DISM folder is located at the following location:
c:\windows\logs\dism
On opening the DIS folder, you will see a text file with the name dism. Open this file to read the DISM logs.
This should help!
RELATED READS: