I am after a vbs script to search for ALL entries in the registry for the word I am looking for to then delete.

For example, I want to get rid of Java, I want a line to find ALL entries of that word, or any containing word to then delete

Instead of searching for EG. Java and then delete an entry then press F3 to find next, to just have a script that will find ALL Entries called Java (or what ever) and delete that value.
0 Comments   [ + ] Show Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


There are many tools available for this. I suggest that you search in google
Answered 10/24/2011 by: murali.bhat
Purple Belt

Please log in to comment
I have done alot og google searches but the wording of what i want has to be very accurate otherwise google gives me a load a of crap.

I have googled searched and alot of the pages I found was how to delete an entry (which I know) and how to search (ctrl + F) (iknow)

But what I am after is writing a script that basically searches and deletes everything called "Whatever" and ignors any error messages.

instead of clicking "Find next" then delete, find next, delete, find next,,,, because there could be 100 entries.

I need a script that finds ALL and deletes, or deletes one by one, but in a script so I dont have to do it,
Answered 10/26/2011 by: insane_goat_Tricks
Yellow Belt

Please log in to comment
Why don't you nick/adapt some of the code from this thread? http://itninja.com/question/adobe-acrobat-professional-6.0-via-sms94
Answered 10/26/2011 by: captain_planet
Second Degree Brown Belt

Please log in to comment
Cap'n, the OP wants to search the registry, not the file system. You should know by now that it is *my* job to mis-read posts LOL.

@Joe, search this forum for one of my entries which has 'clsRegistry' in it. Therein you'll find a bunch of functions for enumerating keys and their values and data, as well as DeleteKey and DeleteValue functions.
Answered 10/31/2011 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity