in reply to Killing Process on Win32 systems

I'm not sure if this will work, but you may want to look into gaggio's code - Getting a Local/Remote Win32 Task List. You can grab a list of processes from a remote machine - and use it with a combination of Win32::Process, in order to actually kill the unwanted process.

Replies are listed 'Best First'.
Re: Re: Killing Process on Win32 systems
by HyperZonk (Friar) on Jul 21, 2001 at 08:47 UTC
    It seems that this person wants a method to terminate a task that was not created by Win32::Process::Create. Win32::Process does not seem to allow control of such processes (at least not in the exported methods). I have done some research today looking for a module that might allow it, but other than resorting to a Win32API system call, I cannot find one.

    Update: I have refreshed my memory on Win32 system calls, and it does not appear to be possible to use an API call to kill a window unless the killer spawned the process. It is quite possible that there is something that I don't know about that will do this, as I am by no means a Win32 guru, but it looks to me like it is not ... or it's very difficult.