Windows

3 ways to end a process in Windows 10

Each time you click an application icon to run it, Windows automatically creates a process for the executable and is assigned a unique process ID.

How To Kill A Process in Windows 10 - 3 Ways to Kill a Process in Windows 10

For example: When you open the Google Chrome web browser and check the Task Manager, you will see a process called chrome.exe or Chrome listed under the Processes tab with PID 4482 or 11700, etc. , are prone to freezing and becoming unresponsive.

Clicking the X or Close icon to close these frozen apps often, does not yield any success. In such a scenario, you may need to forcefully end the process to close it. Another reason to kill a process is when it consumes 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 running associated apps, it would be wise to get out of it. There are three different ways on how to end a process in Windows 10, which are through Task Manager, Command Prompt, and PowerShell, as explained in this article.

3 ways to kill and terminate a process in Windows 10

If a program stops responding or behaves unexpectedly and doesn’t even allow you to close it, you can end its process to force close the program. Traditionally, Windows allows users to do this through the Task Manager and Command Prompt. Additionally, you can also use PowerShell.

Method 1: Use End Task in Task Manager

Ending the process from the Task Manager is the most traditional and straightforward method. Here, you can monitor the system resources used in each process, and check the performance of the computer. Processes can be sorted based on their names, CPU consumption, disk/memory usage, PID, etc. to narrow the list as per your convenience. Here’s how to end a process using the task manager:

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

2. If requested, click on “more detailsDisplays all the processes currently running on your system.

click on more details to have a look at all the ba - 3 ways to end a process in Windows 10

3. Right-click on the process you want to end and click “Finish the job” , As shown. We’ve shown Google Chrome as an example.

click on end task to close the application 1024x909 2 - 3 ways to end a process in Windows 10

Method 2: Use Taskkill in Command Prompt

While termination of processes from Task Manager is a headache, you have to admit it is pretty lackluster. The disadvantages of using Task Manager are:

  • You are not allowed to terminate multiple processes simultaneously.
  • You cannot terminate applications with administrative privileges.

Hence, you can use Command Prompt instead.

Note: To terminate a process running with administrative rights, you will need to run Command Prompt as administrator.

1. In the search bar Windows , write cmd and click Run as administrator As shown.

in a search bar type cmd and click on run as admin 1 - 3 ways to end a process in Windows 10

2. Type a list of tasks and hit the Enter key to get a list of all the running processes.

in command prompt type tasklist to view list of all running tasks 1024x578 1 - 3 ways to end a process in Windows 10

Option 1: Kill individual processes

3 a. Type the command taskkill /IM Image Name to end the process with its image name and press Enter.

For example: To end the notepad process, run the command taskkill /IM notepad.exe, as shown.

to kill a process using its image name execute - 3 ways to end a process in Windows 10

3b. Type the Taskkill / PID PID number to end a process with its PID number and hit the Enter key to execute.

For example: To terminate Notepad with its PID number, type taskkill /PID 11228 as shown below.

to kill a process using its pid number execute - 3 ways to end a process in Windows 10

Option 2: Kill multiple processes

4A. Run Taskkill / IM Image Name1 / IM Image Name2 to kill multiple processes, simultaneously, using their respective image names.

Note: The name of Image 1 will be replaced by the first process with the image name (eg chrome.exe) as well as the name of Image 2 with the second process the image name (eg notepad.exe).

taskkill command to kill multiple processes in command prompt or cmd - 3 ways to end a process in Windows 10

4 b. Similarly, execute the command taskkill / PID PID num1 / PID PID num2 to kill multiple processes using their PID numbers.

Note: num1 for the first process’s PID (eg 13844), num2 for the second process’s PID (eg 14920) and so on.

taskkill command to kill multiple process using PID number in Command Prompt or cmd - 3 ways to kill a process in Windows 10

Option 3: Kill the process by force

5. Simply, add /F in the above commands to forcefully kill the process.

To learn more about Taskkill, type taskkill /? At the command prompt and press Enter to execute. Alternately, read about Taskkill in the Microsoft docs here.

Method 3: Use Stop Process in Windows Powershell

Similarly, you can use PowerShell’s task list command to get a list of all running processes. Even though a process is ending, you will need to use the Stop-Process command syntax. Here’s how to kill a process via Powershell:

1. Press my key Windows + X together to bring up the Power User menu.

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

Find Windows PowerShell Admin in the menu and select it - 3 ways to end a process in Windows 10

3. Type the task list command and hit Enter to get a list of all the processes.

execute tasklist to get a list of all processes - 3 ways to end a process in Windows 10

Option 1: Use the image name

3 a. Type the Stop-Process -Name Image Name command to end a process with the image name and press Enter.

For example: Stop-Process -Name Notepad) as shown.

to terminate a process using its name execute st - 3 ways to terminate a process in Windows 10

Option 2: Use PID

3b. Type Stop-Process -Id processID to end a process with the PID and hit the Enter key.

For example: Run Stop-Process -Id 7956 to end the Notepad task.

to terminate a process using its pid use the synt - 3 ways to terminate a process in Windows 10

Option 3: Termination by force

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

Frequently asked questions (FAQs)

Q1. How do I force to kill a process in Windows?

answer. To force kill a process in Windows, execute the command Taskkill /IM Process Name /F in the Command Prompt or execute the Stop-Process -Name ApplicationName -Force command in Windows Powershell.

Q2. How do I kill all processes in Windows?

answer. Processes of the same application are grouped under a common title in Task Manager. In order to kill all of its processes, simply terminate the header of the block. If you want to end all background processes, follow our article to disable background apps. You can also consider doing a clean boot.

We hope that you have learned how to kill a process on Windows 10 PC. If you have any queries/suggestions regarding this article, feel free to leave them in the comments section.

Related Articles

Leave a Reply

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

Back to top button

Adblock Detected

Please consider supporting us by disabling your ad blocker