Kent, great post. I have almost the same routines in my user creation web page

Something I use:

If you only want to do 1 thing to an object, you can shortcut by doing this

before

code:

$MessengerServiceObj = GetObject("WinNT://ComputerName/messenger")$MessengerServiceObj.stop$MessengerServiceObj = ""

after

code:

GetObject("WinNT://ComputerName/messenger").stop

By not creating an object reference variable, you don't have to delete it afterwards. It does remove a level of error checking though, but generally the error code you get from this will let you know what is failing.

my AUD 0.02

cj