HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

reg save — Save a registry key, its subkeys and values to a native `.hiv` file. More information: <https://lear

Submitted by: @import:tldr-pages··
0
Viewed 0 times
registrycommandsubkeyssavekeyitsclireg save
windows

Problem

How to use the reg save command: Save a registry key, its subkeys and values to a native .hiv file. More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/reg-save>.

Solution

reg save — Save a registry key, its subkeys and values to a native .hiv file. More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/reg-save>.

Save a registry key, its subkeys and values to a specific file:
reg save {{key_name}} {{path\to\file.hiv}}


Forcefully (assuming [y]es) overwrite an existing file:
reg save {{key_name}} {{path\to\file.hiv}} /y

Code Snippets

Save a registry key, its subkeys and values to a specific file

reg save {{key_name}} {{path\to\file.hiv}}

Forcefully (assuming [y]es) overwrite an existing file

reg save {{key_name}} {{path\to\file.hiv}} /y

Context

tldr-pages: windows/reg save

Revisions (0)

No revisions yet.