General discussion


Deleting Reg Key

By rocky5689 ·

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -


by BFilmFan In reply to Deleting Reg Key

I'd recommend that you use Windows SCript Host.

Sample below:

WSHShell = CreateObject("WScript.Shell")

*!* Delete Registry Keys
WSHShell.Popup( "Delete value HKCU\MyRegKey\Entry\Value1")
WSHShell.RegDelete( "HKCU\MyRegKey\Entry\Value1")

You can find a ton of Microsoft scripts here:

Collapse -

by rocky5689 In reply to WSH

Yes but how its going to pull the computer name its being run on

Back to IT Employment Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums