Monday, July 18, 2011

List and Kill tasks from the Windows commandline

In order to get all running tasks from the windows command line I used the following command,

tasklist

In order to kill the task forcefully, I used the following command, where 7084 is the PID if the task.


taskkill /F /PID 7084

No comments: