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:

Post a Comment

Please bear with the word verification as I have been getting tons of spam comments daily.

You will see 2 sets of images for the word verification. Type the characters you see on the first image, followed by a space, and the characters you see on the second image.

Related Posts Plugin for WordPress, Blogger...

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





eXTReMe Tracker