Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After killing a process with taskkill "successfully":

SUCCESS: The process "problematic.exe" with PID 6896 has been terminated.

it still shows up in the tasklist with the same PID. What could be the reason / how to make the kill a success?

share|improve this question

migrated from stackoverflow.com May 7 '13 at 0:41

This question came from our site for professional and enthusiast programmers.

up vote 1 down vote accepted

Try using the /f switch to force the process to be killed.

If it still doesn't kill it then it could be it has threads still running which would cause it to show up in tasklist.

share|improve this answer
    
@ Thanks, tried it... still no success, is there a way to kill the threads? – root Oct 1 '12 at 19:18
    
I don't think you can, that would be down to the application to tidy them up, which it probably won't if it's killed like that, which might explain why it doesn't end it. Maybe it's linked to a service that keeps it alive? – Bali C Oct 1 '12 at 19:20
    
@ Could be, yes, I guess I have to boot then. Thanks. – root Oct 1 '12 at 19:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .