Windows 7 Forums


Windows 7: System File Checker (sfc), Options?

15 May 2012  
Nehmo

Kansas
10 posts
 
 
System File Checker (sfc), Options?

System File Checker (sfc) has a few parameters that you can use when runing sfc:
Parameters
/scannow : Scans all protected system files immediately.
/scanonce : Scans all protected system files once.
/scanboot : Scans all protected system files every time the computer is restarted.
/revert : Returns the scan to its default operation.
/purgecache : Purges the Windows File Protection file cache and scans all protected system files immediately.
/cachesize=x : Sets the size, in MB, of the Windows File Protection file cache.
/? : Displays help at the command prompt.



What's the difference between the first two, /scannow and /scanonce?
Does /scanonce wait until you reboot and then run one time?
And while I'm asking about sfc, where is the "Windows File Protection file cache"?
My System SpecsSystem Spec

16 May 2012  
marsmimar

Win 7 Pro 64-bit
6,693 posts
South Central Texas
 
 

Quote   Quote: Originally Posted by Nehmo View Post
What's the difference between the first two, /scannow and /scanonce?
Does /scanonce wait until you reboot and then run one time?
And while I'm asking about sfc, where is the "Windows File Protection file cache"?
/scannow scans all protected system files immediately. /scanonce scans all protected system files at the next boot.

System File Checker

How to use the System File Checker tool to troubleshoot missing or corrupted system files on Windows Vista or on Windows 7

You might find this Microsoft KB article interesting re: Windows File Protection.

Description of the Windows File Protection feature

And option three, this tutorial, gives some good info on how to see and read the CBS.log if a System File Checker scan finds any problems.

SFC /SCANNOW Command - System File Checker
My System SpecsSystem Spec
Reply

 System File Checker (sfc), Options? problems?



Thread Tools



Similar help and support threads for: System File Checker (sfc), Options?
Thread Forum
Win7(SP-1) & System File Checker Performance & Maintenance
System File Checker Help Please Performance & Maintenance
System File Checker Is Only 98% Complete When Done??? Where's 100%??? Performance & Maintenance
System File Checker did not fix all problems Performance & Maintenance
System File Checker BSOD Help and Support


All times are GMT -5. The time now is 06:11 AM.



Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd