If the accompanying message is – The restore health option is not recognized in this context, or An error occurred while processing the command, it could indicate that the DISM command you uses 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 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

1] Run offline ChkDsk scan

In an elevated CMD execute the following command: 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: This will revert all pending tasks including Windows Updates. It is recommended that you boot offline and then run it a recovery command prompt.

3] Start Component Cleanup

Next, execute the following command: 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:

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: 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: