Re: Deleting a registry entry via VBS

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Il giorno Tue, 27 Feb 2007 11:46:06 +0100, Gaspari Luca // v3 <luca.gaspari{@}gmail.com>
ha scritto:
Hi, I need to delete some files and registry entries from my pc via VBS
(well, then it'll be applied as a Domain Policie), but when I try to use
scripts which contains "RegDelete", i always get back an error like
"Cannot delete registry bla bla bla"..

Maybe the registry entry does not exist or you don't have the authority to delete a key.
Try to enumerate the registry entries with wmi and delete the keys.
http://digilander.libero.it/Cenati/registry.htm

Giovanni.

--
Giovanni Cenati (Aosta, Italy)
Write to user "Reventlov" and domain at katamail com
http://digilander.libero.it/Cenati (Esempi e programmi in VbScript)
--
.