Originally published at: http://www.howtogeek.com/145882/how-to-kill-a-process-from-the-cli-in-windows/
Sure, anybody can end a process from the Task Manager, but did you know you can also do it from the command line?
using tasklist on the command line will be easier to find out the pid of the process
You can even do this easily from the command prompt to filter the list down to just the process you want:
tasklist | find "notepad"
You can also use that command
taskkill /f im notepad