How do I delete a key and all its values from a .reg file?

A. To completely remove a key from a .reg file, place a hyphen (-) in front of the key. In the following example, I delete the key HKEY_LOCAL_MACHINE\SOFTWARE\SavillTech\key and all its values.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.