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

reg — Manage keys and their values in the Windows registry. Some subcommands such as `add` have their own

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

Problem

How to use the reg command: Manage keys and their values in the Windows registry. Some subcommands such as add have their own usage documentation. More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/reg>.

Solution

reg — Manage keys and their values in the Windows registry. Some subcommands such as add have their own usage documentation. More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/reg>.

Execute a registry command:
reg {{command}}


View documentation for adding and copying subkeys:
tldr reg {{add|copy}}


View documentation for deleting keys and subkeys:
tldr reg {{delete|unload}}


View documentation for searching, viewing, and comparing keys:
tldr reg {{compare|query}}


View documentation for exporting and importing registry keys not preserving the key ownerships and ACLs:
tldr reg {{export|import}}


View documentation for saving, restoring registry and unloading keys preserving the key ownerships, and ACLs:
tldr reg {{save|restore|load|unload}}


Display help:
reg /?


Display help for a specific command:
reg {{command}} /?

Code Snippets

Execute a registry command

reg {{command}}

View documentation for adding and copying subkeys

tldr reg {{add|copy}}

View documentation for deleting keys and subkeys

tldr reg {{delete|unload}}

View documentation for searching, viewing, and comparing keys

tldr reg {{compare|query}}

View documentation for exporting and importing registry keys not preserving the key ownerships and ACLs

tldr reg {{export|import}}

Context

tldr-pages: windows/reg

Revisions (0)

No revisions yet.