Sure, anybody can end a process from the Task Manager, but did you know you can also do it from the command line?

How to Kill a Process From the CLI in Windows

If the command prompt is your flavor of tea, you will need to know to know the name of the process you are trying to kill beforehand. The easiest way to get these is on the Details tab of the Task Manager.

Once you have the name of the process a simple tskill is all it takes:

tskill chrome

If you have already migrated to the Command Prompt’s older brother PowerShell, it is much simpler.

Get-Process | Where Name –Like “chrome*” | Stop-Process

The above would stop all the processes that match the chrome* wildcard pattern.

That’s all there is to it.

Profile Photo for Taylor Gibb Taylor Gibb
Taylor Gibb is a professional software developer with nearly a decade of experience. He served as Microsoft Regional Director in South Africa for two years and has received multiple Microsoft MVP (Most Valued Professional) awards. He currently works in R&D at Derivco International.
Read Full Bio »