«

»

Jun 20

Removing registry key in .reg file

I have done a bit of application packaging and small scripts for installing these applications.
Doing this i needed to completely delete som Registry keys added by a .reg file.

This is simple enough if you have the reg file that first did create the key. Just add a – infront of the key and run the regfile again 🙂

 

Example:

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup]