Regedit Add Delete Silent Import

In Knowledge Base Blog by angeladmin

Silent import
REGEDIT /S pathname

How to add keys and values from the registry:

Create a text file like this:

REGEDIT4
[HKEY_CURRENT_USERSomeKey] “SomeStringValue”=”Hello”

How to delete keys and values from the registry:

Create a reg file like this, notice the hyphen inside the first bracket

REGEDIT4
[-HKEY_CURRENT_USERSomeKey]

If you want to just delete values leaving the key in place, set the value you want to delete = to a hyphen
e.g.

REGEDIT4
[HKEY_CURRENT_USERSomeKey] “SomeStringValue”=-

Angel Computers – Contact Us