2018-01-19 13:23:31 +00:00
|
|
|
# reg save
|
|
|
|
|
|
|
|
> Save a registry key, its sub keys and values to a 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
|
|
|
|
|
|
|
- Save a registry key, its sub keys and values to a specific file:
|
|
|
|
|
2023-02-20 07:23:49 +00:00
|
|
|
`reg save {{key_name}} {{path\to\file}}`
|
2018-01-19 13:23:31 +00:00
|
|
|
|
|
|
|
- Forcefully overwrite an existing file without a prompt:
|
|
|
|
|
2023-02-20 07:23:49 +00:00
|
|
|
`reg save {{key_name}} {{path\to\file}} /y`
|