How to Repair Windows NT System Files Without a CD-ROM AttachedLast reviewed: December 4, 1997Article ID: Q150497 |
The information in this article applies to:
SYMPTOMSIf you perform a Windows NT Setup from a non-supported CD-ROM drive, or you set up Windows NT over the network by doing a WINNT or WINNT /B setup, you will not be able to repair system files during the emergency repair process without a supported CD-ROM attached. If you choose “Verify Windows NT System Files” on the repair menu, the repair process will read the Setup.log located on the emergency repair disk (ERD). This file contains the name of the Windows NT system files to check along with the cyclical redundancy check (CRC) value of each file.
If the repair process finds a system file that is corrupted or missing, it will prompt you, asking if the file should be repaired. If you reply yes, and your system contains no CD-ROM drive, the repair process will prompt you for a Windows NT Setup floppy disk that contains the file that needs repair. Because Windows NT server only ships on compact disc, it will not be possible to provide a valid Windows NT Setup disk to repair the file. Before proceeding, please review the following Knowledge base articles if any Windows NT Service Pack is installed: ARTICLE-ID: Q146887 TITLED : Repairing Windows NT After the Application of Service Pack 3ARTICLE-ID: Q162837 TITLED : Replacing TCPIP after SP2 causes STOP 0x00000050ARTICLE-ID: Q148262 TITLED : Removing Windows NT 3.51 SP4 or SP5 May Cause Logon Failures WORKAROUNDTo correct this problem you will need to run through the repair process twice. The first time through, choose not to replace the files that are found to be missing or corrupt, but write down a list of these files. Next, modify the Setup.log file on the ERD as outlined below, and then perform another repair process, this time choosing to replace the files. **NOTE** - NT V4.0 requires that the setupdd.sys located on setup diskette #2 be replaced with one from NT V4.0 Service pack#2 or later in order to perform a repair without a cd-rom attached. adding a "path","media name","tag file name" entry at the end of each line. Example before modification: WINNT\system32\clipsrv.exe = "clipsrv.exe","1168c" WINNT\system32\command.com = "command.com","16281" WINNT\system32\control.exe = "control.exe","16566" Example after modification: WINNT\system32\clipsrv.exe = "clipsrv.exe","1168c","\","floppy","d1.txt" WINNT\system32\command.com = "command.com","16281","\","floppy","d1.txt" WINNT\system32\control.exe = "control.exe","16566","\","floppy","d1.txt" If multiple diskettes are required use a different tag file name in the setup.log to correspond to the different diskettes IE: d1.txt, d2.txt ...
Now perform another repair process, and this time choose to repair the files.
ALTERNATE METHOD
Note: This Process assumes that the system can still boot at this time or the system is in a dual boot environment with access to the source media. This process also assumes adequate disk space to be available of approximately 100mb. With some proactive planning, one could have a copy of the installation CD-ROM \i386 directory on the hard disk of the system. When the repair process is runs it refers to those repair files already located on the local hard disk.
To run the repair process off the Hard disk, please use the following steps.
\repair \i386 (directory containing all the system files) CDROM_W.40 (For Workstation in the root of \repair) or CDROM_S.40 (For Server in the root of \repair) on the Windows NT installation CD-ROM:
- For Win95/DOS = CD to \i386 directory then Winnt /ox - For Windows NT = CD to \i386 directory then Winnt32 /ox Note: Make sure to replace the file setupdd.sys on disk #2 with the updated file from the Windows NT Service Pack-2 or later.
ARTICLE-ID: Q168015 TITLED : Files Not Replaced When Running Emergency Repair The lines that you must change are commented with a ";***" on the previous lines. [SetupData] ; ; SetupSourceDevice is optional and specifies the nt device path ; of the device to be used as the setup source. This overrides ; the CD-ROM or winnt local source. ; ;***remove the semicolon from the following line and make sure it ;***references the physical location of the system files. ;***In the example this will be partition1 since C: is the first ;*** partition on the disk. ; SetupSourceDevice = \device\harddisk0\partition1 ; ; SetupSourcePath specifies the path relative to the source device ; where the setup source tree is to be found. ; All media descriptors are relative to this. ; ;*** Change the "SetupSourcePath" line to the path of your system ;*** repair files. ;*** In the example, I would change the variable to equal \repair. ; SetupSourcePath=\repair MajorVersion = 4 MinorVersion = 0 DefaultPath=\WINNT OsLoadOptions = "/nodebug"
|
Additional query words: repair
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |