Help
Windows 10
System File Checker (SFC)
To access do the following
-
Access Command prompt with Administrator Rights (Click link for instructions)
-
Type SFC /?
SFC [/SCANNOW] [/VERIFYONLY] [/SCANFILE=<file>] [/VERIFYFILE=<file>] [/OFFWINDER=<offline windows directory< /OFFBOOTDIR=<offline boot directory< [/OFFLOGFILE=<log file path>]]
/SCANNOW | Scans integrity of all protected system files and repairs files with problems when possible. | |
/VERIFYONLY | Scans integrity of ll protected system files. No repair operation is performed | |
/SCANFILE | Scans integrity of the referenced file, repairs file if problems are identified. Specify full path <file> | |
/VERIFYFILE | Verifies the integrity of the file with full path <file>. 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 | |
/OFFLOGFILE | For offline repair, optionally enable logging by specifying a log file path |
e.g.
-
sfc /SCANNOW
-
sfc /VERIFYFILE=c:\windows\ system32\kernel32.dll
-
sfc /SCANFILE=d:\system22\ kernel32.dll /OFFBOOTDIR=d:\ /OFFWINDER=d:\windows
-
sfc /scanfile=d:\windows\system32\ kernel32.dll /OFFBOOTDIR=d:\ /OFFWINDER=d:\windows /OFFLOGFILE=c:\log.txt
-
sfc /VERIFYONLY