1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-05 11:15:41 +02:00
tldr/pages/windows/reg.md
2024-10-30 18:04:50 +01:00

37 lines
922 B
Markdown

# 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}} /?`