How can I configure the Windows 2000 System File Checker?

John Savill

June 18, 1999

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. Windows 2000 includes a new component which protects system filesby scanning all protected system files and replaces incorrect versions with correct Microsoft versions.

It is possible to modify the behavior of this protection using the SFC.EXEutility (you must be a member of the Administrators group).

SFC [/SCANNOW] [/SCANONCE] [/SCANBOOT] [/CANCEL] [/PURGECACHE] [/CACHESIZE=x] [/QUIET]

/SCANNOW        Scans all protected system files immediately.
/SCANONCE       Scans all protected system files once at the next boot.
/SCANBOOT       Scans all protected system files at every boot.
/CANCEL         Cancels all pending scans of protected system files.
/QUIET          Replaces all incorrect file versions without prompting the user.
/PURGECACHE     Purges the file cache and scans all protected system files immediately.
/CACHESIZE=x    Sets the file cache size

Setting the Quiet options updates HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsNTCurrentVersionWinlogonSFCDisable and the other options modifyHKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonSFCScan.

You can disable SFC by performing the following:

  1. Start the registry editor (regedit.exe)

  2. Move to HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon

  3. From the Edit menu select New - DWORD value

  4. Enter a name of EnableFileProtection, press enter

  5. Double click the value and set to 0

  6. Close the registry editor

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like