reged(8)

reged8

Utility to export/import and edit a windows registry hives

Usage

reged [options] -x<registryhivefile><prefixstring><key><output.reg>

reged [options] -I<registryhivefile><prefixstring><input.reg>

reged [options] -e<registryhivefile>

Overview

This manual page documents briefly the reged command. This manual page was written for the Debian distribution because the original program does not have a manual page.

reged is the an interactive command line utility that can be used to export, import or edit a Microsoft Windows registry hive.

Options

-h

Show summary of options.

-x <registryhivefile> <prefixstring> <key> <output.reg>

Export parts of a hive file to a text registry (.reg) file. Prefixstring indicates the part of the registry hive to dump (for example HKEY_LOCAL_MACHINE\SOFTWARE). The <key> parameter defines the key to dump (recursively). You can use \ or \\ to list all the keys in the hive file.

Only one hive file and one .reg file can be defined.

-I <registryhivefile> <prefixstring> <input.reg>

Import the content of the input.reg file into the registry file. The value <prefixstring> can be any valid prefix, for example is HKEY_LOCAL_MACHINE\SOFTWARE.

Only one .reg and one hive file supported at the same time

-e <registryhive> ...

Interactive edit one or more registry files.

-L

Log all changed filenames to /tmp/changed. When this option is set the program automatically saves the changes in the hive files without prompting the user.

Be careful when using the -L option as a root user in a multiuser system. The filename is fixed and this can be used by malicious users (dropping a symlink with the same name) to overwrite system files.

-C

Automatically save all changes. Do not prompt the user.

-N

Do not allocate more information, only allow the editing of existing values with same size.

-E

Do not expand the hive file (safe mode).

-t

Print debug information of allocated blocks.

-v

Print verbose information and debug messages.

Known bugs

There are many unknown bugs. If you find bugs please report them to the author.

Releases

Unchanged in 6 releases since Debian 8 (Jessie).

  1. 8–13

Author

This program was written by Petter N Hagen.

This manual page was written by Javier Fernandez-Sanguino <[email protected]>, for the Debian GNU/Linux system (but may be used by others).

From chntpw 140201-1.2 in Debian 13 (Trixie). Parsed by carta from the page's man source.