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 Share this post Link to post Share on other sites
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. Share this post Link to post Share on other sites
Posted December 5, 2007 The above seems appropriate. Eureka! it works ^^, Thanks, Odwin =) Share this post Link to post Share on other sites