Jump to content
N-Europe

Creating a .reg file


Adrian DX

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

×
×
  • Create New...