/build/static/layout/Breadcrumb_cap_w.png

Can't we delete registry hive and it's sub branches through WSH scripting?

I feel wmi little bit difficult,anyways I can do it, but I am curious, can we achieve it through WSH?[/align] [/align][/align]
WshShell = WScript.CreateObject("WScript.Shell")
WshShell.RegDelete "HKCU\Software\KillerApp\SomeSetting1"
WshShell.RegDelete "HKCU\Software\KillerApp"



normally I use above code but
if we have to delete any run-time registries, then it will fail.[/align][/align]

0 Comments   [ + ] Show comments

Answers (0)

Be the first to answer this question

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