Microsoft KB Archive/222473

= Registry settings for Windows File Protection =

Article ID: 222473

Article Last Modified on 2/24/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows 2000 Datacenter Server

-



This article was previously published under Q222473



SUMMARY
The following registry key is the primary location for registry settings for Windows File Protection/System File Checker:

In addition, Windows File Protection/System File Checker settings may also be located in the following registry key:



MORE INFORMATION
When Windows starts up, the Windows File Protection service synchronizes (copies) the WFP settings from the following registry key

to the following registry key:

Therefore, if any of the following values are present in the  key, they will take precedence over the same values under the   key.

By default, only users with Administrator or System rights can modify these settings.

SFCDisable (REG_DWORD)
0 = enabled (default)

1 = disabled, prompt at boot to re-enable

2 = disabled at next boot only, no prompt to re-enable

4 = enabled, with popups disabled

NOTE: For options 1 and 2: Both of these options require a kernel debugger to be hooked up for those options to become useable. If a kernel debugger is not hooked up, Windows File Protection is not disabled.

SFCScan (REG_DWORD)
0 = do not scan protected files at boot (default)

1 = scan protected files at every boot

2 = scan protected files once

SFCQuota (REG_DWORD)
n = size (in megabytes) of dllcache quota (default is 0xffffffff or approximately 300 MB)

FFFFFFFF = cache all protected system files on the local hard disk

SFCDllCacheDir (REG_EXPAND_SZ)
Path = local or network location of dllcache folder (default is %SystemRoot%\System32)

NOTE: Network shares for the dllcache directory are no longer supported.

SFCShowProgress (REG_DWORD)
0 = System File Checker progress meter is not displayed (default)

1 = System File Checker progress meter is displayed

NOTE: The Windows 2000 source files location information is stored in the following registry location and can be modified to point to the  of a volume that has an I386 flat folder of the installation files or change the SourcePath value in the registry to point to a Universal Naming Convention (UNC) path instead of a mapped network drive.

The SourcePath value is located in the following registry key:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup

Example:

If the I386 directory is at C:\I386, the SourcePath value would be C:\.

If the I386 directory is at \\Servera\w2kflat\I386, the SourcePath value would be \\Servera\W2KFlat.

After you restart the computer, WFP and SFC /SCANNOW uses the new source path instead of prompting for the Windows 2000 installation CD-ROM.

Additional query words: sfc sfp wfp compatguidechange

Keywords: kbenv kbinfo KB222473

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.