How to replace in-use files at Windows restart (181345)
The information in this article applies to:
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Professional
- Microsoft Windows 2000 Datacenter Server
- Microsoft Windows NT Workstation 4.0
- Microsoft Windows NT Server 4.0
- Microsoft Windows NT Server, Enterprise Edition 4.0
- Microsoft Windows Server 2003, Standard Edition
This article was previously published under Q181345 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 Description of the Microsoft Windows Registry SUMMARY If you need to replace a file that is in use by Microsoft
Windows, you typically must use one of the following methods:
- Start the computer with an MS-DOS boot disk to replace the
file if your computer uses the File Allocation Table (FAT) file system on the
boot partition.
- Perform a parallel installation of Windows if the boot
partition uses the Windows NT file system (NTFS).
- Use the Mv.exe method that is specified in the following
article in the Microsoft Knowledge Base:
184408 How to replace in-use Windows NT
system files
- Rename the file at a Windows command prompt. To do so, type
the following lines at a command prompt, pressing ENTER after each line:
ren <drive>:\<path>\<file>.sys <drive>:\<path>\<file>.old
copy <drive>:\<temp folder>\<file>.sys <drive>:\<path>\<file>.sys
After you type these lines, restart the computer. Many files
cannot be renamed using the Windows Explorer shell, but can be renamed using a
command prompt.
This article describes another method you can use to replace
files that are in use by Windows. This method uses the registry to replace a
file at startup, before the file is accessed by Windows.
Modification Type: | Minor | Last Reviewed: | 8/12/2004 |
---|
Keywords: | kbenv kbhowto KB181345 |
---|
|