Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.scripting.vbscript > #11780 > unrolled thread

Re: Script to Search and Delete Registry Keys?

Started byjirkuwiwan@gmail.com
First post2017-10-21 00:46 -0700
Last post2017-10-21 11:12 +0200
Articles 2 — 2 participants

Back to article view | Back to microsoft.public.scripting.vbscript

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Script to Search and Delete Registry Keys? jirkuwiwan@gmail.com - 2017-10-21 00:46 -0700
    Re: Script to Search and Delete Registry Keys? "R.Wieser" <address@not.available> - 2017-10-21 11:12 +0200

#11780 — Re: Script to Search and Delete Registry Keys?

Fromjirkuwiwan@gmail.com
Date2017-10-21 00:46 -0700
SubjectRe: Script to Search and Delete Registry Keys?
Message-ID<e75c66e5-ce34-4564-a6b4-25ed42685bce@googlegroups.com>
On Tuesday, February 24, 2004 at 1:01:00 PM UTC, Paul Rubin wrote:
> Hi all,
> 
> I'm wondering if there is a way to create a script that will search
> the Registry for any Keys and Values that contain a specific string,
> and then delete them. It would be handy to delete all the subkeys and
> values beneath a found Key as well.
> 
> Any ideas?
> Sincerely,
> Paul Rubin
> prubin@equilter.com

Hi!
Sorry to bother you but is there at this time any user friendly solution in a way of program which would do such action??

[toc] | [next] | [standalone]


#11781

From"R.Wieser" <address@not.available>
Date2017-10-21 11:12 +0200
Message-ID<osf31v$h62$1@gioia.aioe.org>
In reply to#11780
Hello jirkuwiwan,

I hope you do erealize that the post you have tagged yours to is 14 *years* 
old ?   Not much chance that the OP will be reading yours anymore ...

But on to your question:
> Sorry to bother you but is there at this time any user friendly solution
> in a way of program which would do such action??

In one word ?  No.

Explanation:
1) Allowing a user to enter any word and than use it to delete whole 
branches from the registry is asking for a lot of hurt.  Just imagine the 
user entering "software" ...
2) Using a *scripting* language allows a user to (inadvertedly?) change it, 
and with the smallest mistake hurt himself even more. :-(

In short, there is nothing "user friendly" about what you are asking.

And in the case you are asking for a VBScript which can crawl the registry 
tree, yes, thats possible.  But what did you already try yourself  ?  We're 
here to *help* you so that you can learn, not to write such scripts for you 
for free ...

Also, google for "vbscript registry iterate" (without the double quotes). 
There seem to be quite a number of StackOverflow examples available.

Regards,
Rudy Wieser




<jirkuwiwan@gmail.com> wrote in message 
news:e75c66e5-ce34-4564-a6b4-25ed42685bce@googlegroups.com...
> On Tuesday, February 24, 2004 at 1:01:00 PM UTC, Paul Rubin wrote:
>> Hi all,
>>
>> I'm wondering if there is a way to create a script that will search
>> the Registry for any Keys and Values that contain a specific string,
>> and then delete them. It would be handy to delete all the subkeys and
>> values beneath a found Key as well.
>>
>> Any ideas?
>> Sincerely,
>> Paul Rubin
>> prubin@equilter.com
>
> Hi!
> Sorry to bother you but is there at this time any user friendly solution 
> in a way of program which would do such action??

[toc] | [prev] | [standalone]


Back to top | Article view | microsoft.public.scripting.vbscript


csiph-web