Recursive Search of Registry
Hi,
There is little or no action in this topic, and most of that is for web pages. I use vbscript for administrative tasks. So I hope someone can help.
I am writing a Symantec uninstall script so the techs won't have to do all of the steps manually. I have written the following sort of components to delete all the neccesary keys:
'----------
sKeyPath90 = "SOFTWARE\INTEL\DllUsage\VP6"
WScript.Echo "Deleting Registry Key: HKLM\" & sKeyPath90
objReg.DeleteKey HKEY_LOCAL_MACHINE, sKeyPath90
'----------
Now I need to do a search of My Computer in the registry to find all instances of VirusProtect6 and another key, but I can't find any documentation on how to do this. I can do a recursive search of folders in a filesystemobject, but I am not sure if this can be done or how to do it in a registry.
Any help?
Thanks,
mmcdonal
__________________
mmcdonal
Look it up at: http://wrox.books24x7.com
|