Restoring registry

T

the K

I've imaged my drive and would like to restore my registry after performing a
repair install. I understand the HKEY_LOCAL_MACHINE hive is located in the
Windows\System32\config folder. Where's the data stored for
HKEY_CLASSES_ROOT,HKEY_CURRENT_USER,HKEY_USERS,
and HKEY_CURRENT_CONFIG?
 
P

Pegasus \(MVP\)

the K said:
I've imaged my drive and would like to restore my registry after
performing a
repair install. I understand the HKEY_LOCAL_MACHINE hive is located in the
Windows\System32\config folder. Where's the data stored for
HKEY_CLASSES_ROOT,HKEY_CURRENT_USER,HKEY_USERS,
and HKEY_CURRENT_CONFIG?

All system registry files are located in c:\Windows\System32\config. All
user-related registry files are located in c:\Documents and
Settings\{UserName}. They are normally hidden.
 
A

Andrew E.

Guess youre imageing software failed to perform...Should have used xp
own XCOPY,it always works.Either way,to "fix" a corrupted registry,follow
microsoft outlined guide in kb307545
 
J

John John (MVP)

Stop spreading lies, Xcopy *never* works when trying to copy the active
Windows installation. The Windows Xcopy command cannot be used to clone
the currently active installation and ironically enough it would have
choked up at the very files mentioned in the OP's post. You don't
believe me? Then try this:

At a Command Prompt issue the following commands:

md c:\temp
xcopy %systemroot%\system32\config\system c:\temp

Go ahead, try it! You can't break Windows when you try it and it will
once and for all put your Xcopy cloning notions to rest. Xcopy can only
work if you use it on an inactive Windows installation.

John
 
B

Bill Cunningham

All system registry files are located in c:\Windows\System32\config. All
user-related registry files are located in c:\Documents and
Settings\{UserName}. They are normally hidden.

Now what if a person wanted to compress the registry? Would they need to
save all ntuser.dat files under all users of documents and settings after
saving the registry hives on a .reg file ?

Bill
 
P

Pegasus \(MVP\)

Bill Cunningham said:
Now what if a person wanted to compress the registry? Would they need
to save all ntuser.dat files under all users of documents and settings
after saving the registry hives on a .reg file ?

Bill

I'm not aware of any process that compresses the registry of an active
Windows installation - please elaborate.
 
B

Bill in Co.

Why not just use ERUNT, and be done with it. THAT is a lot better than
trying to save or export a .reg file, UNLESS you are only interested in
saving or restoring some specific keys.
 
T

Twayne

Why not just use ERUNT, and be done with it. THAT is a lot better
than trying to save or export a .reg file, UNLESS you are only
interested in saving or restoring some specific keys.

A Restore Point does a pretty good job of that, as does backing up the
System State. And neither needs any 3rd party stuff to mess with.
Either one wil get you back the registry. Help has details on them.
 
B

Bill Cunningham

I'm not aware of any process that compresses the registry of an active
Windows installation - please elaborate.

There are tools that are supposed to do this but if the registry is in
memory I'm not quite sure how it would work either. I'm talking about an old
win98 technique (of course this was in dos mode) where the registry file
where pretty much deleted and using the correct hkeys a new registry was
created. Of course if you wanted to defrag the registry the files would have
to be renamed or atleast moved to another place. I'm talking about the 5-6
regsitry files xp has now. It was simple with user.dat and system.dat.

Bill
 
P

Pegasus \(MVP\)

Bill Cunningham said:
There are tools that are supposed to do this but if the registry is in
memory I'm not quite sure how it would work either. I'm talking about an
old win98 technique (of course this was in dos mode) where the registry
file where pretty much deleted and using the correct hkeys a new registry
was created. Of course if you wanted to defrag the registry the files
would have to be renamed or atleast moved to another place. I'm talking
about the 5-6 regsitry files xp has now. It was simple with user.dat and
system.dat.

Bill

I don't believe in registry defragging and cleaning and I don't really think
that this is relevant to the OP's question.
 
T

Terry R.

The date and time was 11/17/2008 2:56 PM, and on a whim, Bill Cunningham
pounded out on the keyboard:
Now what if a person wanted to compress the registry? Would they need to
save all ntuser.dat files under all users of documents and settings after
saving the registry hives on a .reg file ?

Bill

Hi Bill,

As another Bill stated, use ERUNT. It is an automated backup and
includes the other program NTREGOPT. It doesn't compress, but removes
"space" and in effect reduces the size of the registry.

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


--
Terry R.

***Reply Note***
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
 

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