sfc Command Examples

Scans the integrity of Windows system files. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/sfc.

sfc

sfc /scannow

sfc /verifyonly

sfc /scanfile={{path\to\file}}

sfc /verifyfile={{path\to\file}}

sfc /offbootdir={{path\to\directory}}

sfc /offwindir={{path\to\directory}}