SFC.exe

System File Checker

Syntax
      Sfc [/Scannow] [/Scanonce] [/Scanboot] [/Revert] [/Purgecache] [/Cachesize=x]
Key
   /Scannow   Scan all protected system files immediately and replace
              incorrect versions with correct Microsoft versions. 
              May require access to the Windows installation source files.

   /Scanonce  Scan all protected system files one time when you restart your computer.
              May require access to the Windows installation source
              files when you restart the computer.
              The SfcScan DWORD value is set to 2 in the following registry key
              HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

   /Scanboot  Scan all protected system files every time you start your computer.
              May require access to the Windows installation source files every 
              time you start the computer.
              The SfcScan DWORD value is set to 1 in the following registry key 
              HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

   /Revert    Return scan to the default setting
              (do not scan protected files when you start the computer).
              The default cache size is not reset when you run this command.

  /Purgecache Purge the file cache and scan all protected system files immediately.
              May require access to the Windows installation source files.

 /Cachesize=x Set the file cache size to x megabytes (MB).
              The default size of the cache is 50 MB. 
              This command requires you to restart the computer, and then run
              the /purgecache command to adjust the size of the on-disk cache.
              This command sets the SfcQuota DWORD value to x in the following registry key:
              HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

SFC must be run from an elevated command prompt.

“Oh, yes, I've learned from my mistakes and I'm sure I could repeat them exactly” ~ Sir Arthur Streeb-Greebling (aka Peter Cook)

Related:

SLMGR - Software Licensing Management.
MSINFO32 - Windows System Information.


 
Copyright © SS64.com 1999-2019
Some rights reserved