Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: K7mm
  • Order by date
  1. K7mm

    Vbscript to remove unique registry key

    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
  2. K7mm

    Vbscript to remove unique registry key

    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 &...
  3. K7mm

    Vbscript to remove unique registry key

    the error code Line: 11 Char: 1 Error: Object not a collection Code: 800A01C3 Source: Microsoft VBScript runtime error Hope this helps
  4. K7mm

    Vbscript to remove unique registry key

    Sorry, "On Error Resume Next" is in my script. If I take it out it still does not work.
  5. K7mm

    Vbscript to remove unique registry key

    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.
  6. K7mm

    Vbscript to remove unique registry key

    no error, the key remains.
  7. K7mm

    Vbscript to remove unique registry key

    Thanks for the link...it was helpful. I tried your syntax example. I also tried DeleteSubkeys HKEY_CURRENT_USER, strKeyPath & "\" & objSubky No Dice [sadeyes]
  8. K7mm

    Vbscript to remove unique registry key

    I have tried different ways still not working, any ideas?
  9. K7mm

    Vbscript to remove unique registry key

    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 =...
  10. K7mm

    Vbscript to remove unique registry key

    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...
  11. K7mm

    Vbscript to remove unique registry key

    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...

Part and Inventory Search

Back
Top