Adrian DX Posted December 5, 2007 Posted December 5, 2007 Hi guys! I'm totally fresh to creating .reg files and now I wanna make one. What I want the .reg file to do is to delete certain entries in the registry (everything in [HKEY_LOCAL_MACHINE\SOFTWARE\TeamViewer3] to be exact), but I can't seem to find much help in the guides I've looked at online. Thanks in advance
Mr_Odwin Posted December 5, 2007 Posted December 5, 2007 Deleting Registry Keys and Values To delete a registry key with a .reg file, put a hyphen (-) in front of the RegistryPath in the .reg file. For example, to delete the Test subkey from the following registry key: HKEY_LOCAL_MACHINE\Software put a hyphen in front of the following registry key in the .reg file: HKEY_LOCAL_MACHINE\Software\Test The following example has a .reg file that can perform this task. [-HKEY_LOCAL_MACHINE\Software\Test] The above seems appropriate.
Adrian DX Posted December 5, 2007 Author Posted December 5, 2007 The above seems appropriate. Eureka! it works ^^, Thanks, Odwin =)
Recommended Posts