Kill a process from the command line
If you prefer the command line (cmd) to the graphical interface (gui), then this tip might be for you.
Fist, lets see which programs are running. Inside the command prompt window enter the following command:
This shows you all running tasks followed by the process ID (PID).
To find a specific program or process, you can search this list:
tasklist | find "cmd"
Now you will get a list of all cmd processes running.
This command will end all command prompt windows.
If you want to end a specific process, use the tasklist command again, get the PID and then use taskkill to kill this process:
taskkill /pid 3248 /t
This will kill the process with the process ID 3248.
Was this article helpful? Then please donate to keep The IT Community alive...
If you found this article helpful please share it, comment and help others by writing your own article.
Translate this page:
Articles found in the same category: