2018-01-19 13:23:31 +00:00
|
|
|
# reg save
|
|
|
|
|
2024-03-07 04:45:02 +00:00
|
|
|
> Save a registry key, its subkeys and values to a native `.hiv` file.
|
2022-10-04 16:06:23 +01:00
|
|
|
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/reg-save>.
|
2018-01-19 13:23:31 +00:00
|
|
|
|
2024-03-07 04:45:02 +00:00
|
|
|
- Save a registry key, its subkeys and values to a specific file:
|
2018-01-19 13:23:31 +00:00
|
|
|
|
2024-03-07 04:45:02 +00:00
|
|
|
`reg save {{key_name}} {{path\to\file.hiv}}`
|
2018-01-19 13:23:31 +00:00
|
|
|
|
2024-03-07 04:45:02 +00:00
|
|
|
- Forcefully (assuming [y]es) overwrite an existing file:
|
2018-01-19 13:23:31 +00:00
|
|
|
|
2024-03-07 04:45:02 +00:00
|
|
|
`reg save {{key_name}} {{path\to\file.hiv}} /y`
|