JSI Tip 4012. How do a delete a value name using Regedit in batch?


In tip 2165, we used Regedit to delete a Key and all it's values.

To delete a value name, use the hyphen (-) instead of the data value.

Example: To delete the BlahBlah value name (tip 2165):

REGEDIT4

\[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ZipZap\Zap\]
"BlahBlah"=-


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