How to use DISM to repair local image on Windows 11
Here’s how you can use the DISM and SFC tools to replace missing and corrupted system files to fix problems on Windows 11.
When you purchase through links on our site, we may earn an affiliate commission.Here’s how it works.
OnWindows 11, “Deployment Image Servicing and Management” (DISM) is an advanced built-in tool you can use through Command Prompt to prepare, modify, and repair system images. However, you can also use it alongside the System File Checker (SFC) to resolve system issues.
Usually, when troubleshooting a problem, such as performance issues, a specific error, or a boot problem, you can run the SFC tool to replace corrupted and missing system files. However, if those files are also damaged, the repair won’t work. If this is the case, you can use the DISM tool to bring the local image to a healthy state and then use the SFC command to fix the setup.
This guide will walk you through the steps to use command-line tools to fix most problems on Windows 11.
Important:This is a non-destructive process, but it’s still recommended tocreate a system backupbefore proceeding.
How to use DISM to fix image problems on Windows 11
The DISM command provides the “CheckHealth,” “ScanHealth,” and “RestoreHealth” options to scan and detect issues, and you want to use them in order. If the scans return errors in the image, you can use the “RestoreHealth” option to fix them.
Check health option
The DISM’sCheckHealthoption helps to determine any corruptions inside the local image. However, the option does not perform any repairs.
Get the Windows Central Newsletter
All the latest news, reviews, and guides for Windows and Xbox diehards.
To check the Windows 11 image for issues with the DISM command, use these steps:
Once you complete the steps, the Deployment Image Servicing and Management tool will verify any data corruption that may require fixing.
Scan health option
TheScanHealthoption performs an advanced scan to find issues with the image.
To check image problems with the ScanHealth option, use these steps:
After you complete the steps, the scan could take some time to check whether Windows 11 needs any repairs.
Restore health option
The DISM’sRestoreHealthoption automatically scans and repairs common issues on Windows 11.
To repair system problems with the DISM commands, use these steps:
Once you complete the steps, DISM will download and replace damaged files from the Windows Update servers (as necessary).
If the command seems stuck, this is normal behavior. After a few minutes, the process will be complete without further action.
Install.wim image option
In the rare case that DISM has problems replacing the damaged files or the device doesn’t have an internet connection, you will need to provide another image using theSourceoption. In this scenario, you can use the Windows 11 ISO file to provide the necessary files. However, you have to make sure that the ISO file matches the version, edition, and language of the setup you are trying to repair.
Download Windows 11 ISO
To download the Windows 11 ISO file, use these steps:
After you complete the steps, you can use the “Source” option to repair the local image.
Repair image with recovery image
To run DISM with the install.wim image to repair Windows 11, use these steps:
In the command, replace “E” with the ISO mount point drive letter in File Explorer.
In the command, change “E:\Sources,” for the path to the “install.wim” file location.
Once you complete the steps, the Deployment Image Servicing and Management command will scan and repair the problems using the “.wim” file.
How to use SFC to fix problems on Windows 11
The DISM commands will help to resolve issues with the system image, not the problems with the setup. Once the local image is restored to a healthy working state, you can use the System File Checker (SFC) command to repair the Windows 11 installation.
To use the SFC command tool to repair problems on Windows 11, use these steps:
Once you complete the steps, the System File Checker tool will repair the system files using the local image files, and the log files will be created on"%windir%/Logs/CBS/CBS.log"and"%windir%\Logs\DISM\dism.log,“which you can review to get more details about the repair.
More resources
For more helpful articles, coverage, and answers to common questions about Windows 10 and Windows 11, visit the following resources:
Mauro Huculak has been a Windows How-To Expert contributor for WindowsCentral.com for nearly a decade and has over 15 years of experience writing comprehensive guides. He also has an IT background and has achieved different professional certifications from Microsoft, Cisco, VMware, and CompTIA. He has been recognized as a Microsoft MVP for many years.