Normally you cannot automatically delete registry keys from reg file. But there is a way...
Simply include a minus sign inside the left bracket before the main key.
For example.
If you want to delete the key HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Office \ 8.0 \ Common \ Assistants, your regfile would simply look like:
REGEDIT4[-HKEY_LOCAL_MACHINE\Software\Microsoft\Office\8.0\Common\Assistants]
This would delete that key and any below it.
No comments:
Post a Comment