mirror of https://github.com/CrimsonTome/tldr.git
21 lines
516 B
Markdown
21 lines
516 B
Markdown
# reg delete
|
|
|
|
> Delete keys or their values from the registry.
|
|
> More information: <https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/reg-delete>.
|
|
|
|
- Delete a specific registry key:
|
|
|
|
`reg delete {{key_name}}`
|
|
|
|
- Delete a value under a specific key:
|
|
|
|
`reg delete {{key_name}} /v {{value}}`
|
|
|
|
- Delete all values recursively under the specified key:
|
|
|
|
`reg delete {{key_name}} /va`
|
|
|
|
- Forcefully delete all values recursively under a key without a prompt:
|
|
|
|
`reg delete {{key_name}} /f /va`
|