How-To Geek

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?

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.

Taylor Gibb is a Microsoft MVP and all round geek, he loves everything from Windows 8 to Windows Server 2012 and even C# and PowerShell. You can also follow him on Google+

  • Published 04/12/13

More Articles You Might Like

Enter Your Email Here to Get Access for Free:

Go check your email!