mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 10:58:44 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
37
tldr/windows/sfc
Normal file
37
tldr/windows/sfc
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, windows]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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 oile}}`
|
||||
|
||||
- Scan a specific file without attempting to repair it:
|
||||
|
||||
`sfc /verifyfile={{path oile}}`
|
||||
|
||||
- When repairing offline, specify the boot directory:
|
||||
|
||||
`sfc /offbootdir={{path o\directory}}`
|
||||
|
||||
- When repairing offline, specify the Windows directory:
|
||||
|
||||
`sfc /offwindir={{path o\directory}}`
|
||||
Reference in New Issue
Block a user