View Single Post
  #1 (permalink)  
Old September 20th, 2005, 12:14 PM
mmcdonal mmcdonal is offline
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default 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
Reply With Quote