Is WMI Enabled? Without posting your entire script, we can't tell what's on line 130.

You're right - it isn't user specific. It's possible to track processes per user, but it's a bit more complex. Take a look at WshPipe() UDF to run your TaskList.exe command. The version here on KORG returns a string of all output that you'll need to parse. The enhanced version on my web site returns a 2 element array of StdOut and StdErr, each with an array of lines returned from that data stream.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D