1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-23 16:35:37 +02:00
tldr/pages/windows/reg-save.md
Vitor Henrique 3e43dd97e2
reg*: improve pages (#12301)
* reg*: improve pages

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2024-03-07 10:15:02 +05:30

12 lines
411 B
Markdown

# 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`