Kill Multiple Processes with CMD

Ever looked in Windows Task Manager to kill a process from the Processes tab only to find that there are 30 or so of the same processes running? Well if you are patient and have plenty of time to waste you can right-click each one of them and select “End Process” or you can do it the easy way.

  1. Open CMD
  2. Type taskkill /F /IM
  3. Press return
  4. Verify termination of process with “SUCCESS: The process with PID ##### has been terminated.”

taskkill

So where is this helpful you ask?

  • If you manage a Terminal Server with many users on it and they are running the same process on 103 different desktops, this CMD will allow you to kill all those instances within seconds.
  • If you have a virus outbreak and it fires off duplicate processes on the same machine you can use this CMD to kill them all instantly.

Leave a Reply

Your email address will not be published. Required fields are marked *