Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Other Programming > VBScript
VBScript For questions and discussions related to VBScript.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VBScript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old September 20th, 2005, 12:14 PM
Friend of Wrox
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default Recursive Search of Registry


   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?



Look it up at: http://wrox.books24x7.com
Reply With Quote
  #2 (permalink)  
Old January 6th, 2006, 10:36 AM
Registered User
Join Date: Jan 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts


This link is the only information that I can find regarding enumeration of the registry. Hope this helps.



Reply With Quote

Similar Threads
Thread Thread Starter Forum Replies Last Post
Recursive Coding arnabghosh Classic ASP Professional 2 July 9th, 2007 02:06 AM
Recursive template - Please Help! Tre XSLT 5 March 20th, 2007 11:23 AM
recursive query cathiec SQL Language 2 August 25th, 2006 05:58 AM
Recursive Function MargateFan XSLT 2 May 4th, 2006 02:52 AM
Recursive Transform chuck.boyer XSLT 0 December 5th, 2005 05:51 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.