Monday, September 14, 2009

How to kill multiple processes using one command

Have you ever faced the problem where you want to kill multiple processes all at one shot due to some problem (i.e. iexplorer.exe )? Previously I thought the only way is to go to the task manager and kill the process one by one. Actually, you can kill all the processes using a command in the command prompt.

Identify the process first by typing tasklist in the command prompt to list all the Image Names.

To kill the process, just type taskkill /im |Image Name| /f /t in the command prompt (e.g. taskkill /im iexplorer.exe /f /t).

That's it... It will kill all the processes with that image name, and any child processes that were started by it.

No comments:

Visit Rhinestic's Knick Knacks @ Etsy for handmade goods and supplies!

Related Posts Plugin for WordPress, Blogger...