Skip to content

Published: October 28, 2013 | Applies to:

This article will show you how to use System File Checker to repair Windows in order to scan and fix corrupted files in Windows XP or later.

NOTE : Article updated on June 11th, 2015 with new screenshots.

System File Checker (SFC) is an in-built tool inside Microsoft Windows operating system that helps us to repair system files in times of crisis, and solving issues without reinstalling whole OS. It basically allows users to scan the corrupted files and fix or restore them with default ones. This means if a third-party software has modified native system files, System File Checker will restore them. This works for all Windows editions starting from Windows XP to latest Windows 10.

Now some technical information about System File Checker. It is basically the part of Windows Resource Checker tool of Windows operating systems. According to Microsoft, “it scans the integrity of all protected system files and replaces incorrect versions with correct Microsoft versions“.

The overall syntax for System File Checker commands goes like this:

SFC [/SCANNOW] [/VERIFYONLY] [/SCANFILE=<file>] [/VERIFYFILE=<file>] [/OFFWINDIR=<offline windows directory> /OFFBOOTDIR=<offline boot directory>]

Where, you can use the different parameters according to your need. Here are the specialty of these different parameters:

/SCANNOW : Scans integrity of all protected system files and repairs files with problems when possible.

/VERIFYONLY : Scans integrity of all protected system files. No repair operation is performed.

/SCANFILE : Scans integrity of the referenced file, repairs file if problems are identified. Specify full path by subsituting it with <file> placeholder.

/VERIFYFILE : Verifies the integrity of the file with full path <file> placeholder. No repair operation is performed.

/OFFBOOTDIR : For offline repair specify the location of the offline boot directory.

/OFFWINDIR : For offline repair specify the location of the offline Windows directory.

Of all these parameters, /SCANNOW is one of the most popular and used syntax. So let us discuss the various scenarios when you run SFC /SCANNOW and different results are obtained with it:

How To : Use System File Checker To Repair Windows

1. To use SFC /SCANNOW command, you have to open administrative or elevated Command Prompt aka Command Prompt with administrative privileges. In the Windows search box, type cmd and pick Command Prompt from results, right click it and select Run as administrator.

How To Use System File Checker To Repair Windows

2. Then simply type SFC /SCANNOW or sfc /scannow command (it’s not case-sensitive) and hit Enter key. You’ll see this message:

Beginning system scan. This process will take some time.

Beginning verification phase of system scan.

Verification <0-100>% complete.

The time of scan to complete depends upon the capabilities of your system. Now following results may possible:

a. If the scan has completed with founding some corrupted or missing files and it fixed them also, you’ll see this message:

Windows Resource Protection found corrupt files and successfully repaired them. Details are included in the CBS.Log %WinDir%\Logs\CBS\CBS.log.

Note: %WinDir% is general syntax for system root drive, it means if Windows is installed on C: drive then %WinDir% can be replaced with C:\.

indows Resource Protection found corrupt files and successfully repaired them.

You can run this command to extract the scan log in a Notepad file (sfcdetails.txt) at Desktop:

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

How To Use System File Checker To Repair Windows

The resulted scan log can be viewed in Notepad for analysis purpose:

How To Use System File Checker To Repair Windows

b. If the scan has completed with founding some corrupted or missing files but it can’t fix them, you’ll see this message:

Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log %WinDir%\Logs\CBS\CBS.log.

Windows Resource Protection found corrupt files but was unable to fix some of them.

In such a case, you can need to use another advanced tool named CheckSUR which is part of System Update and Readiness Tool. It employs the use of Deployment Imaging and Servicing Management (DISM) commands to repair the system files by fixing system image. Read more about it here:

[FIX] Repair Your Windows 8 Using DISM Commands

c. If the scan didn’t found any integrity violations or corrupted files, you’ll receive this message:

Windows Resource Protection did not find any integrity violations.

Windows Resource Protection did not find any integrity violations.

It means your system native files are safe and original and you’re good to go.

d. Sometimes the scan may not be initiated, because the background services on which scan depends are not running. Then you’ll see this message:

Windows Resource Protection could not perform the requested operation.

or

Windows Resource Protection could not start the repair service.

Windows Resource Protection could not start the repair service.

In this case you can refer this fix:

[FIX] Windows Resource Protection Could Not Perform The Requested Operation

So this is all about System File Checker corruption repair commands. Hope they helps you and fix your system, Good luck!


SHARE: Facebook Google+ Twitter

What's New


Recent Comments

  • Alex : Thank you problem solved with fix 2 :-)...

    11 hours ago

  • poorna sachintha : cant delete that lower version numbers..please help.....

    11 hours ago

  • Kapil Arya : ^^ Glad we could help 😎...

    20 hours ago

  • Jack : My problem was fixed by just using the first line in step 2 ...

    22 hours ago


Windows Group Policy Troubleshooting