2018-01-28 12:16:13 +00:00
|
|
|
# reg export
|
|
|
|
|
|
|
|
> Export the specified sub keys and values into a file.
|
2022-10-04 16:06:23 +01:00
|
|
|
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/reg-export>.
|
2018-01-28 12:16:13 +00:00
|
|
|
|
|
|
|
- Export all sub keys and values of a specific key:
|
|
|
|
|
2023-02-20 07:23:49 +00:00
|
|
|
`reg export {{key_name}} {{path\to\file.reg}}`
|
2018-01-28 12:16:13 +00:00
|
|
|
|
|
|
|
- Force overwriting of an existing file without prompt:
|
|
|
|
|
2023-02-20 07:23:49 +00:00
|
|
|
`reg export {{key_name}} {{path\to\file.reg}} /y`
|