Thanks Marza for your input. Actually i got this working ok on my localhost. The problem is that i need to do this on a server without installing perl to that server, so i need to do this over LAN.
I couldn't find a way to do this with Win32::Process::KillProcess.
/cab
Originally posted as a Categorized Answer.