每次单击应用程序图标启动它时,Windows都会自动为可执行文件(executable file)创建一个进程,并为其分配一个唯一的进程 ID 。(unique process ID)例如:当您打开Google Chrome网络浏览器并检查任务管理器(Task Manager)时,您将在进程选项卡下看到一个名为 chrome.exe 或Chrome的进程,其(Chrome)PID 为 4482(PID 4482)或 11700 等。在Windows上,许多应用程序,尤其是资源繁重的应用程序,容易冻结并变得无响应。经常单击X 或关闭图标(X or Close icon)来关闭这些冻结的应用程序不会产生任何成功。在这种情况下,您可能需要强制终止(forcefully terminate)进程以将其关闭。杀死进程的另一个原因是它占用了大量的CPU功率和内存,或者它被冻结或不响应任何输入。如果应用程序导致性能问题或阻止您启动相关应用程序,退出它是明智之举。如何在Windows 10中杀死进程有三种不同的方法,即通过任务管理器(Task Manager)、命令提示符(Command Prompt)和PowerShell,如本文所述。

在 Windows 10 中杀死进程的 3 种方法(3 Ways To Kill A Process In Windows 10)
如果程序停止响应或行为异常,甚至不允许您关闭它,那么您可以终止其进程以强制关闭该程序。传统上,Windows允许用户通过任务管理器(Task Manager)和命令提示符(Command Prompt)来执行此操作。此外,您还可以使用PowerShell。
方法一:在任务管理器中使用结束任务
(Method 1: Use End Task in Task Manager
)
从任务管理器(Task Manager)终止进程是最传统和最直接的方法。在这里,您可以观察每个进程使用的系统资源,并检查计算机性能。可以根据进程的名称、CPU消耗、Disk/Memory使用情况、PID等对进程进行排序,以根据您的方便缩小列表。以下是使用任务管理器(Task Manager)杀死进程的方法:
1. 同时按下Ctrl + Shift + Esc 键(keys)打开任务管理器(Task Manager)。
2. 如果需要,单击更多详细信息( More Details)以查看当前系统上运行的所有进程。

3. 右键单击要终止的进程,然后单击(process)结束任务(End task),如图所示。我们以Google Chrome 浏览器(Google Chrome)为例。

另请阅读:(Also Read:) 使用 Windows 任务管理器 (GUIDE) 终止资源密集型进程(Kill Resource Intensive Processes with Windows Task Manager (GUIDE))
方法二:在命令提示符下使用Taskkill(Method 2: Use Taskkill in Command Prompt)
虽然从任务管理器(Task Manager)中终止进程是小菜一碟,但您必须承认它相当乏味。使用任务管理器(Task Manager)的缺点是:
- 它不允许您同时终止多个进程。
- 您不能结束以管理权限运行的应用程序。
因此(Hence),您可以改用命令提示符(Command Prompt)。
注意:(Note:)要终止以管理权限运行的进程,您需要以管理员身份启动命令提示符(Command Prompt)。
1. 在Windows 搜索(Windows search)栏中,键入cmd并单击以管理员身份运行,(Run as administrator)如图所示。

2.输入tasklist并按回车(Enter) 键(key)获取所有正在运行的进程列表。

选项 1:杀死单个进程(Option 1: Kill Individual Processes)
3A。键入taskkill/IM Image Name命令以使用其Image Name终止进程,然后按 Enter(Enter)。
例如:要终止记事本进程,请运行taskkill/IM notepad.exe 命令,如图所示。

3B。键入taskkill/PID PID numberPID号终止进程,然后按Enter 键(Enter key )执行。
例如:要使用其PID号终止记事本,请键入(notepad)taskkill/PID 11228,如下所示。

选项 2:杀死多个进程(Option 2: Kill Multiple Processes)
4A。运行taskkill/IM Image Name1/IM Image Name2图像名称(Image Names.)一次杀死多个进程。
注意:Image Name1(Note: Image Name1)将被替换为第一个进程Image Name(例如 chrome.exe),Image( Image Name2) Name2 也将替换为第二个进程Image Name(例如 notepad.exe)。

4B。同理,执行taskkill/PID PID num1/PID PID num2 命令,使用各自的PID号杀死多个进程。
注意:(Note:) num1用于第一个进程PID(例如 13844),num2用于第二个进程PID(例如 14920),依此类推。

选项 3:强制终止进程
(Option 3: Kill A Process Forcefully
)
5. 很简单,在上面的命令中加上/F就可以强行杀死一个进程。
要了解有关Taskkill的更多信息,请键入taskkill /?在命令提示符中并按Enter执行。或者,在此处阅读 Microsoft 文档中的 Taskkill(Taskkill in Microsoft docs )。
另请阅读:(Also Read:) 修复命令提示符在 Windows 10 上出现然后消失(Fix Command Prompt Appears then Disappears on Windows 10)
方法 3:在 Windows Powershell 中使用停止进程(Method 3: Use Stop Process in Windows Powershell)
同样,您可以在PowerShell(PowerShell)中使用 tasklist 命令来获取所有正在运行的进程的列表。虽然要终止进程,但您需要使用 Stop-Process 命令语法。以下是如何通过Powershell杀死进程:
1. 同时按下Windows + X 键(keys)调出高级用户菜单(Power User Menu)(Power User Menu)。
2. 在这里,单击Windows PowerShell (Admin),如图所示。

3. 键入tasklist命令并按Enter以获取所有进程的列表。

选项 1:使用图像名称(Option 1: Using Image Name)
3A。键入Stop-Process -Name Image Name命令以使用其Image Name终止进程,然后按 Enter(Enter)。
例如: Stop-Process -Name Notepad)突出显示。

选项 2:使用 PID
(Option 2: Using PID
)
3B。键入Stop-Process -Id processID以使用其PID终止进程,然后按Enter 键(Enter key)。
例如:运行Stop-Process -Id 7956来结束记事本的任务。

选项 3:强制终止
(Option 3: Forceful Termination
)
4、在上面的命令中添加-Force,强制关闭进程。
常见问题 (FAQ)(Frequently Asked Questions (FAQs))
Q1。如何强制终止 Windows 中的进程?(Q1. How do I force to kill a process in Windows?)
答。(Ans.)要在Windows(Windows)中强制终止进程,请在命令提示符中执行命令 taskkill /IM Process Name /F 或在 Windows Powershell 中执行Stop-Process -Name ApplicationName -Force命令。(Stop-Process -Name ApplicationName -Force)
Q2。如何杀死 Windows 中的所有进程?(Q2. How do I kill all processes in Windows?)
答。(Ans.)同一应用程序的进程聚集在任务管理器(Task Manager)中的一个公共标题下。所以要杀死它的所有进程,只需终止cluster head。如果您希望终止所有后台进程,请按照我们的文章禁用后台应用程序(follow our article to disable background apps)。您还可以考虑执行干净启动(clean boot)。
受到推崇的:(Recommended:)
我们希望您学会了如何(how to kill a process) 在 Windows 10 PC 上(on Windows 10 PC)终止进程。如果您对本文有任何疑问/建议,请随时将它们放在评论部分。
3 Ways To Kill A Process In Windows 10
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.

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.

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.

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.

2. 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:
1. Press Windows + X keys together to bring up the Power User Menu.
2. Here, click on Windows PowerShell (Admin), as shown.

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