Discussion Locked

Can't create ERD

0 helpful
10 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I can't create an ERD because my SystemRoot\repair folder is 2.5 mg. I have also been occasionally crashing on Hal.dll.

I have upgraded to sp6a, but it hasn't done it for me. I've tried repairing from the hard drive. However the NT repair ishardcoded to read from the A drive (regardless if the A drive is enabled or disabled).

Any suggestions other than reinstalling NT would be greatly appreciated.

10 replies

by elmagoal

Try the repair by booting from the NT CD or the setup disks and select r to repair. After the repair you need to re-install SP6a.

by nlombs

I've tried the repair from the CD & it assumes that your ERD is on the floppy drive (even if the floppy is disabled). Any other suggestions?

by troberts

As long as the individual files in the systemroot\repair directory are smaller than a floppy it is supposed to be possible to copy the files onto multiple floppies and just feed them in when repair asks for the file. (I haven't tried this though)

by mcalleja

1. Boot to the working OS
Essentially you need to get access to the HDD. This unfortunately can be the most difficult part of the restore. You can do this a variety of ways 1) NTRECOVER is usually the easiest way (www.sysinternals.com). 2) Install a second copy of NT on the HDD. 3)temporarly install a extra HDD with a OS that allows read/write access (either NT or win9x with NTFSDOS).

2. Over write the hive in the %systemroot%\system32\config dir with the correct hive.
The software hiveneeds to be placed on some sort of media which can be used by the machine to be repaired. My personal favourite is a CD (I regularly burn copies of all the ERDs of all the servers to CD monthly).
If you do not have a current copy (ERD failed andyou didn't know about it) use the compressed hive in the %systemroot%\repair directory. This can be uncompressed by using EXPAND.EXE. Then simply copy it over the old one.
If you have the OS that needs repairing running (but not fully) try using the REGREST.EXE from the Reskit. It is a cool util that allows you to restore a Hive while a machine is running.
3. Boot to the repaired system

If you have a second copy of NT installed on your servers a restore can be done inside of 20mins. The biggest problem I have had is that people didn't have a ERD - one machine I recently restored its last ERD was run 29/1/99.

If you want a script to backup to a network share email me or there is a techrepublic article which explains how todo it.

HTH
mcalleja@bigfoot.com

This discussion is closed to new replies.