Break on
$ShellCMD='%comspec% /c NBTSTAT -S |FIND /I "<03>"|FIND /I " '+@UserID+' "'
Shell $ShellCMD
If not @Error
'@@UersID - '+@UserID+' found!'
EndIf
get $_

Thats what I tried, and got the same output on both logged on PC's....

sigh [Frown]

ahhh well, i guess it not me who will be resseting that SQL database with Cconnect.exe... [Smile]

I just wont ever get invited to the pub by the helpdesk techies again...!

But back to my original query, is it possible at all to use different credentials to connect to that COM object?