Deleting a Registry Key

K

Keith

How can I delete a registry key I rolled out to users using a .reg file
without having to use regedit at each machine. Is there a way to automate
this?

Thanks
 
M

Mark V

In said:
How can I delete a registry key I rolled out to users using a .reg
file without having to use regedit at each machine. Is there a
way to automate this?

Merge another reg file with the "delete" syntax.
Note the hyphen ("-") in each example.

Remove KEY:
[-HKEY_CLASSES_ROOT\.zzz]

Remove VALUE:
[HKEY_CLASSES_ROOT\.zzz]
"InfoTip"=-

Does not work for a ("Default") valuename. Use:
@=-
 
M

Mark V

In said:
How can I delete a registry key I rolled out to users using a .reg
file without having to use regedit at each machine. Is there a
way to automate this?

Merge another reg file with the "delete" syntax.
Note the hyphen ("-") in each example.

Remove KEY:
[-HKEY_CLASSES_ROOT\.zzz]

Remove VALUE:
[HKEY_CLASSES_ROOT\.zzz]
"InfoTip"=-

Does not work for a ("Default") valuename. Use:
@=-
 
K

Keith

Thank you

That worked great


Mark V said:
In said:
How can I delete a registry key I rolled out to users using a .reg
file without having to use regedit at each machine. Is there a
way to automate this?

Merge another reg file with the "delete" syntax.
Note the hyphen ("-") in each example.

Remove KEY:
[-HKEY_CLASSES_ROOT\.zzz]

Remove VALUE:
[HKEY_CLASSES_ROOT\.zzz]
"InfoTip"=-

Does not work for a ("Default") valuename. Use:
@=-
 
K

Keith

Thank you

That worked great


Mark V said:
In said:
How can I delete a registry key I rolled out to users using a .reg
file without having to use regedit at each machine. Is there a
way to automate this?

Merge another reg file with the "delete" syntax.
Note the hyphen ("-") in each example.

Remove KEY:
[-HKEY_CLASSES_ROOT\.zzz]

Remove VALUE:
[HKEY_CLASSES_ROOT\.zzz]
"InfoTip"=-

Does not work for a ("Default") valuename. Use:
@=-
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top