tldr/pages/windows/reg-delete.md

21 lines
525 B
Markdown
Raw Normal View History

2018-01-19 11:44:11 +00:00
# reg delete
> Delete keys or their values from the registry.
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/reg-delete>.
2018-01-19 11:44:11 +00:00
- Delete a specific registry key:
`reg delete {{key_name}}`
- Delete a [v]alue under a specific key:
2018-01-19 11:44:11 +00:00
`reg delete {{key_name}} /v {{value}}`
- Delete [a]ll [v]alues recursively under the specified key:
2018-01-19 11:44:11 +00:00
`reg delete {{key_name}} /va`
- [f]orcefully (without a prompt) delete [a]ll [v]alues recursively under a key:
2018-01-19 11:44:11 +00:00
`reg delete {{key_name}} /f /va`