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

John Savill

August 19, 2001

1 Min Read
ITPro Today logo in a gray background | ITPro Today

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

[HKEY_LOCAL_MACHINESOFTWARESavillTechkey]"valueName"=-

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like