Monday, April 25, 2011

killing or closing a process

Hello all,

I want to know how to close or kill a process (xyz.exe),when it occupies the memory even after closing it or killing it through task manager.

from another c# appln

is there anyother way to stop the process which hangs in memory,i desperately need to know how to do it.

is it possible to write a kernel level program and try killing the process

is ther any tool available for doing this process

unable to kill the process using process.kill(),process got hanged,is it posible to kill it by someother way

any suggestions,whether my question is clear or not

please make some comment on this,whether it is possible to do it

it is irritating ,juz close my question

From stackoverflow
  • If you've killed it through task-manager, it should be dead. If it refuses to close via task-manager (and you are an admin), you'll struggle to do any better through code. However, you can get the Process object (perhaps by Process.GetProcessesByName(...)) and .Kill() it. I wouldn't expect it to do any better than task-man, though.

  • ProcessExplorer can kill everything, but I think the authors actually had to write a new kernel diver to implement it (I am not sure though)

    phsr : +1 Was posting this myself
    Marc Gravell : +1; this is one of the first things I install whenever I get a fresh OS build.
    wj32 : No, Process Explorer does not use its driver to terminate processes.

0 comments:

Post a Comment