![Forrest logo](/images/logo.png)
sfc:tldr:fd43b
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.