Microsoft KB Archive/256923

{|
 * width="100%"|

Replacing a Hotfix File in Windows 2000 and Windows File Protection

 * }

-

The information in this article applies to:


 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Professional

-

SYMPTOMS
After you install a hotfix or an instrumented build of a native Windows 2000 system file, Windows File Protection (WFP) may replace the file with the original version of the file.

CAUSE
WFP keeps a copy of the original system dynamic-link libraries (DLLs) in the %SystemRoot%\System32\Dllcache folder and replaces new files with the original files from this folder.

WORKAROUND
Use the following workaround to replace a system file in the %SystemRoot%\System32\Dllcache folder. You can also use this method to replace a file in the %SystemRoot%\System32 folder.


 * 1) Start a command prompt session.
 * 2) Switch to the Dllcache folder by using the cd command. The Dllcache folder is hidden; the full path is %SystemRoot%\System32\Dllcache.
 * 3) Rename the DLL that you want to replace and copy the new file into the %SystemRoot%\System32\Dllcache folder.
 * 4) Switch to the folder in which the original system file is located. For illustration purposes, this article assumes the %SystemRoot%\System32\Drivers folder.
 * 5) Rename the original file and copy the new file into the folder. Do not delete the original file; if you do it will be copied back by WFP almost immediately.
 * 6) Reboot the computer. When you do so, you receive the following message:
 * 7) Click Cancel. You receive the following message:
 * 8) Click Yes. The new file remains in the folder.

NOTE: If Windows 2000 finds a copy of the the original file that has been replaced, the new file will be overwritten automatically. Therefore, it is important to ensure that there are no copies of the original file accessible to the operating system.

MORE INFORMATION
For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:

"Q222193 Description of the Windows 2000 Windows File Protection Feature" "Q222473 Registry Settings for Windows File Protection" Additional query words:

Keywords : w2000wfp

Version : WINDOWS:2000

Platform : WINDOWS

Issue type : kbprb

Technology :