RegFileExport Can Export Keys And Values From Corrupt Registry File


RegFileExport is a command line application developed by Nirsoft for exporting data from offline registry file located on another disk drives. It is also capable of exporting registry keys and values from corrupted registry files, which comes useful in instances when you are unable to export registry file or even access it from Windows build-in registry editor. It requires two or three parameters to be passed for performing the operations correctly.

First you need to get acquainted with the syntax.

RegFileExport [Registry File] [Destination .Reg File] {Registry Key}

The first parameter is Registry File which refers to the path of the folder where it is residing, next Destination .Reg File points to the output path, you can leave it null when a standard output is needed. The last parameter Registry Key is optional, if you need to export a specific key, enter its value. It is must be noted that the mentioned key along with all its sub-keys will be exported into the .reg file, otherwise the file will be exported.

To begin, open cmd (command processor) with administrative privileges. Now navigate to the folder where the application-RegFileExport is residing. Now run the executable (RegFileExport) with the aforementioned parameters.

As shown below in the screenshot below, we have exported registry file from ntuser.dat (HKEY_CURRENT_USER hive for the registry) to D drive in a text document.


The application is also helpful when you need to export secret data which is stored in SECURITY registry hives. It runs on all Windows version from Windows 2000 to Windows 7. Testing was done on Windows 7 x86 system.

Download RegFileExport

  • Emil

    Thanks for sharing this good software!

    How to reach the registry in offline mode when a normal boot is impossible are really appreciated knowledge in know how to manage and solve issues.

    Will keep this one on a safe place:)