Registry Backup in XP

P

Pete

Hi everyone...I have some questions on backing up the registry. I have
XPsp2.

A simple way of backing up the registry (as long as it is clean) is to
merely export it and import it back if you need to
(http://www.pcmag.com/article2/0,1895,1838726,00.asp). I have done the
export and named the file regback and it gets a .reg extension
automatically.

However if you read the help in regedit, it makes reference to 64 bit and 32
bit keys in XP. I have pasted it below.

-----------------------------------------------------------------------------------------------------

*Using Registry Editor with Windows XP, 64-Bit Edition*
The registry in Windows XP, 64-Bit Edition is divided into 32-bit and 64-bit
keys. Many of the 32-bit keys have the same names as their 64-bit
counterparts, and vice versa. The default, 64-bit version of Registry Editor
that comes with Windows XP, 64-Bit Edition displays only the 64-bit keys.

To view or edit 32-bit keys from the registry of a computer running Windows
XP, 64-Bit Edition, you must use the 32-bit version of Registry Editor in
the %systemroot%\Syswow64 folder. You must close the 64-bit version of
Registry Editor before you can open the 32-bit version, and vice versa.
There are no differences in the way you perform tasks between the 32-bit
version of Registry Editor and the 64-bit version of Registry Editor.

To open the 32-bit version of Registry Editor, click Start, click Run, type
%systemroot%\syswow64\regedit, and click OK.

------------------------------------------------------------------------------------------------------

I have the following questions.

- Since there are two sets of keys do I need to do two exports, i.e. I
assume the one I did was for the 64 bit set, which is the default when you
type regedit, and I should rename it regback64.

- If I go into the 32 bit editor by typing all that nonsense above (or do
you get the same thing by typing regedt32 - I did not misspell that - it is
regedt32), should I export that also and name it regback32.

So do you really need two separate backups for the registry or not (one for
64 bit and one for 32 bit). Please excuse my ignorance, if I am all wet on
this.

- One more question as an aside. Why do you think my "enter" or "return"
key is dropping two lines on one stroke, after I pasted the insert above
from the registry editor help. Boy I love computers, :)

Looking forward to your responses...Pete

PS - Please do not respond by inserting into my "paste" from the registry
editor help, because I don't think it will take (something peculiar) and I
will not receive it properly, and the pasted text will get squirrly looking.
Please respond at either the top or the bottom. Thanks...Pete
 
H

HillBillyBuddhist

| Hi everyone...I have some questions on backing up the registry. I have
| XPsp2.
|
| A simple way of backing up the registry (as long as it is clean) is to
| merely export it and import it back if you need to
| (http://www.pcmag.com/article2/0,1895,1838726,00.asp). I have done the
| export and named the file regback and it gets a .reg extension
| automatically.

Export/import is not a suitable method for backing up your registry.

The purpose of a registry backup is to replace the working copy should it
become corrupt. The import method you describe will simply merge the good
copy with the current working bad copy.

Try http://www.larshederer.homepage.t-online.de/erunt/

--
Doug

I'm not an MVP a VIP nor do I have ESP.
I was just trying to help.
Please use your own best judgment before implementing any suggestions or
advice herein.
No warranty is expressed or implied.
Your mileage may vary.
See store for details. :)

Remove shoes to E-mail.
 
P

Pete

Alan said:
Do you actually have a 64-Bit Edition of XP?

No Alan, but the damn help article got me confused. Sorry. The help
article which talks about the 64 bit stuff was put it the xpsp2 software
before it (the 64 bit edition) was even available - april 30/2005 per my
googling...Pete
 
P

Pete

HillBillyBuddhist said:
Export/import is not a suitable method for backing up your registry.

The purpose of a registry backup is to replace the working copy
should it become corrupt. The import method you describe will simply
merge the good copy with the current working bad copy.

So what good is it and why did pc magazine write the article. BTW I do have
a 32 bit system...Pete
 
J

Jim Byrd

Hi Pete - Let me reinforce what HillBilly told you. This is my standard
post about Registry Backup:


Get Erunt here for all NT-based computers including XP:
http://www.larshederer.homepage.t-online.de/erunt/ I've set it up to take a
scheduled backup each night at 12:01AM on a weekly round-robin basis, and a
Monthly on the 1st of each month. See here for how to set that up:
http://www.larshederer.homepage.t-online.de/erunt/erunt.txt, and for some
useful information about this subject

The following tutorials are useful:

Installing & Using ERUNT
http://www.silentrunners.org/sr_eruntuse.html

To see an illustrated registry restore procedure
http://www.silentrunners.org/sr_erdntuse.html

This program is one of the best things around - saved my butt on many
occasions, and will also run very nicely from a DOS prompt (in case you've
done something that won't let you boot any more and need to revert to a
previous Registry) IF you're FAT32 OR have a DOS startup disk with NTFS
write drivers in an NTFS system. (There is also a way using the Recovery
Console to get back to being "bootable" even without separate DOS write NTFS
drivers, after which you can do a normal ERDNT restore. See erunt.txt for
detailed instructions. Basically, if you make your backup into a folder
inside your Windows or Winnt folder, you can restore at a Recovery Console
boot by copying the files from that ERDNT folder into the system32\config
folder. After a good boot, then do another normal ERDNT restore to restore
the user hives also.) (BTW, it also includes a Registry defragger program).
Free, and very, very highly recommended.

FYI, quoting from the above document:

Note: The "Export registry" function in Regedit is USELESS (!) to make a
complete backup of the registry. Neither does it export the whole registry
(for example, no information from the "SECURITY" hive is saved), nor can the
exported file be used later to replace the current registry with the old
one. Instead, if you re-import the file, it is merged with the current
registry, leaving you with an absolute mess of old and new registry keys.
 
A

Alan Edwards

No Alan, but the damn help article got me confused. Sorry. The help
article which talks about the 64 bit stuff was put it the xpsp2 software
before it (the 64 bit edition) was even available - april 30/2005 per my
googling...Pete

OK. Ignore the 64-Bit if you don't have it.

Ignore the PCMag article. I don't know why they wrote it.
That is not the way to backup and restore the Registry.
They quote
http://support.microsoft.com/default.aspx?scid=kb;en-us;322756 in the
article, but it doesn't indicate that you should restore the WHOLE
Registry like that.

....Alan
 
P

Pete

Thanks a lot Jim...Pete

Jim said:
Hi Pete - Let me reinforce what HillBilly told you. This is my
standard post about Registry Backup:


Get Erunt here for all NT-based computers including XP:
http://www.larshederer.homepage.t-online.de/erunt/ I've set it up to
take a scheduled backup each night at 12:01AM on a weekly round-robin
basis, and a Monthly on the 1st of each month. See here for how to
set that up:
http://www.larshederer.homepage.t-online.de/erunt/erunt.txt, and for
some useful information about this subject

The following tutorials are useful:

Installing & Using ERUNT
http://www.silentrunners.org/sr_eruntuse.html

To see an illustrated registry restore procedure
http://www.silentrunners.org/sr_erdntuse.html

This program is one of the best things around - saved my butt on many
occasions, and will also run very nicely from a DOS prompt (in case
you've done something that won't let you boot any more and need to
revert to a previous Registry) IF you're FAT32 OR have a DOS startup
disk with NTFS write drivers in an NTFS system. (There is also a way
using the Recovery Console to get back to being "bootable" even
without separate DOS write NTFS drivers, after which you can do a
normal ERDNT restore. See erunt.txt for detailed instructions.
Basically, if you make your backup into a folder inside your Windows
or Winnt folder, you can restore at a Recovery Console boot by
copying the files from that ERDNT folder into the system32\config
folder. After a good boot, then do another normal ERDNT restore to
restore the user hives also.) (BTW, it also includes a Registry
defragger program). Free, and very, very highly recommended.

FYI, quoting from the above document:

Note: The "Export registry" function in Regedit is USELESS (!) to
make a complete backup of the registry. Neither does it export the
whole registry (for example, no information from the "SECURITY" hive
is saved), nor can the exported file be used later to replace the
current registry with the old one. Instead, if you re-import the
file, it is merged with the current registry, leaving you with an
absolute mess of old and new registry keys.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top