Script to delete registry key having sub keys.
From: SachiN (SachiN_at_discussions.microsoft.com)
Date: 06/17/04
- Next message: mayayana: "Re: Script to delete registry key having sub keys."
- Previous message: Tim Munro: "Re: Script to execute Windows "Automatic Update""
- Next in thread: mayayana: "Re: Script to delete registry key having sub keys."
- Reply: mayayana: "Re: Script to delete registry key having sub keys."
- Reply: Torgeir Bakken \(MVP\): "Re: Script to delete registry key having sub keys."
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 17 Jun 2004 05:18:01 -0700
Hi Gurus,
Is there some methord that allows me to delete the registry keys which has sub keys, using vbscript/WMI.
Currently I am using the DeleteKey methord, but it will delete the key only if it has no sub keys.
I thinks only workaround is to enumerate all keys and use DeleteKey for each.
Thanks,
Sachin
- Next message: mayayana: "Re: Script to delete registry key having sub keys."
- Previous message: Tim Munro: "Re: Script to execute Windows "Automatic Update""
- Next in thread: mayayana: "Re: Script to delete registry key having sub keys."
- Reply: mayayana: "Re: Script to delete registry key having sub keys."
- Reply: Torgeir Bakken \(MVP\): "Re: Script to delete registry key having sub keys."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|