3

I have a java script which is running and kills some processes according to the pid. I run a shell with command of "taskkill /F /pid " adding the pid of the process. I have a problem that sometimes those processes are not killed. altouth I run the script again.

1) How can I find out why it is not killed ? 2) * Do you know a stronger program (than taskkill) in order to kill a process ???

10X

Colin Pickard
  • 8,579
  • 3
  • 31
  • 38
Big Leonardo
  • 131
  • 1
  • 3

2 Answers2

2

If you can't kill it with taskkill /F, you probably won't be able to kill it with any other method - short of logging off or rebooting anyway. For some reasons why this might happen, have a look at the answers to this question:

Why sometimes Windows cannot kill a process?

Colin Pickard
  • 8,579
  • 3
  • 31
  • 38
2

I use APT (Advanced Process Terminator) to kill some processes that just do not die.

I allows 12 normal ways to kill a process and 2 Kernel Kill options.

Download from here

HackToHell
  • 6,328
  • 3
  • 38
  • 62