This wikiHow will teach you how to scan Windows 10 for errors using the System File Checker (SFC) tool. Before you can use SFC, you need to make sure you have an updated version of Windows.

Steps

  1. 1
    Press Win. You'll see this key with the Windows logo on your keyboard near Alt and Ctrl. You can also use the mouse to click the Windows logo and open the Start menu that way.
  2. 2
    Type "Command Prompt". As you type, you'll see search results display above the Start Menu.
    Advertisement
  3. 3
    Right-click the "Command Prompt - App" result. It lists under the "Best match" header and a menu will pop up.
  4. 4
    Click Run as administrator. A Command Prompt window will open. If you're prompted to allow the app to make changes, click Yes.
  5. 5
    Type "DISM.exe /Online /Cleanup-image /Restorehealth" and press Enter. There is a space before each "/" and make sure you type the command exactly as shown so DISM.exe will run.
    • It will take a minute or two to start up and about 30 minutes to finish.
    • When it's done, you'll see "The operation has completed successfully."
  6. 6
    Enter "sfc /scannow" and press Enter. The DSIM.exe should fix whatever corrupt files or damaged files it finds, and the SFC scan will make sure there are no damaged or corrupt files left.[1]
    • If you see "Windows Resource Protection found corrupt files and repaired them," you may want to enter "sfc /scannow" again until you see "Windows did not find any integrity violations."[2]
    • Type "Exit" and press Enter to close the Command Prompt window.
  7. Advertisement

About This Article

Darlene Antonelli, MA
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Darlene Antonelli, MA. Darlene Antonelli is a Technology Writer and Editor for wikiHow. Darlene has experience teaching college courses, writing technology-related articles, and working hands-on in the technology field. She earned an MA in Writing from Rowan University in 2012 and wrote her thesis on online communities and the personalities curated in such communities. This article has been viewed 36,117 times.
How helpful is this?
Co-authors: 3
Updated: January 4, 2021
Views: 36,117
Categories: Windows 10
Article SummaryX

1. Press the Windows key.
2. Type "Command Prompt".
3. Right-click the "Command Prompt - App" result.
4. Click Run as administrator.
5. Type "DISM.exe /Online /Cleanup-image /Restorehealth" and press Enter.
6. Enter "sfc /scannow" and press Enter.

Did this summary help you?
Advertisement