Windows Troubleshooting INTERMEDIATE Windows 10 / Windows 11 โฑ๏ธ 3 min read ๐Ÿ“… Updated: 22 Nov 2026

How to Fix Corrupted System Files: SFC and DISM Guide for Windows 10/11

When Windows throws system file corruption errors, this guide teaches you how to use the System File Checker (SFC) and Deployment Image Servicing and Management (DISM) tools to scan and repair critical OS components.

Gurveer Singh
Gurveer Singh โœ“ Verified Specialist
Founder & Chief Architect ยท hSECURITIES Labs
โšก FAST-TRACK PROTOCOL

Direct Diagnostic & Remediation Summary

  • Run SFC Scan: Open Command Prompt as Administrator and run sfc /scannow.
  • Run DISM Check Health: If SFC fails, open an elevated command prompt and execute DISM /Online /Cleanup-Image /CheckHealth.
  • Repair Image (If needed): After checking health, run the full repair command: DISM /Online /Cleanup-Image /RestoreHealth.
๐Ÿ› ๏ธ Tools & Prerequisites: Administrator privileges on the affected Windows 10 or Windows 11 PC/Laptop. An active internet connection is required for DISM to download clean source files.
STEP 1

Accessing the Elevated Command Prompt

The SFC and DISM tools require elevated permissions to modify protected system files. We must run the command prompt as an administrator.

  • Click the Start Menu button or press the Windows Key + R.
  • Type cmd into the search bar.
  • Right-click on the Command Prompt result and select Run as administrator. (Alternatively, press Ctrl+Shift+Enter).
Info: You will see a User Account Control (UAC) prompt. Click Yes to proceed with elevated rights.
STEP 2

Running the System File Checker (SFC /scannow)

The SFC tool checks for and repairs corrupted or missing protected system files, replacing them with cached copies.

___SAFE_PRE_BLOCK_0_

Wait for this process to complete. It may take several minutes, and the percentage will increase gradually. Do not close the window until it reports a status (e.g., "Windows Resource Protection found corrupt files and successfully repaired them").

Pro Tip: If SFC reports that it found corruption but could not fix everything, it often means the source image itself is damaged. In this case, you must proceed to Step 3 using DISM.
STEP 3

Using DISM for Image Health Check

DISM (Deployment Image Servicing and Management) is more powerful than SFC because it can repair the underlying Windows component store image, which SFC relies on. We run this in stages.

_SAFE_PRE_BLOCK_1_

This first command quickly scans for signs of corruption without making changes. It is a fast check.

STEP 4

Running the Full DISM Repair

If Step 1 or Step 2 indicated major issues, perform this full scan. This process downloads clean files from Windows Update to repair the local image.

_SAFE_PRE_BLOCK_2_

This command requires a stable internet connection and can take significantly longer than SFC (up to 30 minutes). Do not interrupt it. Upon completion, it will confirm that the image was successfully repaired.

STEP 5

Final Verification

After completing DISM, it is best practice to run SFC one last time to ensure all repairs have taken effect.

sfc /scannow

Review the output. If both tools report success, your system files are likely clean and corruption errors should be resolved.

Warning: Never run these commands if you suspect malware is actively running, as it could interfere with file integrity checks. Run antivirus scans first.
Success: If the process completes without major errors and your system functions normally afterward, the corruption was resolved! Restart your computer for all changes to take full effect.
FINAL STEP

Verification, Results & Long-Term Stability Validation

After executing repair procedures for How to Fix Corrupted System Files: SFC and DISM Guide for Windows 10/11, verify system stability under active workload on Windows 10 / Windows 11:

  • Status Verification: Re-run primary diagnostic scans to confirm error codes have cleared and performance metrics remain nominal.
  • Clean Reboot: Perform a clean restart of PC, Laptop to verify that background services and hardware enumeration initialize without delay.
  • Preventative Maintenance: Maintain current device backups and ensure automated diagnostic telemetry is configured.
COMMAND LINE / TERMINAL
sfc /scannow
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow

Frequently Asked Questions

Should I run SFC before or after DISM?

It is best practice to run the full DISM repair (Step 4) first, as it repairs the source files. Then, running SFC afterward allows it to use those newly repaired sources to fix any remaining local file discrepancies.

What if these commands don't work?

If corruption persists after both tools run successfully, the issue might be hardware-related (like bad RAM or failing SSD sectors). You should then test your RAM using MemTest86 or check drive health with <code>chkdsk /r</code>.

Do I need to restart my computer?

Yes. Although some changes are immediate, a full system reboot is required for the operating system kernel and core services to load the newly repaired files correctly.

Engineering Assistance

Need help implementing this solution?

Our cybersecurity and infrastructure engineers can audit, harden, or configure your systems directly.

Request Technical Assistance โ†’
Gurveer Singh
Gurveer Singh โœ“ Verified Author
Founder & CEO at hSECURITIES | Cybersecurity Educator | Security Researcher | Ethical Hacking Enthusiast | Technology Mentor
Meet the Founder โ†’

Gurveer Singh Saggu is the Founder and CEO of hSECURITIES, a cybersecurity and technology education platform focused on practical learning, digital security awareness, hardware diagnostics, Linux administration, and real-world cybersecurity training.

With a strong passion for technology, ethical hacking, and security education, he has spent years helping students, professionals, and organizations understand modern cyber threats and develop practical technical skills. Through hSECURITIES, he creates hands-on learning resources, technical guides, security awareness content, and community-driven initiatives that make cybersecurity more accessible.

His mission is to bridge the gap between theoretical knowledge and practical implementation by providing step-by-step learning experiences, technical troubleshooting resources, and security-focused educational platforms.

Community Discussion & Confirmations (0)

Technical questions, hardware findings, and verified fix reports.

No reader questions posted yet. Have you tried this solution or experienced an edge case? Post below.

Ask a Question or Share Solution