3 Ways To Kill A Process In Windows 10

How to Kill a Process

Every time you click on an application icon to launch it, a process is automatically created by Windows for the executable file and a unique process ID is assigned to it. For example: When you open Google Chrome web browser and check Task Manager, you will see a process named chrome.exe or Chrome listed under Processes tab with PID 4482 or 11700, etc. On Windows, many applications, especially the resource-heavy ones, are prone to freezes and become non-responsive. Clicking on the X or Close icon to close these frozen applications often, does not yield any success. In such a scenario, you may need to forcefully terminate the process to shut it down. Another reason to kill a process is when it is hogging up a lot of CPU power and memory, or it is frozen or not responding to any inputs. If an app is causing performance issues or preventing you from launching associated applications, it would be wise to exit it. There are three different ways on how to kill a process in Windows 10, namely, through Task Manager, Command Prompt, and PowerShell, as explained in this article.

How to Kill a Process

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.

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:

1. Press Ctrl + Shift + Esc keys together to open Task Manager.

2. If reqd, click on More Details to view all the processes running on your system currently.

click on More Details to have a look at all the background processes

3. Right-click the process which you want to terminate and click on End task, as shown. We have shown Google Chrome as an example.

click on End Task to close the application. How To Kill A Process

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.

1. In the Windows search bar, type cmd and click on Run as administrator as shown.

press windows key, type cmd and click on Run as administrator.

2. Type tasklist and press Enter key to get the list of all running processes.

in command prompt, type tasklist to view list of all running tasks.

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.

To kill a process using its Image Name, execute - taskkill /IM Image Name How To Kill A Process

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.

To kill a process using its PID Number, execute - taskkill /PID PID Number How To Kill A Process

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).

taskkill command to kill multiple processes using Image names in command prompt or cmd

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.

taskkill command to kill multiple process using PID number in Command Prompt or cmd

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:

1. Press Windows + X keys together to bring up the Power User Menu.

2. Here, click on Windows PowerShell (Admin), as shown.

press windows and x keys together and select Windows powershell admin

3. Type the tasklist command and press Enter to get a list of all processes.

Execute tasklist to get a list of all processes | How To Kill A Process

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.

To terminate a process using its name, execute Stop-Process -Name ApplicationName How To Kill A Process

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.

To terminate a process using its PID, use the syntax Stop-Process -Id processID

Option 3: Forceful Termination

4. Add -Force with the above commands to forcefully close a process.

Frequently Asked Questions (FAQs)

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:

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.

Posted by
Pete Mitchell

Pete is a Senior staff writer at TechCult. Pete loves all things technology and is also an avid DIYer at heart. He has a decade of experience writing how-tos, features, and technology guides on the internet.

Leave a Reply

Your email address will not be published.