Direkt zum Inhalt

Recovering a Registry Key

Thread needs solution

Is there any way to recover a single Registry key in Windows 7 Ultimate via a full backup of the hard drive made by True Image Home 2010?

0 Users found this helpful

If you can write to tis key while running windows, but just need its value, extract the single file from the backup (from the folder windows\system32\config\ , file named system for hkey_local_machine\system, software for hkey_local_machine\software ) , mount the hive a registry editor ('offline hive') and create the key with the same value (e.g. by exporting the value from the offline hive to the text file, editing the key name in the text file so that it matches the live hive instead of offline one, then importing by doubleclicking it).

Bill:

From your backup image, extract the file (from C:\Windows\System32\config) of the registry hive that contains the registry key of interest. Load this registry hive and export the desired key as a .reg file. Edit the .reg file using Notepad so that the name of the key matches the desired destination. Then import the .reg file into your live registry. Details are here: http://forum.acronis.com/forum/16309

OK, the key I need is: HKEY_CURRENT_USER\Software\Logitech\DXTweak\Profiles

I googled "load hive" as suggested in the referenced thread, but the problem is, when I highlight CURRENT_USER the Load Hive option is ghosted. I can highlight LOCAL_MACHINE, etc. and Load a hive.

What now?

Sorry for the confusion, but I am new to this.

HKEY_CURRENT_USER is stored in "C:\Documents and Settings\(username)ntuser.dat" or c:\users\(username)\ntuser.dat for the user that is current at the moment, so you need to mount this file. You can highlight HKEY_USERS and load the hive there. Note that it's not necessary to mount the hive exactly at the point where it originally was - it's ok to mount it to HKEY_USERS, just rename the path in the exported .reg file.

So originally it was HKEY_CURRENT_USER\Software\Logitech\DXTweak\Profiles, you mount the hive to HKEY_USERS\foobar, it becomes
HKEY_USERS\foobar\Software\Logitech\DXTweak\Profiles , you export it to .reg, replace in the .reg file the string HKEY_USERS\foobar\Software\Logitech\DXTweak\Profiles with
HKEY_CURRENT_USER\Software\Logitech\DXTweak\Profiles and import it.