Open offline registry from the command line

36 views
Skip to first unread message

Melvin Nava (MEL)

unread,
Jan 18, 2025, 3:32:03 PMJan 18
to RegistryFinder
Hello,

Is there a command line to load a file as an offline registry, as it would be done from the "open local registry" file submenu ?

I tried to create a context menu to open registry files, but registryfinder.exe dones't seem to be able to just open them..

This is the registry entry I tried (for the context menu):

—————————————————————
[HKEY_CLASSES_ROOT\*\shell\RF.RegistryFinder]
@="Open with RegistryFinder"
"AppliesTo"="System.FileName:\"NTUSER.DAT\" OR System.FileName:\"DEFAULT\" OR System.FileName:\"DEFAULT\" OR System.FileName:\"SAM\" OR System.FileName:\"SECURITY\" OR System.FileName:\"SOFTWARE\" OR System.FileName:\"SYSTEM\""
"Icon"="\"D:\\mdnava\\Programs\\_SystemTools\\RegistryFinder\\RegistryFinder.exe\",0"
"NeverDefault"=""
"SeparatorAfter"=""
[HKEY_CLASSES_ROOT\*\shell\RF.RegistryFinder\Command]
@="\"D:\\mdnava\\Programs\\_SystemTools\\RegistryFinder\\RegistryFinder.exe\" \"%1\""
—————————————————————

I'll appreciate any comment on this..

Sergey Filippov (Registry Finder)

unread,
Jan 30, 2025, 4:09:36 PMJan 30
to RegistryFinder
Hello Melvin,

Loading/opening offline registry as a set of registry files through the command line is not supported.

As a workaround, you may consider using the load command to load individual hives, for example:
RegistryFinder load C:\Offline\SOFTWARE HKEY_LOCAL_MACHINE\Offline-Software

This command creates the HKEY_LOCAL_MACHINE\Offline-Software key and loads the C:\Offline\SOFTWARE file into it. Instead of HKEY_LOCAL_MACHINE you can use HKEY_USERS. No other root keys are allowed. Instead of Offline-Software you can specify arbitrary name. The name must specify a single key, it cannot be a path with several subkeys. RegistryFinder must be launched as administrator.

When the key is no longer needed, unload it with the following command:
RegistryFinder unload HKEY_LOCAL_MACHINE\Offline-Software

Regards,
Sergey
суббота, 18 января 2025 г. в 23:32:03 UTC+3, Melvin Nava (MEL):

Melvin Nava (MEL)

unread,
Jan 30, 2025, 4:31:34 PMJan 30
to RegistryFinder
Ok, I'll try that.. thank you for your response.

Please consider adding command line support for offline registry files (USER, MACHINE, CLASSES).

..Best regards!.

Reply all
Reply to author
Forward
0 new messages