Ok, I made the changes and get a different error
Line: 15
Char: 1
Error: Type mismatch 'DeleteSubkeys'
Code: 800A000D
Source: Microsoft VBScript runtime error
The code is the same listed above
I think line 11 is "For Each objSubkey In arrSubkeys"
___________________________________________________________________________
Const HKEY_CURRENT_USER = &H80000002
strComputer = "."
Set objRegistry=GetObject("winmgmts:\\" & _
strComputer &...
This is an example of what I want to delete if I did not make myself clear. I want to delete the subkey and everything in it and leave everything else. This sub key will change from one user to another.
Thanks for the link...it was helpful.
I tried your syntax example.
I also tried
DeleteSubkeys HKEY_CURRENT_USER, strKeyPath & "\" & objSubky
No Dice [sadeyes]
Hello,
I am not the best at vbs but this is what I can up with. It does not work. Any help would be greatly appreciated.
Const HKEY_CURRENT_USER = &H80000002
strComputer = "."
Set objRegistry=GetObject("winmgmts:\\" & _
strComputer & "\root\default:StdRegProv")
strKeyPath =...
Hello,
I have look at this before and it does not apply in this case. Those commands only let you read, delete and modify specific registry keys. The registry keys I need to remove are unique and change from user to user and from workstation to workstation.
Unfortunately there does not seem...
I am running an update for an organizations email service with 1000+ users.
As part of this update I need to blow away their old email settings in outlook, there are some residual settings in the registry that I need to remove also. Normally I would make a simple .reg file and remove the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.