>Rick,
>yes I do. In this case I am using Timbuktu.
Well, but that's not automated. You have to get on to that machine to do this.
>But I was checking your function.
>I did not have a chance to play w/it but how would you use it if you don't know if the proccess fail or not?
>How would you call it?
>I have some machines running with some processes and sometimes they fail.
I don't understand what you mean. THe function either works or it doesn't and that's how you know whether it works... It calls TerminateProcess() on the target machine process and returns the result from that.
+++ Rick ---