3 Ways To Kill A Process In Windows 10
If a program stops responding or behaves unexpectedly and does not even allow you to close it, then you can kill its process to forcefully close the program. Traditionally, Windows allows users to do so through Task Manager and Command Prompt. In addition, you can also use PowerShell.
3 Ways To Kill A Process In Windows 10 Method 1: Use End Task in Task Manager Method 2: Use Taskkill in Command Prompt Method 3: Use Stop Process in Windows Powershell
Method 1: Use End Task in Task Manager
Terminating a process from Task Manager is the most traditional and straightforward approach. Here, you can observe system resources utilized by each process, and check computer performance. The processes can be sorted based on their names, CPU consumption, Disk/Memory usage, PID, etc. to narrow down the list as per your convenience. Here’s how to kill a process using Task Manager:
Press Ctrl + Shift + Esc keys together to open Task Manager.
If reqd, click on More Details to view all the processes running on your system currently.
Right-click the process which you want to terminate and click on End task, as shown. We have shown Google Chrome as an example.
Also Read: Kill Resource Intensive Processes with Windows Task Manager (GUIDE)
Method 2: Use Taskkill in Command Prompt
While terminating processes from Task Manager is a cakewalk, you have to admit that it is pretty lackluster. The disadvantages of using Task Manager are:
It does not allow you to terminate multiple processes simultaneously. You cannot end apps running with administrative privileges.
Hence, you can use Command Prompt instead. Note: To terminate a process running with administrative rights, you will need to launch Command Prompt as administrator.
In the Windows search bar, type cmd and click on Run as administrator as shown.
Type tasklist and press Enter key to get the list of all running processes.
Option 1: Kill Individual Processes 3A. Type taskkill/IM Image Name command to terminate a process using its Image Name and hit Enter. For example: To terminate notepad process, run taskkill/IM notepad.exe command, as shown.
3B. Type taskkill/PID PID number to terminate a process using its PID number and press Enter key to execute. For example: To terminate notepad using its PID number, type taskkill/PID 11228 as depicted below.
Option 2: Kill Multiple Processes 4A. Run taskkill/IM Image Name1/IM Image Name2 to kill multiple processes, at once, using their respective Image Names. Note: Image Name1 will be replaced with the first process Image Name (e.g. chrome.exe) and so do the Image Name2 with the second process Image Name (e.g. notepad.exe).
4B. Similarly, execute taskkill/PID PID num1/PID PID num2 command to kill multiple processes using their respective PID numbers. Note: num1 is for the first process PID (e.g. 13844) and num2 is for the second process PID (e.g. 14920) and so on.
Option 3: Kill A Process Forcefully 5. Simply, add /F in the above commands to kill a process forcefully. To learn more about Taskkill, type taskkill /? in Command Prompt and hit Enter to execute. Alternately, read about Taskkill in Microsoft docs here. Also Read: Fix Command Prompt Appears then Disappears on Windows 10
Method 3: Use Stop Process in Windows Powershell
Likewise, you can use the tasklist command in PowerShell to attain a list of all running processes. Although to terminate a process, you will need to use the Stop-Process command syntax. Here’s how to kill a process via Powershell:
Press Windows + X keys together to bring up the Power User Menu.
Here, click on Windows PowerShell (Admin), as shown.
Type the tasklist command and press Enter to get a list of all processes.
Option 1: Using Image Name 3A. Type Stop-Process -Name Image Name command to terminate a process using its Image Name and hit Enter. For example: Stop-Process -Name Notepad) as highlighted.
Option 2: Using PID 3B. Type Stop-Process -Id processID to terminate a process using its PID and press Enter key. For example: run Stop-Process -Id 7956 to end task for Notepad.
Option 3: Forceful Termination 4. Add -Force with the above commands to forcefully close a process. Q1. How do I force to kill a process in Windows? Ans. To force kill a process in Windows, execute the command taskkill /IM Process Name /F in Command Prompt or, execute Stop-Process -Name ApplicationName -Force command in Windows Powershell. Q2. How do I kill all processes in Windows? Ans. Processes of the same application are clustered under a common header in the Task Manager. So to kill all its processes, simply terminate the cluster head. If you wish to terminate all background processes, then follow our article to disable background apps. You can also consider performing a clean boot. Recommended:
How to Fix PC Won’t POST 8 Ways to Fix Windows 10 Installation Stuck How to Fix Git Merge Error
We hope that you learnt how to kill a process on Windows 10 PC. If you have any queries/suggestions regarding this article, then feel free to drop them in the comments section.