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

reg export — Export the specified subkeys and values to a `.reg` file. More information: <https://learn.microsoft

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandsubkeysandcliexportspecifiedreg export
windows

Problem

How to use the reg export command: Export the specified subkeys and values to a .reg file. More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/reg-export>.

Solution

reg export — Export the specified subkeys and values to a .reg file. More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/reg-export>.

Export all subkeys and values of a specific key:
reg export {{key_name}} {{path\to\file.reg}}


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

Code Snippets

Export all subkeys and values of a specific key

reg export {{key_name}} {{path\to\file.reg}}

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

reg export {{key_name}} {{path\to\file.reg}} /y

Context

tldr-pages: windows/reg export

Revisions (0)

No revisions yet.