How to Run SFC Command on Windows

Searching for a guide on how to run the SFC command on Windows 11? You are at the right place. Here, you will learn it with the necessary details.

The System File Checker, or SFC, is a very important part of Windows OS. This component can detect and correct any faults in your system files. I had many situations when my PC was not working correctly. In these cases, the SFC command acted as a lifesaver.

Why use SFC?

The main purpose of the SFC command is to scan and repair corrupted or modified system files.

It helps maintain the integrity of the operating system. Even though there are many excellent PC optimization utilities out there, the System File Checker is still the essential tool you need. Users can run the SFC command in the Command Prompt to perform a system file check and repair any issues found.

How do I Run the SFC Command?

To run the SFC command on Microsoft Windows 11 or 10, you can follow these methods:

1. Run SFC using Terminal or Command Prompt:

  1. Press the Win + X on the keyboard, and click on Terminal (Admin).
    selecting terminal admin from power menu
  2. Type the following command and hit Enter: sfc /scannow 
    
Sfc scannow command windows terminal
  3. Give it some time to finish the process.

Usually, it will take 5-10 minutes. But, you may experience even longer processing time depending on various things.

2. Run in Recovery Mode:

This method helps if you can’t access Windows properly. Here are the steps to follow to run the SFC command in recovery mode:

  1. Let’s assume you have reached the repair option after booting automatically or by using a bootable Windows media.
  2. Now click on Troubleshoot.
  3. Then, go to Advanced options and choose Command Prompt.
  4. Type the following command and press Enter: wmic logicaldisk get captionWmic logicaldisk get caption command windows terminal
  5. Note down which drive letter contains Windows installation. In most cases, it should be C.
  6. Now type the following command and hit Enter: sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows
    
Sfc scannow offbootdire c offwindir c windows terminal command=c offwindir=cWindows terminal command
    Note: You must replace the C: with your system drive letter. For example, it can be D:.
  7. Give it some time to finish the process.

How to Analyze the Scan Results:

After the scan is completed, you will understand whether the process is successful or not. Usually, you will get the following messages:

  • Windows Resource Protection did not find any integrity violations: Your system has no corrupted files.
  • Windows Resource Protection found corrupt files and successfully repaired them: It indicates that the corrupted files were successfully repaired.
  • Windows Resource Protection found corrupt files but was unable to fix some of them: Some corrupted files are still there. You will need to take additional actions.

In case the SFC fails to do its job, you should run the Deployment Image Servicing and Management (DISM) tool.


Like me, you may go through unexpected Windows issues. In this case, the System File Checker will surely save you.

This article has explained why and how to use the SFC command effectively on a Windows 11 or 10 device. If you have any questions, let us know in the comment box.