IT Share NVP -ViettechgroupVN-Phuong Nguyen blog | Share make us stronger Knowledge is Sharing Viettechgroup- Sharing Make Us Stronger-Kiến thức CNTT là sự chia sẻ- NVP-Chia sẻ làm chúng ta mạnh hơ| ITShareNVP Channel | Phương Nguyễn | Phuong Nguyen Blog| Lưu trữ kiến thức chia sẽ kinh nghiệm CNTT | Phương Nguyễn

Load user registry hive in regedit

0 751

All user’s registry settings (HKEY_CURRENT_USER) are stored in the registry hive file NTUSER.DAT in the user’s profile directory. When solving errors, this file is often deleted. This might do the trick, but is rather drastic as all registry settings are lost.

Deletion of a single registry key is far more likable. You can do this by loading the hive in the registry editor in a temporary key in HKEY_LOCAL_MACHINE.

Load the hive (GUI)

1. Start regedit.exe.


3. select File -> Load Hive from the dropdown menu.

4. Select the NTUSER.DAT file from the user’s profile directory.

5. Enter the registry key’s name: Temp.

6. The key HKEY_LOCAL_MACHINE\Temp will appear. You now can change, add or delete any key and value you like.

8. On logon the registry hive is copied from the profile directory to the computer’s local hard disk and the other way around on logoff. This means it’s useless to change the file NTUSER.DAT when the user is logged on to any PC in the network.

Because the file will be locked on loading the hive, you must remember to unload the hive before user’s logon. To do so, select the key HKEY_LOCAL_MACHINE\Temp and use the Unload Hive option in the file dropdown menu.

Load hive using the command line

Loading the hive (step 2-5) can be replaced by the command:

Reg load HKLM\Temp [filepath]

Unloading the hive (step 8) can be done by:

Reg unload HKLM\Temp

Example: Delete HKLM\Temp\Software\Adobe\Acrobat Reader if the user is experiencing Acrobat Reader problems.


This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. AcceptRead More