2018-01-22 19:45:09 +00:00
|
|
|
# reg
|
|
|
|
|
2023-07-16 18:23:40 +01:00
|
|
|
> Manage keys and their values in the Windows registry.
|
2021-09-13 09:21:21 +01:00
|
|
|
> Some subcommands such as `reg add` have their own usage documentation.
|
2022-10-04 16:06:23 +01:00
|
|
|
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/reg>.
|
2018-01-22 19:45:09 +00:00
|
|
|
|
2023-07-16 18:23:40 +01:00
|
|
|
- Execute a registry command:
|
2018-01-22 19:45:09 +00:00
|
|
|
|
|
|
|
`reg {{command}}`
|
|
|
|
|
2024-03-07 04:45:02 +00:00
|
|
|
- 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|flags|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:
|
2018-01-22 19:45:09 +00:00
|
|
|
|
|
|
|
`reg /?`
|
|
|
|
|
2024-01-30 04:55:24 +00:00
|
|
|
- Display help for a specific command:
|
2018-01-22 19:45:09 +00:00
|
|
|
|
|
|
|
`reg {{command}} /?`
|