How to View Registry Items from Saved NTUSER.DAT
Matthew Martinez
I am trying to view registry items in a saved copy of NTUSER.DAT; how can I do so?
I want to do this because I had a crashed hard drive and want to get all my programs running again.
I reinstalled Win10 and all programs from a USB drive backup, but now some programs refuse to run because they can't find their registry settings; I have a pre-crash backup of NTUSER.DAT and want to view it so I can find the missing items.
3 Answers
Registry hives, such as NTUSER.DAT, are a bespoke file format, with a number of ways of viewing them:
- Perhaps the cleanest is to use a third-party application such as:
- Ease of use: MiTeC's Windows Registry Recovery
- Forensic analysis: Eric Zimmerman's Regisrty Explorer
- If you don't want third-party tools, you can mount a registry hive using
regedit:
(You probably don't want to do this and requires local Administrator privileges)- From Start Menu, find Registry Explorer/
regedit - In the left-hand tree pane select
HKEY_USERS - From the File menu, select Load hive...
- Select the file you want to mount [
NTUSER.DAT] - Give it a name [
OLD] and you will now see the mounted hive underHKEY_USERS - To unmount it, select the name you gave it [
OLD], and from the File menu, select Unload hive
- From Start Menu, find Registry Explorer/
- Google search results
To load the NTUSER.DAT hive:
- GUI:
+R →
RegEdit→ OK- Highlight
HKEY_USERS→ File: Load Hive... → SelectNTUSER.DAT - Arbitrarily name it → OK → Browse as normal
- CLI:
- Load hive:
Reg Load HKU\temp "C:\Path\to\NTUSER.dat" - Export key:
Reg Export HKU\temp\Path\to\Key "C:\Path\to\Save\Exported.reg" - Unload hive:
Reg Unload HKU\temp
- Load hive:
I appreciate the suggestions but I couldn't get any to work as I wanted. However, I did find a work-around: I created a shortcut to the troublesome EXE and changed its Properties (Compatibility Mode) to Windows 7. I also set Shortcut->Advanced->Run as Administrator. This did not actually answer my question as originally asked, but it did solve my problem.
4