If you’ve already heard of SFC (System File Checker) and maybe even tried sfc /scannow You’ve probably seen guides mention another tool: DISM. For many Windows 11 repair tasks, especially when system files are badly damaged, technicians will say: “Run DISM first, then SFC.” But what exactly is DISM? Why is everyone talking about commands like dism /online /cleanup-image /restorehealth And how do you safely use DISM?
In this article, you’ll learn,
- What DISM is and what it does in Windows 11
- How DISM is different from SFC
- When you should use DISM
- The DISM commands for repairing Windows 11 system images
- How DISM and SFC work together to fix deep system problems
What Is DISM in Windows 11?
DISM stands for Deployment Imaging Servicing and Management.
The name sounds scary, but at a simple level, you can think of it like this:
- DISM is a powerful command‑line tool that prepares, modifies, and repairs Windows system images.
- Those images are used by Windows Setup, Windows Recovery Environment, Windows PE (WinPE), and your running Windows 11 installation.
In Windows 11, this system image is often referred to as the component store or WinSxS folder. When Windows needs to install features or when SFC needs to replace damaged files, it pulls the “good copies” from this image.
If that image (component store) is damaged, tools like SFC may not be able to repair your system correctly. That’s where DISM comes in: it can scan and repair the system image itself.
So in simple terms:
- SFC checks and fixes system files.
- DISM checks and fixes the source those files come from (the system image/component store).
Both are important.
DISM vs SFC: What’s the Difference?
Both DISM and SFC are used to repair system files, but they do different jobs. SFC scans and repairs individual corrupted Windows system files while DISM repairs the underlying Windows system image.
SFC (System File Checker)
- Focus: Protected system files currently in use on your running Windows.
- Command:
sfc /scannow - Job: Finds and replaces corrupted or missing system files with copies from the component store.

DISM (Deployment Imaging Servicing and Management)
- Focus: The Windows image/component store itself (WinSxS), not just active files.
- Common repair commands:
dism /online /cleanup-image /checkhealthdism /online /cleanup-image /scanhealthdism /online /cleanup-image /restorehealth
- Job: Checks if the underlying source that SFC uses is healthy and, if not, repairs it.
In practice, when you see:
“Windows Resource Protection found corrupt files but was unable to fix some of them.”
…that often means the component store is damaged, and you need DISM to fix that before SFC can do its job properly.
When Should You Use DISM on Windows 11?
You don’t need to run DISM daily. Use it when you see signs of deeper system issues, like:
- SFC can’t fix all errors
- SFC reports: “found corrupt files but was unable to fix some of them.”
- Deep or repeated system problems even after basic fixes
- Frequent blue screen errors (BSOD).
- System apps or utilities crash often.
- Windows Updates keep failing with strange error codes.
- You suspect the Windows image is damaged
- A failed update, power cut, or forced shutdown might have damaged not only files, but also the source Windows uses to rebuild them.
- You’re preparing or repairing a Windows image (more advanced use)
- IT admins use DISM to service offline images (
.wim,.vhd,.vhdx). As a beginner, you’ll mostly use it on your running system.
- IT admins use DISM to service offline images (
If Windows 11 is misbehaving, a good sequence is:
- Run DISM to check and repair the image.
- Then run SFC to repair system files.
- If disk problems are suspected, run CHKDSK too.

Core DISM Image Repair Options Explained
Most basic DISM repair commands start with:
dism /online /cleanup-imageThe important part is what comes after that.
1. /checkhealth – Quick Health Check
Command:
dism /online /cleanup-image /checkhealth- Quickly checks if the Windows image is flagged as corrupted.
- Does not perform a full scan.
- It does not repair anything. It just tells you whether corruption is detected and if the image is repairable.
2. /scanhealth – Detailed Scan
Command:
dism /online /cleanup-image /scanhealth- Performs a much deeper scan of the Windows image.
- Looks for corruption more thoroughly.
- This can take several minutes.
- Still does not repair anything; it only scans and reports.
3. /restorehealth – Scan and Repair
Command:
dism /online /cleanup-image /restorehealth- Scans the image for corruption and attempts to repair it.
- This is the main repair command most users need.
- May connect to Windows Update or use local sources to replace damaged components.
In simple terms:
/checkhealth– quick check/scanhealth– detailed check/restorehealth– check and repair
Most of time you only need two commands to fix window problems the /restorehealth, then run SFC.
How to Run DISM on Windows 11
Now, let’s go through the process as you would actually do it on your PC.
Step 1: Open Windows Terminal or Command Prompt as Administrator
DISM needs elevated (admin) privileges.
- Right‑click the Start button (or press Win + X).
- Click Windows Terminal (Admin) or Terminal (Admin).
– or – - Search for Command Prompt in Start, right‑click it, and choose Run as administrator.
- Click Yes when prompted by User Account Control.
You should see a window with administrator in the title.
Step 2: Optional – Quick health check
To perform a quick check without repair, type:
dism /online /cleanup-image /checkhealthPress Enter.
- This usually finishes relatively quickly.
- It tells you if the image is flagged as damaged or not.
Step 3: Deeper scan (optional but useful)
For a more thorough scan (still no repair yet), type:
dism /online /cleanup-image /scanhealthPress Enter and wait. This can take several minutes.
At the end, it will say whether the image is healthy, repairable, or non‑repairable.
Step 4: Repair with /restorehealth
This is the main step.
Type this command and press Enter:
dism /online /cleanup-image /restorehealthNow wait. This can take a while. During this time, DISM will:
- Check the system image for corruption.
- Attempt to download or use local good copies of components.
- Replace or repair damaged parts of the image.
Things to remember:
- The percentage may pause at some values (e.g., 20%, 40%, 62%) for a long time. This is normal.
- Do not close the window or restart while it’s still running.
Once it finishes, you should see something like:
The restore operation completed successfully.
The operation completed successfully.
If you get an error, note the error code and message; it can help troubleshoot further.
Step 5: Restart and run SFC
After running /restorehealth, it’s a good idea to:
- Restart your PC.
- Open an elevated terminal/Command Prompt again.
- Run:
sfc /scannow
Now that the Windows image is repaired, SFC has a healthy source to repair any remaining corrupt system files.
How Does DISM Actually Repair Windows?
Usually when you run:
dism /online /cleanup-image /restorehealthDISM:
- Looks at the component store (WinSxS) where Windows keeps source files for features and system components.
- Checks for missing, damaged, or mismatched components.
- Attempts to replace or repair those components.
By default, it may use:
- Local component store data
- Windows Update (if allowed) to download clean versions of components
When the image is healthy again:
- Future updates are more likely to install correctly.
- SFC can successfully replace corrupt system files using this fixed source.
Using DISM from PowerShell (Repair‑WindowsImage)
You can also run DISM functionality through Windows PowerShell using the Repair-WindowsImage cmdlet.
Open PowerShell as Administrator, then use:
- Quick health check:
Repair-WindowsImage -Online -CheckHealth - Detailed scan:
Repair-WindowsImage -Online -ScanHealth - Scan and repair:
Repair-WindowsImage -Online -RestoreHealth
These commands perform the same core actions as the DISM commands but with PowerShell syntax.
Advanced: Use DISM with Windows 11 ISO (Source Option)
Usually, DISM uses Windows Update to download clean files. But if:
- Windows Update is broken, or your PC is offline, or the local update files are also corrupted. You can tell DISM to use a Windows ISO (install.wim) as the repair source.
Step 1: Get the Windows 11 ISO
- Download the latest Windows 11 ISO directly from Microsoft’s website.
- Right‑click the ISO and select Mount.
- Note the drive letter it uses (e.g.,
E:).
Step 2: Run DISM with /source
Open Command Prompt as administrator and run:
DISM /Online /Cleanup-Image /RestoreHealth /Source:E:\Sources\Install.wim /LimitAccess- Replace
E:with the actual ISO mount drive letter. /LimitAccesstells DISM not to contact Windows Update and only use the provided source.
DISM will now scan and repair the Windows image using the install.wim file you specified.
Note: If you have Windows 10 installed, use a matching Windows 10 ISO as the source. Always match the OS version and edition as closely as possible.
For more details, Microsoft has official documentation on configuring Windows repair sources and repairing Windows images.
What If DISM Fails or Shows an Error?
Sometimes, /restorehealth might show errors like:
- Failed to start servicing
- Source files could not be found
- Error codes like
0x800f081f,0x800f0906, etc.
Here are some basic things to try as a beginner:
DISM Error: 0x800f0954 – No Operation Was Performed
This error often appears as: Error: 0x800f0954 – DISM failed. No operation was performed.
Typical causes include:
- Third‑party antivirus interfering with DISM.
- An active proxy blocking connections.
- The
install.wimsource being read‑only. - Windows Update service disabled or not running.
Fixes to try:
- Temporarily disable or uninstall third‑party antivirus.
- Open services.msc, find Windows Update, and make sure it is running (restart the service).
- Disable any system‑wide proxy temporarily.
- Right‑click your
install.wimfile → Properties → uncheck Read‑only.
Then run the DISM command again.
DISM Error 50
Sometimes you might see DISM error 50. A common cause is a misplaced MiniNT registry key that makes Windows think it’s running in a special environment.
Fix:
- Open Registry Editor (
regedit). - Navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control - Locate the MiniNT key and delete it.
- Restart your PC and run the DISM command again.
Warning: Always be very careful when editing the registry. Consider backing it up first.
When DISM Still Cannot Repair
If DISM /restorehealth continues to fail even after:
- Checking internet connection
- Restarting and trying again
- Running with
/source:install.wim
…then you may need to consider:
- An in‑place repair upgrade using Windows 11 installation media.
- Reset this PC (with or without keeping files) – after backing up important data.
- Getting help from a qualified technician if you’re not confident doing these steps.
How DISM, SFC, and CHKDSK Work Together
Think of these tools as working at different layers:
- CHKDSK – Checks and repairs disk‑level issues (file system, bad sectors).
- DISM – Repairs the Windows image/component store that Windows and SFC rely on.
- SFC – Repairs active system files using the fixed image.
A good troubleshooting order for serious Windows issues is often:
DISM /online /cleanup-image /restorehealth- Restart
sfc /scannow- If you suspect disk problems:
chkdsk C: /f(may require a restart)
This layered approach gives you the best chance to repair Windows 11 without a full reinstall.
Frequently Asked Questions
DISM (Deployment Imaging Servicing and Management) repairs and manages the Windows system image that Windows and SFC use as a source for system files. In Windows 11, you mainly use DISM to check and fix corruption in the component store so system repairs and updates work correctly.
For most users, the key command is:dism /online /cleanup-image /restorehealth
It scans the Windows image for corruption and tries to repair it using local files and, if needed, Windows Update.
If SFC reports that it found corrupt files but could not fix some of them, you should run DISM first to repair the image, then run sfc /scannow again. A common order is: dism /online /cleanup-image /restorehealth → restart → sfc /scannow.
No. DISM works on the Windows image and components, not your personal data. It doesn’t wipe your documents, pictures, or videos. It’s designed to repair system components, not reset or reinstall everything.
First, check your internet connection and try the command again. Make sure Windows Update services are not completely disabled. If errors persist, check your disk with chkdsk, and consider an in‑place repair install or Reset this PC after backing up important data, or seek help from a technician if you’re unsure.
