THEKnet
New member
- Joined
- Aug 2, 2012
- Messages
- 4
- Programming Experience
- 1-3
Hi,
I haven't done much with VB.net for a long while. I'm trying to create a program I can distribute to remove a key from several hundred computers' registry's.
Here's my code:
I'm running the program as an administrator. No errors are thrown but the value doesn't get touched.
Any help would be greatly appreciated.
I haven't done much with VB.net for a long while. I'm trying to create a program I can distribute to remove a key from several hundred computers' registry's.
Here's my code:
VB.NET:
Module Module1
Sub Main()
Console.Out.WriteLine("Deleting Key")
My.Computer.Registry.SetValue("HKEY_CLASSES_ROOT\CLSID\{6C467336-8281-4E60-8204-430CED96822D}\InprocServer32", "", "")
Console.Out.WriteLine("Value Deleted")
Console.ReadLine()
End Sub
End Module
I'm running the program as an administrator. No errors are thrown but the value doesn't get touched.
Any help would be greatly appreciated.
Last edited: