How to kill processes in Windows 10 using Taskkill

Who I am
Marie-Ange Demory
@marie-angedemory
SOURCES CONSULTED:

support.microsoft.com

Author and references

Many times, we all experience something like the page is not responding, the program has errors, etc. This is when there is no other option than to terminate the task and restart the program. Whether you launch Task Manager using the taskbar or press Ctrl + ALT + DEL on your keyboard, click End Task and that's it.

However, sometimes it may take some time to get out of the locked page. So the best way in this case is to kill the process using Taskkill. This is a stealthy yet extremely powerful method to kill even the most stubborn processes in Windows 10.



Let's see how to execute this command.

How to kill processes in Windows 10 using TaskKill

Step 1: Click on windows at the desk and type Symbol of the system in the search box. Right-click on the result and select Run as administrator.

Step 2: A Symbol of the system, to write Things to do and hit Log in to open the list of running programs. This list is similar to what you see in the file Task Manager. The list is clearly classified as Image name, PID session name, session numberY Memory usage.

Step 3: Now scroll through the list and look at the file Name of the PID image.

Taskkill /IM notepad.exe /F

Here we are trying to close notepad.

* Note - / AM refers to Name of the image Y /F refers to Force which means you are forcing the process to end despite the problems. Now, just replace the program name as mentioned in the file Name of the image.



Step 4: If you want to terminate a single process or section of a process without closing the entire program, run the following command:


Taskkill /PID ##### /F

Here you use the file Name of the PID session instead of #####. This command is especially useful when there are several processes open with the same one Name of the image. For example, here we have several processes open with the same image name: AnyDesk.exe. Running the above command closes all processes at the same time. Here we enter - Taskkill / PID 9056 / F


* Note - Just enter the number mentioned in the file Name of the PID session. Select only one of the multiple image names.

Step 5: To explore the advanced options, enter the command first taskkill /?and hit Log in.

Step 6: Now if you want to close a program group, run the following command with the respective PID and hit Log in:

TASKKILL /PID 1230 /PID 1241 /PID 1253 /T

For example, we are closing AnyDesk, Notepad and Calculator, so the command would be:

That's all! Save time and easily eliminate difficult processes.

add a comment of How to kill processes in Windows 10 using Taskkill
Comment sent successfully! We will review it in the next few hours.