Registry recovery program that works in DOS ?

  • Thread starter Thread starter bilm
  • Start date Start date
B

bilm

Is there a program that can rebuild the registry from the last restore point
that works in DOS mode ?

When I get a crash caused by a corrupt registry, Windows won't boot.
I'm familiar with the pains taking method where the Windows install DVD is
used with the Recovery Console. Lots of typing and rebooting.

I was hoping for an easier way.

thanks,

bilm
 
Open the search engine of your choice (Google, Yahoo, Bing, etc.) and
use this as your search term:

backup the windows XP registry

The Windows registry can't be restored from DOS mode.
 
That article is dated August 7, 2000! Do you think it applies to Windows XP?

In any case, DOS can't read an NTFS-formatted partition.
 
bilm said:
Is there a program that can rebuild the registry from the last restore point
that works in DOS mode ?

When I get a crash caused by a corrupt registry, Windows won't boot.
I'm familiar with the pains taking method where the Windows install DVD is
used with the Recovery Console. Lots of typing and rebooting.

I was hoping for an easier way.

thanks,

bilm
There is a program call ERD Commander put out by Winternals. However, it
was acquired by Microsoft and is now Microsoft Desktop Optimization Pack.

Danny
 
You're right. That one link (bad choice) was not for XP.
Actually there is a way to access an NTFS drive from DOS and thus repair a
corrupt registry but it all seems like such a lot of work for something that
is such a common problem. You would think MS would come up with a little
program to do this.

I'll check out ERD Commander.

regards,

bilm
 
bilm:

If you mean true DOS (as in DOS 6.22) then it cannot read NTFS file
structure. What you may mean is the Command window/Command prompt at
startup. This isn't a true "DOS", but a simple command window. True,
it does a lot of things that the old DOS used to do (including reading
NTFS file structure) but it shouldn't really be labeled a "DOS".

Questor

--->
 
bilm said:
Is there a program that can rebuild the registry from the last
restore point that works in DOS mode ?

When I get a crash caused by a corrupt registry, Windows won't boot.
I'm familiar with the pains taking method where the Windows install
DVD is used with the Recovery Console. Lots of typing and rebooting.

I was hoping for an easier way.

Presumably, you are referring to Windows XP's Command Prompt, and not
"DOS mode"!

If so, the method outlined here should be one of the first methods you
try:

http://support.microsoft.com/kb/304449

Using System Restore should get you back to the point in time before
your registry became corrupt.

ERUNT is another option:

http://www.larshederer.homepage.t-online.de/erunt/
 
What "common problem"? Most people never corrupt their registry. I
haven't corrupted my registry ever.
 
bilm said:
Is there a program that can rebuild the registry from the last
restore point that works in DOS mode ?

When I get a crash caused by a corrupt registry, Windows won't boot.
I'm familiar with the pains taking method where the Windows install
DVD is used with the Recovery Console. Lots of typing and rebooting.

I was hoping for an easier way.

Is this for use on your own computer or for use when working on other
people's computers? You realize that you can save and batch these
Recovery Console commands? The MSKB article tells you how to do this.

You're asking for a pretty tall order to find a utility that will run on
an antiquated operating system like DOS and that will not only be able
to read and write to NTFS but that will also be able to extract the
registry files from restore points. I know that to someone with a bit
of programming experience, or even with advanced batch file skills this
is probably not too difficult; use an ntfs driver that will allow DOS to
read and write to the NTFS drive and the rest is probably not all that
difficult for those who know how to do it. But other than for a few
arcane tasks few of the experts use DOS to repair problems on Windows XP
machines.

Make yourself a Bart PE disk ( http://www.nu2.nu/pebuilder/ ) or do it
the easy way and download a pre-built one ( http://www.ubcd4win.com/ )
or even use a live Linux CD and you will be able to do whatever you want
while you are booted with one of these discs, Windows will be fast
asleep and you will be able to copy whatever you want on the Windows
drive! All you have to do is make a copy of the System32\Config folder
and if you later need to you can just use it to replace the original
folder. That is all there is to it.

You don't want the hassles of booting to a live CD? Then get yourself a
disk imaging or cloning utility and it will be able to backup (image) or
clone the Windows installation from the up and running Windows session.
You can then extract the System33\Config folder from the image and
then just copy the folder to the System32 folder of the Windows
installation and give it a name like Config2 and then if you ever need
to use it you can simply rename the folders from the Recovery Console.
In the case of a cloning utility the folder will be cloned along with
the rest of the Windows installation to another hard drive.

Still too much trouble or you think that imaging or cloning is too time
consuming? Use the NTBackup utility (it's on your Windows CD or
available for download on the Internet) and do a System State data
backup. Select to backup only the System State data, don't select any
other files. The backup will take about two to three minutes to
complete. Then do a restore of the System State backup but *restore it
to a different location!* In other words restore it to a special folder
that you will create just for this task. The restored system state will
contain a folder named REGISTRY, copy the folder over to the System32
folder and when needed rename it from the Recovery Console as mentioned
earlier. After you reboot the machine to recover from a corrupt
registry you can then do a System Restore to a recent point or if you
have a fresh backup of the System State data you can restore it to its
original location.

John
 
Back
Top