How To Use System File Checker | Latest Guide 2022


In this article, we will see all about the system file checker (SFC) and how to use this command. The Windows System File Checker tool can scan your Windows system files for corruption or other changes. If a file is modified, it will automatically replace it with the updated version.

What is an SFC Command?

System File Checker (SFC.exe), an easy-to-use command prompt utility, checks for corrupted System Files and replaces them with a copy. This Windows built-in tool is great to use if there is suspicion of system file corruption or if there is just a general concern.

System File Checker

How use the System File Checker tool?

Open Command Prompt (Run in administrator).

In the Command Prompt window type “sfc/scannow” for a system scan. Then press Enter.

Once the process is complete, you will see the scanned results. We recommend that you do not close the Command Prompt window during the process.


Depending on the results of your scan, you might receive one of these messages.

Message 1: Windows Resource Protection found no integrity violations.

This is actually a positive thing. It means that there are no missing or corrupt files on your system.

Message 2: Windows Resource Protection couldn’t perform the requested operation.

SFC scans in safe mode can solve the problem.

Message 3: Windows Resource Protection detected corrupt files and repaired them.

This is a great thing! You can only view the CBS details if you copy them to the Sfcdetails.txt text file using the Findstr command. At the command prompt, enter the following command line

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

To view the details, open Sfcdetails.txt on your desktop. This file contains information about files that have not been repaired using the System File Checker tool.


Message 4: Windows Resource Protection detected corrupt files, but was unable to fix some.

This is when you will need to manually repair corrupt files. Follow these steps to do this:

You can obtain a good copy of the system files from another computer running the same version of Windows as yours. To ensure that the system file you are going to copy is safe, you can run a System File Checker on that computer.

How do you replace corrupt files after a System File Checker scan?

You can replace corrupt files with SFC. If the “Windows resource protection found corrupt files but was unable to fix some of them then you can resolve this issue with SFC.

Step 1: Type the following command and hit Enter

takeown /f File_Name_and_Path_Name

Notice: The Path_And_File_Name placeholder specifies the path and file name of the corrupted files. For instance, type takeown /f C:\windows\system32\jscript.dll.


Step 2: Administrators will have full access to the corrupted file if you type the following command and hit Enter.

icacls Path_And_File_Name /GRANT ADMINISTRATORS:F

Notice: The Path_And_File_Name placeholder indicates the path and file name of the corrupted files. For instance, type icacls C:\windows\system32\jscript.dll /grant administrators:F.

Step 3: Next, replace the damaged file in the system with a good copy. Enter the following command and hit Enter to accomplish this.

Copy Source_File Destination

Notice: The Source_File placeholder is the path and name of the good copy of the file you have on your computer. The Destination placeholder is the path name and file name for the corrupted file. For example, type copy E:\temp\jscript.dll C:\windows\system32\jscript.dll.


Did you know? The SFC command can be used to repair any drive, external or internal. Let’s find out how to do it:

How to repair corrupted drives with the SFC Command

These steps will allow you to run SFC commands on an externe hard drive:

Step 1: Open the Command Prompt window in elevated (Administrator).

Step 2: Replace ‘c::’ in the command with the letter of the external drive. You should also replace “c:windows”, which is the directory in which Windows is installed, with the default, “Windows”.

If the corruption continues and none of the above options have worked and you still have corrupt files or drives, and you want to recover them, Remo Recover is a reliable data recovery tool.

Even after Raw partition corruptions, the tool can retrieve lost data. The software can scan every sector of the hard disk to find and retrieve over 300 file types, regardless of whether a partition was deleted, lost or formatted. The tool can also recover data from FAT16 and FAT32 drives, as well as NTFS, FFS5, and NTFS5 drives on all Windows operating systems, including Windows 11.


Related: The Ultimate Guide To The Best Tech Blogs