How do I delete a value from a .reg file?

A. You can use registry files to import information into the registry, but you can also use them to delete a value by including a hyphen (-) as the value's data. In the following example, I delete the valueName value from key HKEY_LOCAL_MACHINE\SOFTWARE\SavillTech\key.

\[HKEY_LOCAL_MACHINE\SOFTWARE\SavillTech\key\]
"valueName"=-
Hide comments

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.
Publish