Friday, 25 December 2009

Task Manager - Killing processes

Stopping a process is done with a call to TerminateProcess (Win32 API). By default, it is not possible to kill a process that is running under a security context different than the one of the process who issued the call to TerminateProcess.

To work around this problem, use the KILL command line utility (available with the Windows Resource Kit) to stop processes that do not run under the security context of the logged on user.

This works except for really zombie processes on Win2k server...

No comments:

Post a Comment