How to export a registry entry to file

The reg program can be used to operate on the Windows registry from the command-line. Exporting registry entries is one of the tasks it can perform. Exporting registry entries is useful to save settings to a file and restoring or importing those settings on a different computer.

To export a registry entry, provide its registry path and an output filename. For example, to export the settings of the PuTTY program I used this invocation:

reg export HKEY_CURRENT_USER\Software\SimonTatham\PuTTY putty.reg

This exported the entries to the putty.reg registry entry file.

There is also a program from NirSoft called RegFileExport that offers to do this job. But I found that it did not work for me. It probably only works on offline registry hives.

Tried with: Windows 10 Enterprise

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.