Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
System File Checker is a utility in Windows that allows users to scan for
corruptions in Windows system files and restore corrupted files. This article
describes how to run the System File Checker tool (SFC.exe) to scan your
system files and to repair missing or corrupted system files. If a Windows
Resource Protection (WRP) file is missing or is corrupted, Windows may not
behave as expected. For example, some Windows functions may not work,
or Windows may crash.
https://support.microsoft.com/en-gb/help/929833/use-the-system-file-checker-tool-to-repair-missing-or-corrupted-system 1/6
24/4/2018 Use the System File Checker tool to repair missing or corrupted system files
Type the following command, and then press Enter. It may take
several minutes for the command operation to be completed.
https://support.microsoft.com/en-gb/help/929833/use-the-system-file-checker-tool-to-repair-missing-or-corrupted-system 2/6
24/4/2018 Use the System File Checker tool to repair missing or corrupted system files
sfc /scannow
The sfc /scannow command will scan all protected system files, and
replace corrupted files with a cached copy that is located in a
compressed folder at %WinDir%\System32\dllcache.
The %WinDir% placeholder represents the Windows operating
system folder. For example, C:\Windows.
https://support.microsoft.com/en-gb/help/929833/use-the-system-file-checker-tool-to-repair-missing-or-corrupted-system 3/6
24/4/2018 Use the System File Checker tool to repair missing or corrupted system files
More Information
To view the details that included in the CBS.Log file, you can copy the
information to the Sfcdetails.txt file by using the Findstr command, and
then view the details in the Sfcdetails.txt. To do this, follow these steps:
1. Open an elevated command prompt as described in the previous
step 1.
Note The Sfcdetails.txt file contains details from every time that the
System File Checker tool has been run on the computer. The file
includes information about files that were not repaired by the System
File Checker tool. Verify the date and time entries to determine the
problem files that were found the last time that you ran the System
File Checker tool.
After you determine which system file was corrupted and could not be
repaired through the detail information in the Sfcdetails.txt file, find where
the corrupted file located, and then manually replace the corrupted file with
a known good copy of the file. To do this, follow these steps:
Note You may be able to get a known good copy of the system file from
another computer that is running the same version of Windows with your
computer. You may perform a System File Checker process on that
computer to make sure the system file that you intend to copy is a good
copy.
https://support.microsoft.com/en-gb/help/929833/use-the-system-file-checker-tool-to-repair-missing-or-corrupted-system 5/6
24/4/2018 Use the System File Checker tool to repair missing or corrupted system files
3. Replace the corrupted system file with a known good copy of the file.
To do this, copy and paste (or type) the following command, and
then press ENTER:
Copy Source_File Destination
Note The Source_File placeholder represents the path and file name
of the known good copy of the file on your computer, and the
Destination placeholder represents the path and file name of the
corrupted file. For example, type copy E:\temp\jscript.dll
C:\windows\system32\jscript.dll.
https://support.microsoft.com/en-gb/help/929833/use-the-system-file-checker-tool-to-repair-missing-or-corrupted-system 6/6