Article ID: 236995 - View products that this article applies to.
This article was previously published under Q236995
NoticeThis article applies to Windows 2000. Support for Windows 2000 ends on July 13, 2010. The Windows 2000 End-of-Support Solution Center
(http://support.microsoft.com/?scid=http%3a%2f%2fsupport.microsoft.com%2fwin2000)is a starting point for planning your migration strategy from Windows 2000. For more information see the Microsoft Support Lifecycle Policy
Windows File Protection (WFP) protects operating system files from being replaced by third-party programs or being accidentally deleted. When a file that is protected by this process is deleted or overwritten, WFP automatically replaces the file with the original version.
The %SystemRoot%\System32\DllCache folder by default caches all files on Windows 2000 Professional installations as long as there is enough disk space available. All protected files are cached in all Windows 2000 Server products.You can manually adjust the WFP cache size limit by using the Sfc.exe command-line utility. Type sfc /? to display usage and syntax information for Sfc.exe.
If your DLLCache is set to a certain size and you want to manually add files to the DllCache, you can do so but the files are not used until the next time you restart the computer.
WFP initializes and generates a list of files that are currently in the %SystemRoot%\System32\DLLCache folder each time the computer is booted. This file list is referenced whenever a protected file is modified or deleted. If the file is not on the current list that was created during the last reboot, WFP checks the original Windows 2000 installation source.
Windows File protection OverviewWhen a WFP protected file is overwritten or deleted, WFP checks the digital signature of the new file to see if it matches the digital signature listed in a catalog. If the digital signatures do not match, WFP replaces the file with the original version.
When it is replacing files, WFP looks in the following locations to find the correct version:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\SourcePath:REG_SZ:<drive letter>:where drive letter is the appropriate drive letter. After Rebooting, WFP and SFC /SCANNOW will use the new source path instead of prompting for the installation CD-ROM.
NOTE: If Windows 2000 was installed by running Winnt.exe or Winnt32.exe from a folder (for example, the \I386 folder) on the local hard disk, Setup considers it to be equivalent to a local CD-ROM installation method; WFP looks to the local CD-ROM drive for the source of system files.
If the file required for replacement is found in any of these sources, WFP automatically overwrites the file and the following event is placed in the System event log:
If the file is not located in any of the source folders and the original installation source (network share or local CD-ROM) is not available, the user is prompted to insert the Windows 2000 installation CD-ROM.
Event ID: 64001
Source: Windows File Protection
Description: File replacement was attempted on the protected system file c:\winnt\system32\file_name. This file was restored to the original version to maintain system stability. The file version of the system file is x.x:x.x.
For additional information about the WFP feature, click the article number below to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/222193/EN-US/ )Description of the Windows 2000 Windows File Protection Feature
Article ID: 236995 - Last Review: February 27, 2007 - Revision: 3.4