How To Kill A Process In Windows 10

Introduction 

 
A process is an instance of a program that is being executed. Each process running in Windows is assigned a unique number called the process ID, or PID.
 
When you start an app, the operating system creates a process for an executable file of the app. It contains its current activity. If you notice a running process is reducing your computer's performance because it's hung, not responding, using a high percentage of CPU and/or memory resources, then you can kill the process to end it.
 
Multiple open and running apps/processes on your desktop or laptop can lead the system to become slow and even face some errors, to terminate all running processes, the first thing you’re considering is forceful restarting. Forget about doing it because forceful restarting could lead to computer and system file damage. Instead, follow these methods on how to kill all the processes in Windows 10 properly.
 
This tutorial will show you 2 ways on how to kill a process in Windows 10.
 

Method 1: Via Task Manager

 
Using the Task Manager, the user can kill a process in a simpler way. Follow the below instructions to proceed.
 
Step 1
 
Press "Ctrl + Alt + Delete" Key or "Window + X" Key and click the Task Manager option.
 
Step 2
 
Click on the "Processes" Tab.
 
Task Manager
 
Step 3
 
Select a process you want to kill, and perform one of the actions below.
  • Press the Delete key.
  • Click on the End task button.
  • Right-click on the process, and click on End task. 
Task Manger1
 

Method 2 - Using Command Prompt

 
User can also kill a process by using the Commnad Prompt. Follow the below instructions to proceed.
 
Step 1
 
Open Command Prompt (Cmd).
 
Step 2
 
Type "tasklist" into the command prompt and press "Enter" Key. This command shows all the currently running processes in your system.
 
cmd
 
Step 3
 
A) To Kill Process using Process/Image Name.
 
a) Type the command below you want to use into the command prompt, to kill only the one Process, and press Enter Key.
 
taskkill /IM Process Name /F
 
For Example - To kill Notepad, run the command as, taskkill /IM notepad.exe /F, where /F is used to kill the process forcefully.
 
cmd1
 
b) Type the command below you want to use into the command prompt, to kill multiple processes simultaneously, and press Enter Key.
 
taskkill /IM Process Name /IM Process Name /F
 
B) To kill the process using PID
 
a) Type the command below you want to use into the command prompt, to kill only one Process, and press Enter Key.
 
taskkill /PID PID /F 
 
For Example - To kill Notepad, run the command as, taskkill /PID 7324 /F, where /F is used to kill the process forcefully.
 
cmd2
 
b) Type the command below that you want to use into the command prompt, to kill multiple processes simultaneously, and press Enter Key.
 
taskkill /PID PID  /PID PID /F
 

Conclusion

 
By following any of the above methods, the process can be killed in Windows 10 either by using Task Manager or Command Prompt (CMD).
 
I hope you enjoyed this article. Follow C# Corner to learn more new and amazing things about Windows 10.
 
Thanks for reading this article.