Help and Support
 

powered byLive Search

Optimizing Windows File Protection Service

Article ID:229656
Last Review:February 23, 2007
Revision:3.2
This article was previously published under Q229656
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 (http://support.microsoft.com/kb/256986/EN-US/) Description of the Microsoft Windows Registry
On This Page

SUMMARY

To optimize the Windows File Protection service (WFP), you can increase the %SystemRoot%\System32\Dllcache folder to its maximum size to eliminate the need to have media inserted to replace files.

Back to the top

MORE INFORMATION

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

NOTE: You should use Ntbackup.exe in Windows 2000 to back up the system state before following the steps in this article.

Back to the top

Maximizing the Dllcache Folder

1.Use Registry Editor (Regedt32.exe) to locate the following value:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SFCQuota
2.Set the SFCQuota value to 0xFFFFFFFF. This value caches all protected files.
3.Quit Regedt32.exe.
4.Type sfc /scannow at a command prompt. This causes the System File Checker tool to verify all protected file versions and add all absent protected files to the Dllcache folder.
Both the SFCQuota and SFCDllCacheDir values can be set during unattended Setup. For additional information about WFP, please see the following articles in the Microsoft Knowledge Base:
222193 (http://support.microsoft.com/kb/222193/EN-US/) Description of the Windows 2000 Windows File Protection Feature
222471 (http://support.microsoft.com/kb/222471/EN-US/) Description of the Windows 2000 System File Checker Tool
Windows 2000 fills the Dllcache up to its cache size limit until you reach 150 MB of free space remaining. If you have 150 MB or less of free space remaining with the installation of Windows 2000, your Dllcache should be empty. By default, Windows 2000 (all versions) is set to cache all protected files.

NOTE: Windows 2000 may not have all files cached until you have run a system scan using SFC /Scannow.

Back to the top


APPLIES TO
Microsoft Windows 2000 Server
Microsoft Windows 2000 Advanced Server
Microsoft Windows 2000 Professional Edition

Back to the top

Keywords: 
kbenv kbinfo KB229656

Back to the top

Article Translations

 

Related Support Centers

Other Support Options

  • Need More Help?
    Contact a Support professional by E-mail, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.