Export users registry settings from NTUSER.DAT

In users profile folder, you find a hidden file called NTUSER.DAT. This file contains the users registry settings/values and for example it can be useful when you need to get registry settings from a corrupt profile.

NTUSER.DAT will be found in the users profile folder (by default: C:\Users\% UserProfile%).

To export settings:

  1. Start the Registry Editor as administrator
  2. File> Load Hive> chose the NTUSER.DAT file and press Open
  3. Name the Hiven to the correct username. When you export the registry file it uses this name.
  4. Select the folder or setting you would like to save/export. Right click and choose Export.
  5. Import the registry file from Registry Editor when user is logged on.


You can easily adjust the username afterwards if you open the registry file you created with notepad. If you want to import the setting for multiple users change the “HKEY_USERS\username\” to “HKEY_CURRENT_USER\”.


Change from: [HKEY_USERS\linus.lysell\System\CurrentControlSet\Policies]

To: [HKEY_CURRENT_USER\System\CurrentControlSet\Policies]

Disclaimer: All information on this blog is offered "as is" with no warranty. It is strongly recommended that you verify all information and validate all scripts in isolated test environments before using them in production environments.