People have wondered how to remove keys and values from the registry simply by importing a registry file.
All that needs to be done to achieve this is the insert a hyphen, -, in front of the "H" in HKEY.......
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft]
would delete the entire Microsoft key from this location.
In order to just delete a value the syntax is to set the value equal to Hyphen, -.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft]
"VALUE"=-
Would delete
"VALUE" from this area of the registry.




