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.
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)
Please log in to answer
Posted by:
murali.bhat
13 years ago
There are many tools available for this. I suggest that you search in google
Posted by:
insane_goat_Tricks
13 years ago
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,
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
13 years ago
Posted by:
anonymous_9363
13 years ago
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.
@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.
so that the conversation will remain readable.