TechBuzzPro

Windows 10 Fix System Files: SFC and DISM Guide

· 4 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can fix corrupted or missing system files in Windows 10 using built-in command-line tools. These utilities scan protected operating system files and replace incorrect versions with correct Microsoft ones, resolving issues like crashes, blue screens, and application errors without requiring a full reinstall.

What You'll Need

  • A Windows 10 PC (Home or Pro editions)
  • Administrator privileges on your user account
  • An active internet connection (required for the DISM tool to download replacement files from Windows Update)
  • Approximately 15-30 minutes of time

Step-by-Step

  1. Open Command Prompt as Administrator: Press the Windows Key, type cmd or Command Prompt in the search bar. In the search results, right-click on Command Prompt and select Run as administrator. If prompted by User Account Control, click Yes.
  2. Run the System File Checker (SFC): In the black Command Prompt window, type the following command exactly and press Enter:
    sfc /scannow
  3. Wait for the Scan to Complete: The process will start immediately. It scans all protected system files and replaces corrupted files with a cached copy located in a folder called %WinDir%\System32\Dllcache. This may take 10 to 30 minutes. Do not close the window during this process.
  4. Review the Results: Once finished, you will see a message stating whether Windows Resource Protection found corrupt files and successfully repaired them, found corrupt files but was unable to fix some, or found no integrity violations. Note this result before proceeding.
  5. Run the Deployment Image Servicing and Management (DISM) Tool: Even if SFC reports success, it is highly recommended to run DISM to repair the underlying Windows image that SFC relies on. Type the following command and press Enter:
    dism /online /cleanup-image /restorehealth
  6. Wait for DISM to Finish: This step connects to Windows Update to download healthy system files if local sources are damaged. It may show progress percentages and appear to hang at certain points (like 20%, 40%, or 62%). This is normal behavior. Wait until it displays "The operation completed successfully."
  7. Restart Your Computer: After both commands have completed successfully, restart your PC to ensure all changes take effect.
  8. Verify the Fix: After restarting, check if the original issue persists. If problems remain, run the SFC command one more time to confirm that no further repairs are needed.

Common Mistakes

The most frequent error users make is skipping the DISM step after running SFC. SFC fixes individual files but depends on a healthy source image; if that source is corrupted, SFC cannot fully repair the system. Running DISM first or alongside SFC ensures the source repository is clean.

Another common mistake is running the commands from a standard user account instead of an administrator account. Without elevated privileges, these tools will fail with access denied errors. Always ensure you select "Run as administrator." Additionally, users often interrupt the scan prematurely because it takes time. Both processes require uninterrupted execution to function correctly.

Tips

If SFC fails to repair files, ensure your internet connection is stable before running DISM, as it downloads replacements from Microsoft servers. If DISM fails due to network issues, try connecting via Ethernet instead of Wi-Fi.

For advanced users, if SFC still reports unfixable errors after DISM, you can attempt to manually replace specific corrupted files using the Component Store cleanup tool (DISM /Online /Cleanup-Image /StartComponentCleanup), but only do this after backing up important data.

Regularly updating Windows 10 helps prevent file corruption by ensuring you have the latest patches and security updates installed.

Troubleshooting

SFC Reports "Cannot Fix" Errors: If SFC finds corrupt files but cannot fix them, run the DISM command listed above. If DISM also fails, your Windows image may be severely damaged. In this case, consider using the Windows 10 Installation Media to perform an "In-place Upgrade," which reinstalls Windows while keeping your files and apps intact.

DISM Fails with Error Code 0x800F0907: This usually indicates a problem with Windows Update services. Restart your PC and try again. If it persists, check your internet connectivity and ensure Windows Update is not blocked by firewall or antivirus software temporarily.

Command Prompt Won't Open: If you cannot open Command Prompt as administrator, try opening PowerShell as Administrator instead and use the same commands. If neither works, there may be deeper system restrictions or malware interference; run a full virus scan first.

Frequently Asked Questions

Does SFC delete my personal files?

No. The System File Checker only replaces core Windows operating system files. It does not touch documents, photos, videos, or installed applications.

How often should I run these commands?

Only when you experience system instability, crashes, or errors. Regular preventive scanning is unnecessary unless you suspect corruption has occurred.

Can I use these tools on Windows 11?

Yes. The commands sfc /scannow and dism /online /cleanup-image /restorehealth work identically on Windows 11.

What if DISM gets stuck at a percentage?

This is normal. The tool verifies digital signatures and downloads files, which can pause at specific checkpoints. Let it run for at least 30 minutes before assuming it has failed.

Do I need to install anything extra?

No. Both SFC and DISM are built into Windows 10 and require no additional downloads or installations.