/build/static/layout/Breadcrumb_cap_w.png

VBS SCRIPTING to search and delete

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

Answers (4)

Posted by: murali.bhat 12 years ago
Purple Belt
0
There are many tools available for this. I suggest that you search in google
Posted by: insane_goat_Tricks 12 years ago
Yellow Belt
0
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,
Posted by: captain_planet 12 years ago
Black Belt
0
Why don't you nick/adapt some of the code from this thread? http://itninja.com/question/adobe-acrobat-professional-6.0-via-sms94
Posted by: anonymous_9363 12 years ago
Red Belt
0
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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ