Registry edit

  • Thread starter Thread starter Peter Downes
  • Start date Start date
P

Peter Downes

Can I edit the registry of an old Windows XP installation (not bootable) if
I put the HDD into another PC?
 
Yes, you can. The system registry hives are in

\WINDOWS\system32\config\system
\WINDOWS\system32\config\software

Look for 'hive' in the regedit help.
 
Will this not corrupt the working registry?

cristalink said:
Yes, you can. The system registry hives are in

\WINDOWS\system32\config\system
\WINDOWS\system32\config\software

Look for 'hive' in the regedit help.
 
Regedit is supposed to edit the hives. See the help file. Make a backup copy
of the hive just in case.
 
Will this not corrupt the working registry?

Did you mean 'current'? You need to be very careful not to overwrite your
current registry when you loading/importing a hive. You need to create a new
key anywhere in your registry and then import a hive file UNDER that key.
This won't cause any harm. Then you can edit the hive and export it back to
a file. You should back up your registry, too.
 
cristalink said:
Did you mean 'current'? You need to be very careful not to
overwrite your current registry when you loading/importing a hive.
Hi

Actually, as long as you use File/Load Hive..., you are not
able to overwrite your current registry...
 
Hi Peter,

Slave your hard drive to another system, then modify your hive.

From an account with Administrator level access

1) Click Start, Run and enter REGEDIT
2) In Regedit, highlight the HKEY_USERS key and go to File, Load Hive.
3) Use the File Open dialog to go to the Documents and Settings\<username>
folder, where <username> is the account you wish to modify.
4) Highlight the NTUSER.DAT file in this folder (usually a hidden file) and
select Open.
5) You'll be prompted to enter a "Key name". You can use whatever you wish,
but I use the User's logon name.
6) You can now expand the Hive you just loaded and make any needed changes.
7) When finished, highlight this Hive again and go to File, Unload Hive.

NOTE: You MUST unload the Hive prior to logging on to the users account.
Otherwise XP may have trouble loading the user's profile.

Editing the Registry for "other" Users
http://www.dougknox.com/xp/tips/xp_adv_reg_editing.htm

--
All the Best,
Kelly (MS-MVP)

Troubleshooting Windows XP
http://www.kellys-korner-xp.com
 
Peter said:
Can I edit the registry of an old Windows XP installation (not bootable) if
I put the HDD into another PC?

Yes. You can then run regedit.exe, select an appropriate 'Hive' (eg
HKLM) and use File - Load Hive to load the one from the other disk
(and of course to save it back when done). Once finished, I would be
inclined to do a system restore on that machine back to a point made
just before starting, just to ensure that did not get damaged by
accident
 
Back
Top