hivexsh(1) Windows Registry hivexsh(1) (NAME) hivexsh - (SYNOPSIS) hivexsh [-options] [hivefile] (DESCRIPTION) <<>> ('hive') . hivex . . "C:\Windows\System32\Config" "software" "system" ( ). hivex(3) . virt-cat(1) guestfish(1) . . : hivexsh software "hivexsh" "load" : $ hivexsh Welcome to hivexsh, the hivex interactive shell for examining Windows Registry binary hive files. Type: 'help' for help with commands 'quit' to quit the shell > load software software\> "cd" "ls" . . (OPTIONS) -d . . -f filename "filename" (stdin). hivexsh : #!/usr/bin/hivexsh -f -u () . . -w ( <> <> hivex(3) ). : <> . . . (COMMANDS) add name "name" . . ( "setval" ). "name" . : cd name del cd path "path". . : cd \Classes\* "Classes" "*" . : cd Classes\* : cd Classes cd * ( ) "*" "?" . "cd .." . "cd" . "cd \" readline ( ). . close | unload . ( ) . "commit" . commit [newfile] . "newfile" . "-w" . del . ( "cd .." ). . exit | quit . load hivefile "hivefile". . . ls . . lsval [key] ( ) . . "key" . "@" . setval nrvals ( ) . "nrvals" ( ) . "setval 0" . 2 * nrvals . setval ( ) . UTF16-LE "abcd" . "ANumber" DWORD little-endian 0x12345678 . setval 2 @ string:abcd ANumber dword:12345678 ( "@" ). "type:value" : none 0 . string:abc "abc" UTF16-LE ( 1) . 7 ASCII . expandstring:... string 2. dword:0x01234567 DWORD ( 4) 0x01234567. . qword:0x0123456789abcdef QWORD ( 11) 0x0123456789abcdef. . hex:: hex:1:41,00,42,00,43,00,44,00,00,00 . . ( ). (EXAMPLES) $ guestfish --ro -i Windows7 > download win:c:\windows\system32\config\software software > quit $ hivexsh software Welcome to hivexsh, the hivex interactive shell for examining Windows Registry binary hive files. Type: 'help' for help with commands 'quit' to quit the shell software\> ls ATI Technologies Classes Clients Intel Microsoft ODBC Policies RegisteredApplications Sonic Wow6432Node software\> quit (SEE ALSO) hivex(3), hivexget(1), hivexml(1), virt-win-reg(1), guestfs(3), , virt-cat(1), virt-edit(1). (AUTHORS) Richard W.M. Jones ("rjones at redhat dot com") (COPYRIGHT) (C) 2009-2010 Red Hat Inc. (GNU GPL) ( ) . . . : Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. hivex-1.3.24 2026-06-22 hivexsh(1)