Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


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

15 May 2012   #1
Nehmo

Kansas
 
 
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   #2
marsmimar

Microsoft Community Contributor Award Recipient

 
 

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?




Thread Tools




Similar help and support threads
Thread Forum
How restore system files when System File Checker won't work
I have run System File Checker (sfc) and it found many files that were corrupt and could not be repaired. My PC appears to be running fine - but I am anal about repairing anything that is wrong on my PC. The only suggestion I've received so far was to perform a Repair Install. That's very risky....
Performance & Maintenance
system file checker log does not show file not repaired
Ran system file checker and it said it found corrupted files but could not repair all of them. Looking at the log is not helping. I have posted the last several lines as they are representative of the entire log with the exception of the last few lines that mention an actual repair. Where is the...
Performance & Maintenance
System file checker
Does anyone have a link where I can find a list of all the commands ( and what they do) for System file checker in Windows 7 ? thank you Joe
Performance & Maintenance
SYstem File Checker Result - CBS.Log file says Access Denied
I have just completed a System File Check and some repairs were done I was told that the relevant report could be seen at C:\WINDOWS\LOGS\CBS\CBS.LOG. When I Clicked on that I got Access Denied How can I Open that log file? I am the Administrator
Performance & Maintenance
system file checker
long story short l have a external drive which keeps on telling me to scan it, l havent the space to backup the content on it and reformat etc and whenever l use the file system scanning tools it seems to stop at a specific record at which point l have to disconnect and reconnect the drive again to...
Performance & Maintenance


Our Sites

Site Links

About Us

Find Us

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

All times are GMT -5. The time now is 05:26.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App