How to Use SFC Scannow to Repair Windows System Files (2024)

Every activity, program, and application on Windows is dependent on a large number of system files. Therefore, even if a single system file that is needed to run the program or the app is damaged or corrupted, you will face a problem and won’t be able to run the program as expected. Fortunately, there is an easy way to check corrupted files. We’ll show you how to use the SFC scannow to repair Windows system files.

How to Use SFC Scannow to Repair Windows System Files (1)

To use the System File Checker (SFC) tool, you do not need to install any third-party application on your PC. All you need to use is the Command Prompt application on your Windows PC.

Before we show you how to use it, let us understand what the System File Checker tool is and what it does on your PC.

What Is SFC Scan

The Windows System File Checker – SFC scan is a tool you can use on Command Prompt that detects any corrupted files on your PC. Once detected, it attempts to repair and restore the file. This is a tool that you can use if you are encountering any problems while using your Windows PC.

How to Use SFC Scannow to Repair Windows System Files (2)

Move on to the next section to understand what happens when you run an SFC scan on your PC.

What Does SFC Scan Do

Here are all the possible results of an SFC scan on Windows:

  • If the SFC scan does not detect any corrupted files, you will see the following message: “Windows Resource Protection did not find any integrity violations.”
  • If the SFC scan detects corrupted files and repairs all of them, you will see the following message: “Windows Resource Protection found corrupt files and successfully repaired them.”
  • If the scan detects corrupted files but can only repair a few of them, you will see the following message: “Windows Resource Protection found corrupt files but was unable to fix some of them.”
  • If the SFC scan runs into a problem, it will show the following message: “Windows Resource Protection could not perform the requested operation.”

With that out of the way, let’s move on to how you can start an SFC scan.

How to Run an SFC Scan Using the “SFC Scannow” Command

Here’s how you can perform an SFC scan on Windows.

Step 1: Open ‘Command Prompt’ from the start menu. Right-click, and select ‘Run as administrator’.

How to Use SFC Scannow to Repair Windows System Files (3)

Step 2: Type the following command :

SFC /scannow

As the system scan begins, you can see its progress. Once the system scan is complete, you will see whether it is successful or not.

How to Use SFC Scannow to Repair Windows System Files (4)

Here are some of the other commands that you can use with SFC on the command prompt.

Different Windows SFC Commands You Can Use on Windows

You can also use some of the below commands instead of ‘/scannow’ with the SFC command. Here’s what all of these commands do.

1. Verify Only

The SFC /verifyonly command verifies and detects corrupted files but does not attempt to fix or repair them, unlike SFC /scannow command. Type the below command in the Command Prompt window running as an administrator and press enter.

SFC /verifyonly
How to Use SFC Scannow to Repair Windows System Files (5)

The command will verify all files and will tell you if there are any problems.

2. Scan a Specific File using SFC

If you do not want to scan all the system files, you can scan a specific file using SFC. This command will check if the file is corrupted and will repair it if it is.

Type the below command in Command Prompt running as an administrator and press enter. The term ‘file_path’ is the path of the file that you want to scan.

SFC /scanfile="file_path"
How to Use SFC Scannow to Repair Windows System Files (6)

3. Verify a Specific File

You can also verify a specific system file using the /verifyfile command. The command will verify the specified file and check if it is corrupted. However, it does not repair the file, unlike ‘SFC /scanfile’.

Type the below command in Command Prompt running as an administrator and press enter. The term ‘file_path’ is the path of the file that you want to scan.

SFC /verifyfile="file_path"
How to Use SFC Scannow to Repair Windows System Files (7)

How to Run an SFC Scan Without Logging into Windows

You can also run an SFC scan without booting into Windows. All you need to do is to boot your computer using Windows installation media. Open Command Prompt and type the command to run the scan. Note that the term ‘drive_name’ stands for the alphabetical letter indicating the drive.

sfc /scannow /offbootdir=<drive_name>:\ /offwindir=<drive_name>:\windows

How to Get SFC Log File

After an SFC scan is complete, it will log the results into a text file. Here’s how you can access the SFC log file.

Step 1: Open ‘Command Prompt’ from the start menu. Right-click, and select ‘Run as administrator’.

How to Use SFC Scannow to Repair Windows System Files (8)

Step 2: Type the following command and hit enter.

findstr /c:"[SR]" %windir%\logs\cbs\cbs.log >sfcdetails.txt
How to Use SFC Scannow to Repair Windows System Files (9)

Step 3: Navigate to This PC > Windows (C:) > Windows > System32.

You will find the text file called sfcdetails in the System32 folder.

How to Use SFC Scannow to Repair Windows System Files (10)

Step 4: Open the file. It will display all the details of the SFC scan process.

How to Use SFC Scannow to Repair Windows System Files (11)

However, if you are unable to find the file in the System32 folder, here’s an alternative method to find the SFC log file.

Type the following command in Run.

%windir%\logs\cbs\cbs.log
How to Use SFC Scannow to Repair Windows System Files (12)

You will be redirected to a text file. Using the date and time in the leftmost column, scroll down to when you performed the SFC scan. All the information that has a [SR] tag contains the details of the SFC scan process.

How to Use SFC Scannow to Repair Windows System Files (13)

That is all you need to know on how to repair Windows system files using SFC Scannow. If you have any further questions, look at the FAQ section below.

FAQs on SFC Scan on Windows

1. What is CHKDSK vs. SFC?

CHKDSK, Check Disk, verifies the integrity of a disk on Windows. Whereas SFC, System File Checker, verifies the integrity of the system files.

2. Should I run DISM or SFC first?

DISM, Deployment Image Service and Management Tool, is used to repair the Windows system image. You can use DISM only if SFC does not work since it is recommended to check your system files first.

3. Does SFC scan free up disk space on Windows?

No. SFC does not free up space on Windows.

4. How to clear unwanted files on Windows?

You can refer to our guide that helps you delete unwanted files on Windows.

Use Windows System File Checker (SFC) Effectively

We hope this article helps you use SFC scannow to repair system files on Windows. Manually verifying a protected system file can be tricky since you may not have access to it in the first place. Therefore, tools like SFC will certainly come in handy.

Was this helpful?

Thanks for your feedback!

The article above may contain affiliate links which help support Guiding Tech. The content remains unbiased and authentic and will never affect our editorial integrity.

How to Use SFC Scannow to Repair Windows System Files (2024)
Top Articles
Latest Posts
Article information

Author: Mr. See Jast

Last Updated:

Views: 6194

Rating: 4.4 / 5 (75 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Mr. See Jast

Birthday: 1999-07-30

Address: 8409 Megan Mountain, New Mathew, MT 44997-8193

Phone: +5023589614038

Job: Chief Executive

Hobby: Leather crafting, Flag Football, Candle making, Flying, Poi, Gunsmithing, Swimming

Introduction: My name is Mr. See Jast, I am a open, jolly, gorgeous, courageous, inexpensive, friendly, homely person who loves writing and wants to share my knowledge and understanding with you.