Hi Bert,
That's a clear and concise response; well written, IMO. The
misconceptions and even misinformation "out there" about the
registry file/s are terrible, and hard to figure out. I found
out the hard way about the ease of creating duplicate entries in
the registry back in the days of win98, when you could actually
ask for the size of the registry and get a finite number on it.
It turns out my thinking has been right, although I've had
little opportunity to real-world test it, luckily. Your
clarification and confirmations are heartening.
If you, or anyone else cares, I can show you how easy it is to go
wrong in deciding how to use Regedit with the registry. When one
already knows the details, it's no problem, but it's quite a
problem for the person just starting to nose around and get a
head around some of it.
In Regedit's Help it says:
"
a..
1.. Under Export range, do one of the following:
2.. To back up the entire registry, click All.
a.. To back up only a particular branch of the registry tree,
click Selected branch and enter the name of the branch you want
to export.
1.. Click Save.
"
ALL comes first, doen't it? If I'm not sure what I want to do
yet, I'd better back it ALL up, right?
Then, under Import, it says:
"
To import some or all of the registry
1.. Open Registry Editor.
2.. On the File menu, click Import Registry File.
3.. Find the file you want to import, click the file to select
it, then click Open.
"
Sooo, fer sure, I can just Import the whole registry, and get it
all back, right? And everything's fine? Even if I do that
several times playing around, must not be anything to worry
about, right?
But jeepers, look at all those duplicate entries! I didn't
tell it to do that! Where'd they come from? I followed the
instructions in Help! I know they weren't there to start, I'd
remember that!
I'm not about to test it on my XP, but you could pretty
quickly bring 98 almost to its knees by importing the registry.
Well, Import and Export are there; it must have been right. I'm
forever being told to backup my registry before doing a lot of
things, so it must be the right thing to do! Right? And it
tells me right there, to get it back, just Import it! Huh!
Even Microsoft keeps saying that: From one of the links you
provided:
"
Back up the registry
Before you edit the registry, export the keys in the registry
that you plan to edit, or back up the whole registry. If a
problem occurs, you can then follow the steps in the Restore the
registry section of this article to restore the registry to its
previous state.
"
The RESTORE THE REGISTRY section talks about restoring the System
State! Soooooo, I guess Exporting the REgistry creates a System
State I can IMport from? Hmmmm, uhhh, ...
But, then, over in that link to "Restore the registry", it says,
this time:
"
Restore the whole registry
"
To restore the whole registry, restore the system state from a
backup. For additional information about how to restore the
system state from a backup, click the following article number to
view the article in the Microsoft Knowledge Base:
"
HUH!!?? I Exported the Registry, not something called a System
State! What's that got to do with the Registry? Huh! Nothing
told me to make a "system state", whatever that is! I'm
confused, so I'll just go Import the registry; that's what I
Exported, after all.
If I have to restore from the System State, why was I advised
to backup the registry? Here we go loop de loop again, so
frustratingly common in MS writings!
I think you can see where I'm coming from. It takes the likes of
a person like you who can put together all the pieces into one
digestible plate, to make sense of it. Interestingly, as many KB
articles as I've perused over this and many other things, I don't
recall one with all the required informaiton ever referenced
reasonably, even if it doesn't appear so. Q309340 makes sense:
I've never come across it, or one like it, before your post here.
The registry is one of the most misunderstood features of windows
sysems, and the most abused by do gooders IMO, plus is in reality
useless for most anything but exporting and imorting pieces that
were changed, or adding new entries. WHY the hell is it made to
be so complex? Where the hell do they get off telling me to make
a backup of my registry and then in the same breath telling me to
restore my system state when I havent' been told to save it to
anything? Rhetorical - not aimed at you; sorry if it sounded
that way.
I guess I'm just getting tired of being told to "backup the
registry" when it's a futile effort and w/r to most popular os's,
a vague and useless process. Say "System state" to a lot of
people, and they won't know what you're talking about. But say
Registry, and they'll know or at least tell you they know, what
that is.
Sorry; just a pet peeve that's really beginning to bug me, and I
am VERY happy to see not only your response, but a half way valid
KB article about it.
I just noticed how I've missed it, too: the date's April '06
on it; it's new. I almost shudder to think what "backup the
registry" will be about for Vista<g>! Not that technical writing
has ever been a strong point for MS in any arena.
I'll stop ranting now; thanks again and thanks for letting me
vent.
Pop