From f010451d2a58dbe78bc178a22a0303acec2983ba Mon Sep 17 00:00:00 2001 From: pxgamer Date: Wed, 10 Jan 2018 09:37:39 +0000 Subject: [PATCH] sfc: add page --- pages/windows/sfc.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pages/windows/sfc.md diff --git a/pages/windows/sfc.md b/pages/windows/sfc.md new file mode 100644 index 0000000000..48f84ab71c --- /dev/null +++ b/pages/windows/sfc.md @@ -0,0 +1,31 @@ +# sfc + +> Scans the integrity of Windows system files. + +- 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/dir}}` + +- When repairing offline, specify the Windows directory: + +`sfc /offwindir={{path/to/dir}}`