Forrest logo
back to the sfc tool

sfc:tldr:fd43b

sfc: Scan all system files without attempting to repair any.
$ sfc /verifyonly
try on your machine

The command "sfc /verifyonly" is used in the Windows operating system to run the System File Checker (sfc) tool in verify-only mode.

The System File Checker is a built-in utility that scans and verifies the integrity of system files in Windows. It checks the files against their original versions stored in the Windows installation source or a cached copy located on the local drive.

When you run the "sfc /verifyonly" command, the System File Checker scans all protected system files and checks their integrity without making any repairs. It does not modify or replace any files. Instead, it only performs a verification operation by comparing the files against the known good versions.

The purpose of using the "/verifyonly" option is to detect any corrupted or modified system files and identify potential issues within the Windows installation. Users often run this command to perform a quick check and determine whether any system files need repairing or if there are any underlying problems with the operating system.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the sfc tool