System Grab Bag

View all TLDR pages from Windows (or from all pages)

reg delete

Delete keys or their values from the registry. More information: https://learn.microsoft.com/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

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.