1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/windows/sfc.md
Emily Grace Seville c52cc074d9
windows/*.md: make placeholders more compatible with CLIP ones (#9872)
* Make placeholders more compatible with CLIP ones

* Update pages/windows/doskey.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

* Update pages/windows/doskey.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

---------

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
2023-02-20 15:23:49 +08:00

760 B

sfc

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

  • Display information about the usage of the command:

sfc

  • Scan all system files and, if possible, repair any problems:

sfc /scannow

  • Scan all system files without attempting to repair any:

sfc /verifyonly

  • Scan a specific file and, if possible, repair any problems:

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

  • Scan a specific file without attempting to repair it:

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

  • When repairing offline, specify the boot directory:

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

  • When repairing offline, specify the Windows directory:

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