Using the DLL Cache to Protect System and Program Files
ID: Q216222
|
The information in this article applies to:
-
Microsoft Windows 2000 Advanced Server
-
Microsoft Windows 2000 Datacenter Server
-
Microsoft Windows 2000 Professional
-
Microsoft Windows 2000 Server
SUMMARY
The dynamic-link library (DLL) cache is used to replace necessary system files at startup. The DLL cache can replace critical DLL files that have been replaced by third-party programs or accidentally deleted. The DLL cache runs at startup and replaces necessary DLL files from the %SystemRoot%\System32\Dllcache folder.
You can also use the DLL cache to replace other system and program files at startup to ensure that files are not overwritten by programs or accidentally deleted.
MORE INFORMATION
To Add Files to the DLL Cache
- Place a copy of the file you want to protect in the %SystemRoot%\System32\Dllcache folder.
- Create a corresponding value in the following registry key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SessionManager\ProtectedDlls
The new value should have the following syntax
Value name: filename
Data type: REG_EXPAND_SZ
String: path\filename
where filename is the name of the file to check and replace, and path\filename is the full path and name of the file to check and replace.
The files listed in this registry key are checked at startup to determine if they match the files in the %SystemRoot%\System32\Dllcache folder. If a file does not match or is missing, it is replaced with the file from the Dllcache folder.
NOTE: Files protected in this manner are always replaced during startup if they are changed or missing. Use caution in deciding which files to place in the DLL cache.
Additional query words:
c00002d1
Keywords : kbenv
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbhowto