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.
- Open CMD
- Type taskkill /F /IM
- Press return
- Verify termination of process with “SUCCESS: The process
with PID ##### has been terminated.”
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.