# How to Repair Windows 11 System Files with SFC and DISM URL: https://www.mytechnician.tech/tips/how-to-run-sfc-dism-repair-windows-11/ Published: 2026-06-30 | Author: Ankit Kumar Tags: Windows 11, System, Maintenance, Troubleshooting Summary: Learn how to run sfc /scannow and DISM to repair corrupted Windows 11 system files — the correct order, what each command does, and what to do if they fail. Recommended app: PC-Troubleshooter — https://www.mytechnician.tech/apps/windows-troubleshooter/ (Microsoft Store: https://apps.microsoft.com/detail/9N7RWKW8SP24?hl=en-us&cid=mytechnician-web). Optional; every step below uses built-in Windows tools. ## The Problem Apps crash, Windows features misbehave, updates fail, or you're following a troubleshooting guide that says "repair your system files." Windows keeps thousands of protected system files, and when they get corrupted — by a bad update, sudden power loss, disk errors, or malware — almost anything can break. Windows ships two built-in repair tools for exactly this: - **SFC (System File Checker)** — scans protected system files and replaces corrupted ones from a local cache. - **DISM (Deployment Image Servicing and Management)** — repairs the *component store*, the source that SFC restores files from. If the store itself is damaged, SFC can't fix anything until DISM repairs it first. They work as a pair. This guide shows the right order and how to read the results. ## Quick Checks Before You Start 1. **You need an administrator terminal.** Right-click the Start button and choose **Terminal (Admin)** — accept the User Account Control prompt. 2. **You need an internet connection for DISM** — it downloads clean files from Windows Update when repairing. 3. **Plug in laptops.** A full scan can take 15–45 minutes; don't let the battery die mid-repair. ## Step 1: Run SFC First 1. In the admin terminal, type: ``` sfc /scannow ``` 2. Press Enter and wait — verification runs to 100% and must not be interrupted. 3. Read the result: - **"Windows Resource Protection did not find any integrity violations"** — files are fine; your problem lies elsewhere. - **"...found corrupt files and successfully repaired them"** — corruption fixed. Restart and re-test your original problem. - **"...found corrupt files but was unable to fix some of them"** — the repair source is damaged. Continue to Step 2, then repeat SFC. ## Step 2: Run DISM to Repair the Component Store 1. In the same admin terminal, run: ``` DISM /Online /Cleanup-Image /RestoreHealth ``` 2. Wait for it to reach 100%. It often pauses a long time around 62% — that's normal, don't close the window. 3. When it reports **"The restore operation completed successfully"**, the component store is repaired. Optional quicker checks if you only want a diagnosis: `DISM /Online /Cleanup-Image /CheckHealth` (instant flag check) and `/ScanHealth` (deeper scan, no repair). ## Step 3: Run SFC Again Now that DISM has fixed the repair source, give SFC a working set of clean files: ``` sfc /scannow ``` This second pass usually resolves the "unable to fix" result from Step 1. Restart your PC afterward. ## Step 4: If Repairs Still Fail 1. **Check the disk first** — file corruption often comes from drive errors: ``` chkdsk C: /f /r ``` Approve the restart prompt with `Y` and reboot. Also verify [SSD and hard drive health](https://www.mytechnician.tech/tips/check-ssd-hard-drive-health-windows-11/). 2. **Review the SFC log** for what couldn't be fixed: the details are in `C:\Windows\Logs\CBS\CBS.log` (search for "cannot repair"). 3. **In-place repair install** — reinstalls Windows over itself, keeping files and apps, and replaces every system file: [reinstall Windows without losing data](https://www.mytechnician.tech/tips/reinstall-windows-without-losing-data/). ## When to Use This Guide Run the SFC → DISM → SFC sequence whenever you hit: - Apps that [crash or won't open](https://www.mytechnician.tech/tips/fix-app-crashing-wont-open/) - [Windows Update errors](https://www.mytechnician.tech/tips/fix-windows-11-update-errors/) or a [stuck update](https://www.mytechnician.tech/tips/fix-windows-update-stuck-windows-11/) - Blue screens like [MEMORY_MANAGEMENT](https://www.mytechnician.tech/tips/fix-memory-management-bsod-windows-11/) or [CRITICAL_PROCESS_DIED](https://www.mytechnician.tech/tips/fix-critical-process-died-windows-11/) - Broken built-ins: [Start menu](https://www.mytechnician.tech/tips/fix-windows-11-start-menu-not-opening/), [Search](https://www.mytechnician.tech/tips/fix-windows-11-search-not-working/), or the [Settings app](https://www.mytechnician.tech/tips/fix-windows-11-settings-app-not-opening/) It's the single most useful repair sequence in Windows — safe to run any time, and it never deletes your personal files. **DISM itself failing with `0x800f081f`?** That means it cannot find the replacement files it needs. Point it at a Windows 11 ISO instead: [fix DISM error 0x800f081f](https://www.mytechnician.tech/tips/fix-dism-error-0x800f081f-windows-11/). **Getting `0x80070005` when you run it?** See [fix error 0x80070005 (access denied)](https://www.mytechnician.tech/tips/fix-error-0x80070005-access-denied-windows-11/). --- Source: https://www.mytechnician.tech/tips/how-to-run-sfc-dism-repair-windows-11/ — My Technician, free Windows 10/11 troubleshooting guides. Related tool: PC-Troubleshooter (PC-Troubleshooter is a system diagnostic and repair tool for Windows 10 and Windows 11—hardware, drivers, network, and common fixes in one app.) — https://www.mytechnician.tech/apps/windows-troubleshooter/ More guides: https://www.mytechnician.tech/llms.txt