How to Kill Processes with a specific word

Taskkill.exe, available natively on Windows Operating Systems, can be used to quickly kill a process or processes which start with a specific word. It also supports “force” switch which instructs taskkill.exe to terminate processes forcefully.

Let’s say you want to close all the command windows (CMD.exe) using a single command. To do so, run the below command:

  • Taskkill.exe /im cmd* /f

The above command kills all the processes which start with the word “CMD”. Similarly, you can run the above command to kill processes which cannot be killed using Task Manager GUI.

About Nirmal Sharma

Nirmal is a MCSEx3, MCITP and was awarded Microsoft MVP award in Directory Services. He is specialized in Directory Services, Microsoft Clustering, Hyper-V, SQL and Exchange and has been involved in Microsoft Technologies since 1994. In his spare time, he likes to help others and share some of his knowledge by writing tips and articles. Nirmal can be reached at [email protected].

About The Author

Leave a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Scroll to Top