Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page




 

Microsoft DOS sfc command

Quick links

About sfc
Availability
Syntax
Examples

About sfc

Scans and replaces any Microsoft Windows file on the computer and replaces any changed file with the correct version. This is a great command to run when you are running into an issue that is difficult to troubleshoot.

 

Availability

The sfc.exe command is an external command that is available in the below Microsoft operating systems.

Windows 2000
Windows XP
Windows Vista
Windows 7

Index

Category:
MS-DOS

Companies:
Microsoft

Related Pages:
Operating systems

Resolved

Were you able to locate the answer to your questions?

Syntax

Microsoft Windows 2000 Syntax

Microsoft(R) Windows 2000 Windows File Checker Version 5.00
(C) 1999 Microsoft Corp. All rights reserved

Scans all protected system files and replaces incorrect versions with correct Microsoft versions.

SFC [/SCANNOW] [/SCANONCE] [/SCANBOOT] [/CANCEL] [/ENABLE] [/PURGECACHE] [/CACHE SIZE=x] [/QUIET]

/SCANNOWScans all protected system files immediately.
/SCANONCEScans all protected system files once at the next boot.
/SCANBOOTScans all protected system files at every boot.
/CANCELCancels all pending scans of protected system files.
/QUIETReplaces all incorrect file versions without prompting the user.
/ENABLEEnables Windows File Protection for normal operation
/PURGECACHEPurges the file cache and scans all protected system files immediately.
/CACHESIZE=xSets the file cache size

Microsoft Windows XP Syntax

Microsoft(R) Windows XP Windows File Checker Version 5.1
(C) 1999-2000 Microsoft Corp. All rights reserved

Scans all protected system files and replaces incorrect versions with correct Microsoft versions.

SFC [/SCANNOW] [/SCANONCE] [/SCANBOOT] [/REVERT] [/PURGECACHE] [/CACHESIZE=x]

/SCANNOWScans all protected system files immediately.
/SCANONCEScans all protected system files once at the next boot.
/SCANBOOTScans all protected system files at every boot.
/REVERTReturn scan to default setting.
/PURGECACHEPurges the file cache.
/CACHESIZE=xSets the file cache size.

Examples

sfc /scannow

Begins the scan of all system files.

Home - Computer help - Contact - Site Map - About Us
Link to Computer Hope - Bookmark Computer Hope