{"id":1088,"date":"2010-09-20T20:18:45","date_gmt":"2010-09-20T14:48:45","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=1088"},"modified":"2020-11-28T04:52:07","modified_gmt":"2020-11-28T04:52:07","slug":"regfileexport-export-registry-key-hive-offline","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/regfileexport-export-registry-key-hive-offline\/","title":{"rendered":"RegFileExport Helps you Export Data from Offline Registry Hives"},"content":{"rendered":"<p>RegFileExport is a useful console application from NirSoft, which helps you extract data from offline Registry hives that are not currently in use by the Operating System. RegFileExport reads the registry hive and then exports the specified branch or the entire branch to a <a href=\"https:\/\/www.winhelponline.com\/blog\/how-to-use-reg-files-registration-entries-windows\/\">.reg file<\/a>.<\/p>\n<h2>Regedit.exe can do this too. What&#8217;s different?<\/h2>\n<p>We know that the Registry Editor in Windows lets you <a href=\"http:\/\/www.google.com\/search?q=&quot;load+hive&quot;+site:winhelponline.com\" target=\"_blank\" rel=\"noopener noreferrer\">load a registry hive<\/a> via the File menu &#8211; &#8220;Load Hive&#8230;&#8221; command, and extract data offline from the registry hive.<\/p>\n<p><img decoding=\"async\" class=\"alignnone\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/archived\/regfileexport-1.png\" \/><\/p>\n<p>The advantage of RegFileExport over Regedit.exe is that RegFileExport can export data quickly using a single command-line, without needing to load the hive, export the branch, update the paths in the REG file using a text editor, and unload the hive manually&#8230; which you would otherwise do if you use Regedit.exe or Reg.exe.<!--more--><\/p>\n<p>Another advantage as mentioned in the documentation is that the RegFileExport tool may also be able to extract keys and values from the Registry file even if the Registry file is corrupted and cannot be loaded by Windows.<\/p>\n<h2>RegFileExport Command-line Syntax<\/h2>\n<pre>RegFileExport [Registry File] [Destination .Reg File] {Registry Key}<\/pre>\n<p><i><code>{Registry Key}<\/code> is optional, if the key is specified, only this key and all its subkeys will be exported into the .reg file. Otherwise, the entire file will be exported. if <code>Destination .Reg File<\/code> is an empty string (&#8220;&#8221;) the Registry data will be sent to the standard output.<\/i><\/p>\n<p>Let&#8217;s say if you have a corrupted user profile from which you want to extract certain registry keys (e.g., a registry branch that stores the list of IE Extensions) so that you can apply the setting to your current profile. You use this command:<\/p>\n<pre>regfileexport \"C:\\Users\\Jim\\ntuser.dat\" ieext.reg \"HKEY_CURRENT_USER\\Software\\Microsoft\\Internet Explorer\\Extensions\"<\/pre>\n<p>And you now have the IE Extensions branch in a REG file.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/archived\/regfileexport-2.png\" \/><\/p>\n<p>Download <b><a href=\"http:\/\/www.nirsoft.net\/utils\/registry_file_offline_export.html\" target=\"_blank\" rel=\"noopener noreferrer\">RegFileExport<\/a><\/b>. This utility runs in Windows 2000 and higher.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>RegFileExport is a useful console application from NirSoft, which helps you extract data from offline Registry hives that are not currently in use by the Operating System. RegFileExport reads the registry hive and then exports the specified branch or the entire branch to a .reg file. Regedit.exe can do this too. What&#8217;s different? We know &#8230; <a title=\"RegFileExport Helps you Export Data from Offline Registry Hives\" class=\"read-more\" href=\"https:\/\/www.winhelponline.com\/blog\/regfileexport-export-registry-key-hive-offline\/\" aria-label=\"Read more about RegFileExport Helps you Export Data from Offline Registry Hives\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[6],"tags":[],"class_list":["post-1088","post","type-post","status-publish","format-standard","hentry","category-utilities"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":3097,"url":"https:\/\/www.winhelponline.com\/blog\/edit-registry-offline-windows-re\/","url_meta":{"origin":1088,"position":0},"title":"How to Edit the Registry Offline Using Windows Recovery Environment","author":"Ramesh","date":"May 9, 2016","format":false,"excerpt":"Sometimes, you may need to edit the Windows registry offline to rectify a situation where Windows doesn't boot after modifying some settings recently. Windows Recovery Environment (WinRE) is a handy platform that provides various system recovery options to diagnose and repair an unbootable Windows installation. This post explains how to\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"windows re bcdedit osdevice","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/05\/winre-bitlocker-prompt.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/05\/winre-bitlocker-prompt.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/05\/winre-bitlocker-prompt.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/05\/winre-bitlocker-prompt.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":9898,"url":"https:\/\/www.winhelponline.com\/blog\/automatically-backup-registry-hives-windows-10\/","url_meta":{"origin":1088,"position":1},"title":"How to Automatically Backup the Entire Registry in Windows","author":"Ramesh","date":"June 22, 2019","format":false,"excerpt":"Every System Restore point or shadow copy maintains a complete backup of the registry hives. However, Windows 10\/11 doesn't automatically create System Restore points every day. Restore Points are created only when installing important updates or drivers. Notwithstanding the System Restore's excellent capabilities, relying upon System Restore as a file\u2026","rel":"","context":"In &quot;Utilities&quot;","block_context":{"text":"Utilities","link":"https:\/\/www.winhelponline.com\/blog\/category\/utilities\/"},"img":{"alt_text":"backup registry daily or weekly - regidlebackup task","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/06\/registry-backup-task-regidlebackup.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/06\/registry-backup-task-regidlebackup.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/06\/registry-backup-task-regidlebackup.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":26688,"url":"https:\/\/www.winhelponline.com\/blog\/restore-path-environment-variable-deleted\/","url_meta":{"origin":1088,"position":2},"title":"How to Recover PATH Variable After Deleting it Accidentally","author":"Ramesh","date":"May 18, 2022","format":false,"excerpt":"The PATH is a variable that Windows uses to locate needed executables, especially from the command line. Unfortunately, there are situations where users accidentally delete the PATH variable. This can happen when users inadvertently overwrite the PATH data rather than appending them. There are also cases where some buggy applications\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"recover path environment variable - shadow copy hive","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/05\/recover-path-variable-shadowcopy.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/05\/recover-path-variable-shadowcopy.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/05\/recover-path-variable-shadowcopy.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":27399,"url":"https:\/\/www.winhelponline.com\/blog\/clear-ms-paint-recent-files-mru-windows-11-10\/","url_meta":{"origin":1088,"position":3},"title":"Clear MS Paint Recent Files History in Windows 11\/10","author":"Ramesh","date":"August 21, 2022","format":false,"excerpt":"The MS Paint app maintains a list of the most recently opened files. The list, shown when you click on the File menu, contains the last nine files you opened. This article tells you how to clear the Paint MRU history in Windows 10 and Windows 11. Clear Paint MRU\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"clear mspaint recent history windows 10\/11 - hive","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/08\/mspaint-recent-mru-w11.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/08\/mspaint-recent-mru-w11.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/08\/mspaint-recent-mru-w11.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/08\/mspaint-recent-mru-w11.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":1435,"url":"https:\/\/www.winhelponline.com\/blog\/sort-registry-editor-favorites-menu\/","url_meta":{"origin":1088,"position":4},"title":"How to Sort the Registry Editor Favorites Menu?","author":"Ramesh","date":"January 16, 2016","format":false,"excerpt":"The Favorites menu in the Registry Editor (Regedit.exe) is very useful especially if you're someone who loves playing with the Registry Editor all the time. If you've noticed, the favorites menu in Regedit doesn't have an option to sort the entries alphabetically. If you have many entries in the favorites\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/regedit-fav-sort1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/regedit-fav-sort1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/regedit-fav-sort1.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":5506,"url":"https:\/\/www.winhelponline.com\/blog\/recover-registry-keys-restore-point-shadow-copy-windows\/","url_meta":{"origin":1088,"position":5},"title":"Recover Registry Keys from a System Restore Point in Windows","author":"Ramesh","date":"October 14, 2017","format":false,"excerpt":"System Restore snapshots or volume shadow copies contain registry hives as well as critical system files. Sometimes you may need to extract individual registry keys from an earlier restore point but don't want to do a complete System Restore rollback. Previously we saw how to open the registry hives from\u2026","rel":"","context":"In &quot;Utilities&quot;","block_context":{"text":"Utilities","link":"https:\/\/www.winhelponline.com\/blog\/category\/utilities\/"},"img":{"alt_text":"registrychangesview options","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/10\/recover-registry-restore-point-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/10\/recover-registry-restore-point-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/10\/recover-registry-restore-point-1.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/1088","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/comments?post=1088"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/1088\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=1088"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=1088"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=1088"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}