Sessions: 259 The postings on this site are my own and do not represent my Employer's positions, advice or strategies.

LifeAsBob

  Friday, March 29, 2024
Wider View Login

Cluster
DOS
IBM - AS400
MOM
Performance Counters
Service Broker
SQL Server
     Temporary Database
     Views
     Backup
     SQL Mail
     DTS - Data Transformation Services
     Memory
     Security
     Excel
     Jobs SQL Agent
     MSDE
     Install
          Template.ini options...
          Pending Previous Ins...
          How to replace in-us...
     DBCC
     User Management
     System Databases
     BCV
     Deadlocks
     Temp Tables
Windows OS




Will be added as a sub-category of, Install
How to replace in-use windows nt system files
PSS ID Number: Q181345 Article last modified on 01-20-2000 WINDOWS:2000; winnt:4.0 WINDOWS winnt ========================= ========================= ==================== --------------------------------------------------------------------------- ---- The information in this article applies to: - Microsoft Windows NT Workstation version 4.0 - Microsoft Windows NT Server version 4.0 - Microsoft Windows NT Server, Enterprise Edition version 4.0 - Microsoft Windows 2000 Professional - Microsoft Windows 2000 Server - Microsoft Windows 2000 Advanced Server --------------------------------------------------------------------------- ---- IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe. SUMMARY ======= If you need to replace a file that is in use by Windows NT, you normally mu st 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 NT if the boot partition uses the Windows NT file system (NTFS). - Use the Mv.exe method specified in the following article in the Microsof t Knowledge Base: ARTICLE-ID: Q184408 TITLE : How to Replace In-Use Windows NT System Files - Rename the file at a Windows NT command prompt. To do so, type the follo wing lines at a command prompt, pressing ENTER after each line: ren :\\.sys :\\.old copy :\\.sys :\\.sys After you type these lines, restart the computer. Many files cannot be r enamed using the Windows Explorer shell, but can be renamed using a command prom pt. This article describes another method you can use to replace files that are in use by Windows NT. This method uses the registry to replace a file at start up, before the file is accessed by Windows NT. MORE INFORMATION ================ WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Di sk (ERD). The following steps demonstrate how to replace the Win32k.sys file in the %SystemRoot%\System32 folder with the Win32k.sys file located in the C:\Tem p folder. You can use variations of this method to replace any file if your installation of Windows NT is bootable. 1. Start Registry Editor (Regedt32.exe). 2. Locate the following key in the Windows NT registry: HKEY LOCAL MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager 3. Create a new value using the following information: Value name: PendingFileRenameOperations Data type : REG MULTI SZ Value data: \??\c:\temp\win32k.sys !\??\c:\winnt\system32\win32k.sys Note that the value data is typed on two separate lines. 4. Quit Registry Editor. 5. Restart the computer. For additional information, please see the following article in the Microso ft Knowledge Base: Q184408 How to Replace In-Use Windows NT System Files Additional query words: replaced inuse in use system files file FileRenameO perations cannot rename ========================= ========================= ==================== Keywords : kbenv msient ntboot nthowto ntfilesys Version : WINDOWS:2000; winnt:4.0 Platform : WINDOWS winnt Issue type : kbhowto ========================= ========================= ========================= == Copyright Microsoft Corporation 2000.