Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to repair the Windows 11 component store with DISM

Run DISM health checks and repairs, follow with SFC, and use a matching ISO repair source when Windows Update cannot supply the files.

Table of Contents

Use DISM /Online /Cleanup-Image /RestoreHealth to repair the component store used by your running Windows installation. After a successful repair, run sfc /scannow to check protected system files. These tools address corruption; they do not fix every driver, hardware, or application problem.

1. Open an administrator terminal

Save your work and keep important files backed up. Search Start for Command Prompt, choose Run as administrator, and approve the prompt. The examples below use Command Prompt. /Online means the currently running Windows installation, not simply that the PC is connected to the internet.

Instructions for using DISM to fix Windows 11 errors Picture 1

2. Check component-store health

DISM /Online /Cleanup-Image /CheckHealth

/CheckHealth reports whether corruption has already been flagged; it does not perform a full scan. For a deeper check, use:

DISM /Online /Cleanup-Image /ScanHealth

Instructions for using DISM to fix Windows 11 errors Picture 2

3. Repair using the default source

DISM /Online /Cleanup-Image /RestoreHealth

DISM can use Windows Update for repair files when permitted by your configuration. It downloads replacement components, not “corrupted files.” Let the command finish and read the final status; progress may appear unchanged for a while.

Instructions for using DISM to fix Windows 11 errors Picture 3

After it completes successfully, run:

sfc /scannow

Record the result and restart if requested, then retest the original problem. For help interpreting the messages, see SFC and DISM result practice.

4. Use a suitable ISO source if needed

If DISM reports that source files could not be found, mount official Windows 11 installation media compatible with the installed version, architecture, language, and edition. A source that is too old or lacks required components may fail. Check the mounted drive letter and whether it contains sourcesinstall.wim or sourcesinstall.esd.

Instructions for using DISM to fix Windows 11 errors Picture 4

For a WIM file on drive E:, inspect its indexes first:

DISM /Get-WimInfo /WimFile:E:sourcesinstall.wim

Choose the index matching your installed edition. The following example uses index 1 only as a placeholder; replace it and the drive letter with the correct values:

DISM /Online /Cleanup-Image /RestoreHealth /Source:wim:E:sourcesinstall.wim:1 /LimitAccess

For an ESD source, use the corresponding install.esd path and esd: prefix, again selecting the correct index.

Instructions for using DISM to fix Windows 11 errors Picture 5

/LimitAccess prevents fallback to Windows Update. Omit it if you want that fallback available. The screenshots show an older walkthrough; use the correctly formed commands above rather than copying an incomplete path from an image.

If repair fails

Record the error code and final message. Check source compatibility and review C:WindowsLogsDISMdism.log before repeating commands. Use the Windows error-code lookup for context. If corruption returns or storage errors appear, investigate the underlying cause rather than repeatedly running repair commands.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.