SfcScan

HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Windows File Protection

Data type Range Default value
REG_DWORD 0 | 1 | 2 0

Description

Determines when Windows File Protection scans protected files for changes. By default, protected files are scanned only during setup.

This entry stores the setting of the Scanning frequency box in the Set Windows File Protection scanning Group Policy. Group Policy adds this entry to the registry when you configure the Set Windows File Protection scanning policy. If you disable the policy or set it to Not configured, Group Policy deletes the entry from the registry and the system behaves as though the value is 0.

Value Meaning
0 The policy is disabled or not configured, or the policy is enabled and set to Do not scan during startup. Windows File Protection scans files only during setup.
1 The policy is enabled and set to Scan during startup. Windows File Protection scans files at setup and each time you start Windows 2000. This setting delays each startup.
2 The policy is enabled and set to Scan once. Windows File Protection scans files the next time you start the system.

Change method

To change the value of this entry, use Group Policy. This entry corresponds to the Set Windows File Protection scanning policy (Computer Configuration\Administrative Templates\System\Windows File Protection). Enable the policy and select a rate from the Scanning Frequency box.

Note Image Note

This entry affects file scanning only. It does not affect the standard background file change detection that Windows File Protection provides.

This entry takes precedence over a user setting. While the Set Windows File Protection scanning policy is enabled (and this entry appears in the registry), the system ignores the value of SfcScan in the Winlogon subkey. Also, this entry overrides System File Checker (SFC.EXE) commands, /SCANONCE and /SCANBOOT, which change the value of SFCScan in the Winlogon subkey.

Windows File Protection only scans when the current user is an administrator of the computer.

Tip Image Tip

For detailed information about particular Group Policy settings, see the Group Policy Reference (Gp.chm) on the Windows 2000 Resource Kit companion CD.

For general information about Group Policy, see Group Policy in Windows 2000 Help.

To see a table associating policies with their corresponding registry entries, see the Group Policy Reference Table.

Related Entries

Page Image