{"id":1317,"date":"2013-06-27T05:09:58","date_gmt":"2013-06-27T05:09:58","guid":{"rendered":"http:\/\/microsoftgeek.com\/?p=1317"},"modified":"2013-06-27T05:09:58","modified_gmt":"2013-06-27T05:09:58","slug":"how-to-kill-a-process-from-the-cli-in-windows","status":"publish","type":"post","link":"https:\/\/microsoftgeek.com\/?p=1317","title":{"rendered":"How to Kill a Process From the CLI in Windows"},"content":{"rendered":"<div>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" alt=\"image\" src=\"http:\/\/cdn.howtogeek.com\/wp-content\/uploads\/2013\/04\/image28.png\" width=\"656\" height=\"300\" border=\"0\" \/><\/p>\n<p>Sure, anybody can end a process from the Task Manager, but did you know you can also do it from the command line?<\/p>\n<h3>How to Kill a Process From the CLI in Windows<\/h3>\n<p>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.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" alt=\"\" src=\"http:\/\/cdn.howtogeek.com\/wp-content\/uploads\/2013\/04\/image25.png\" width=\"656\" height=\"300\" border=\"\" \/><\/p>\n<p>Once you have the name of the process a simple tskill is all it takes:<\/p>\n<blockquote><p>tskill chrome<\/p><\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" alt=\"\" src=\"http:\/\/cdn.howtogeek.com\/wp-content\/uploads\/2013\/04\/image26.png\" width=\"656\" height=\"300\" border=\"\" \/><\/p>\n<p>If you have already migrated to the Command Prompt\u2019s older brother PowerShell, it is much simpler.<\/p>\n<blockquote><p>Get-Process | Where Name \u2013Like \u201cchrome*\u201d | Stop-Process<\/p><\/blockquote>\n<p>The above would stop all the processes that match the chrome* wildcard pattern.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" alt=\"\" src=\"http:\/\/cdn.howtogeek.com\/wp-content\/uploads\/2013\/04\/image27.png\" width=\"656\" height=\"300\" border=\"\" \/><\/p>\n<p>That\u2019s all there is to it.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,26,25,12],"tags":[],"class_list":["post-1317","post","type-post","status-publish","format-standard","hentry","category-computer-tech-stuff","category-win_7","category-win_vista","category-winxp"],"_links":{"self":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/1317","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1317"}],"version-history":[{"count":2,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/1317\/revisions"}],"predecessor-version":[{"id":1319,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/1317\/revisions\/1319"}],"wp:attachment":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1317"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1317"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}