Windows

sfc

CautionRepair system files

sfc /scannow

Scans and repairs corruption in protected system files.

Examples

  • sfc /scannowRun scan and auto-repair

Syntax

sfc /scannow

Before you run it

Takes time; requires admin rights.

Used when you see

PC is slow
4
Sanity-check system filesIf corruption is suspected
See the whole flow →
Windows Update keeps failing
3
Scan and repair system files
See the whole flow →
Blue screens (BSOD)
3
Check for corrupted system files
See the whole flow →

Related commands

  • DISMRepair the Windows image
  • chkdskCheck/repair a disk

The same reference, with no signal at all

Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store