How to Run an SFC Scan in Windows 10 (with DISM)

To run an SFC scan in Windows 10, type cmd in the search box, right-click Command Prompt, and select Run as administrator. Run DISM.exe /Online /Cleanup-image /Restorehealth first, then run sfc /scannow. Don’t close the window until verification reaches 100%.

Applies to: Windows 10. Checked against Microsoft Support on September 25, 2026.

System File Checker (SFC) finds and replaces damaged Windows system files. DISM repairs the Windows image that SFC copies those files from, so Microsoft recommends running DISM first.

Step 1: Run DISM

  1. Type cmd in the search box on the taskbar.
  2. Right-click Command Prompt and select Run as administrator. Select Yes if asked.
  3. Type this command and press Enter:

DISM.exe /Online /Cleanup-image /Restorehealth

  1. Wait for The restore operation completed successfully. It can take several minutes and sometimes pauses at 20% or 40%.
Windows 10 Administrator Command Prompt running DISM RestoreHealth with the success message highlighted
Run the DISM command (1) and wait for it to finish (2).

DISM downloads replacement files through Windows Update, so stay connected to the internet.

Step 2: Run SFC

  1. In the same window, type sfc /scannow and press Enter.
  2. Wait until Verification 100% complete appears. This often takes 10 to 30 minutes.
  3. Restart your PC if SFC repaired anything.
Windows 10 Administrator Command Prompt running sfc /scannow with the result message highlighted
Run sfc /scannow (1) and read the result (2).

What the results mean

  • Windows Resource Protection did not find any integrity violations. No system files are damaged.
  • Windows Resource Protection found corrupt files and successfully repaired them. Restart the PC.
  • Windows Resource Protection found corrupt files but was unable to fix some of them. Run DISM again, restart, and run sfc /scannow again.
  • Windows Resource Protection could not perform the requested operation. Start in Safe Mode and run the scan again.

See what SFC found

In the administrator Command Prompt, run this command to save the details to your desktop as sfcdetails.txt:

findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfcdetails.txt"

Frequently asked questions

SFC says it must be run as an administrator. What now?

Close the window, and open Command Prompt again with Run as administrator.

SFC didn’t fix my problem. What’s next?

Check the drive with CHKDSK, or see how to repair Windows 10 without losing files. For crashes, see how to fix a blue screen in Windows 10.

SFC needs an administrator Command Prompt. For all the ways to open one, see how to open Command Prompt in Windows 10.

If an app asks you to register a DLL file, see how to register a DLL in Windows 10.

To add an update package with DISM, see how to install a CAB file in Windows 10.

You don’t need a registry cleaner to fix Windows. To learn why, see whether you should clean the registry in Windows 10 with CMD.

Microsoft’s guide is Use the System File Checker tool to repair missing or corrupted system files. More help is on our Windows Help & Guides page.

Get Our Free Newsletter

How-to guides and tech deals

You may opt out at any time.
Read our Privacy Policy