PDF download Download Article PDF download Download Article

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.

  1. 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. As you type, you'll see search results display above the Start Menu.
    Advertisement
  3. It lists under the "Best match" header and a menu will pop up.
  4. A Command Prompt window will open. If you're prompted to allow the app to make changes, click Yes.
  5. 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. 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

Common Questions: Finding System Errors in Windows 10

What is the Windows command to scan for errors?

Use SFC /scannow and press Enter to scan for errors using System File Checker.

How do you fix corrupted files in Windows 10?

Using the System File Checker tool can repair missing or corrupted files. When you run the commands, DISM will use Windows Update to install the files needed to fix the corruption.

Should I run CHKDSK or SFC first?

Run CHKDSK first to check the Drive Integrity, followed by SFC to check Windows Files Integrity.

How do you check for Windows errors in the Command line?

Open the Start menu and type "command prompt. Click the first option. Type the command SFC /scannow and press Enter.

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!

You Might Also Like

Adjust Screen Brightness in Windows 10 Change the Screen Brightness in Windows 10: A Quick Guide
Turn Off Windows Defender in Windows 10Turn Off Microsoft Defender in Windows 10: Temporarily or Permanently
Recover Permanently Deleted Files in Windows 10Recover Permanently Deleted Files in Windows 10
Enable Image Preview to Display Pictures in a Folder (Windows 10) Show Image Previews in Windows 10 & 11
Check if Your Firewall Is Blocking SomethingA Guide to Checking if Your Firewall Is Blocking Something
Install Windows 10Install Windows 10
Use Function Keys Without Pressing Fn on Windows 10 Use Function Keys Without Pressing Fn on Windows 10
Turn Off Automatic Updates in Windows 104 Easy Ways to Turn Off Automatic Updates in Windows 10
Uninstall Riot Client Completely Uninstall the Riot Games Client & Vanguard
Set Video As Wallpaper in Windows 10Set Video As Wallpaper in Windows 10
Adjust Brightness on Windows 10 Using the KeyboardAdjust Brightness on Windows 10 Using the Keyboard
Open Task Scheduler in Windows 10Easy Ways to Open Task Scheduler in Windows 10 & 11: Run, CMD, and More
Screenshot in Windows 10Screenshot in Windows 10
Check Your Laptop’s Battery Health in Windows 10 Test Your Laptop’s Battery Health in Windows 10
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 66,945 times.
How helpful is this?
Co-authors: 3
Updated: February 27, 2024
Views: 66,945
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?

Thanks to all authors for creating a page that has been read 66,945 times.

Is this article up to date?

Advertisement