"End Process" on the Processes-Tab calls TerminateProcess which is the most ultimate way Windows knows to kill a process.

If it doesn't go away, it's currently locked waiting on some kernel resource (probably a buggy driver) and there is nothing (short of a reboot) you could do to make the process go away.

Have a look at this blog-entry from wayback when: http://blogs.technet.com/markrussinovich/archive/2005/08/17/unkillable-processes.aspx

Unix based systems like Linux also have that problem where processes could survive a kill -9 if they are in what's known as "Uninterruptible sleep" (shown by top and ps as state D) at which point the processes sleep so well that they can't process incoming signals (which is what kill does - sending signals).

Normally, Uninterruptible sleep should not last long, but as under Windows, broken drivers or broken userpace programs (vfork without exec) can end up sleeping in D forever.

Answer from pilif on Stack Overflow
🌐
NinjaOne
ninjaone.com › home › blog › it ops › how to kill a process in windows: 4 methods
How to Kill a Process in Windows | NinjaOne
April 30, 2025 - If you have a process’s PID, kill the task with the command: “taskkill /F /PID pid_number” replacing pid_number with the actual PID of the process you want to terminate.
🌐
Marc Nuri
blog.marcnuri.com › home › windows: how to kill a process from the command line
Windows: How to kill a process from the command line - Marc Nuri
October 31, 2023 - We've retrieved its PID using the netstat command as I explained in the previous post. The PID is 4027, so we can kill it using the following command: A screenshot showing the output of the taskkill /F /PID 4027 command
🌐
Computer Hope
computerhope.com › taskkill.htm
Taskkill Command
June 1, 2025 - The taskkill command allows a user running any version of Microsoft Windows from XP on to "kill" a task from a Windows command line by PID (Process IDentifier) or image name.
🌐
ANS
ans.co.uk › docs › operatingsystems › windows › windowsadministration › killingprocs
Forcibly ending a process in Windows | ANS Documentation
In the command prompt, type tasklist ... line, type either taskkill /f /im <process name> and press enter to end a process by its name or taskkill /f /PID <number of pid> and press enter to end a process by its PID...
Find elsewhere
🌐
SS64
ss64.com › nt › taskkill.html
Taskkill - end one or more processes. - Windows CMD - SS64.com
Syntax TASKKILL [/S system [/U username [/P [password]]]] { [/FI filter] [/PID processid | /IM imagename] } [/F] [/T] Options /S system The remote system to connect to. /U [domain\]user The user context under which the command should execute. /P [password] The password.
🌐
MiniTool Partition Wizard
partitionwizard.com › home › partition manager › cmd kill process: how to kill process in command prompt
Discover the CMD Kill Process Complete Guide for Windows 10/11
November 27, 2024 - How to let CMD kill process in Windows 10/11? Here you need to use the taskkill command that allows a user to kill a task from a Windows command line by PID or image name.
🌐
PDQ
pdq.com › blog › what-is-the-powershell-equivalent-of-taskkill
What is the PowerShell equivalent of taskkill? | PDQ
February 12, 2026 - As always, if you want to find ... command followed by either the process name, also known as image name (/IM), or the process ID (/PID)....
🌐
Sentry
sentry.io › sentry answers › windows › kill process using port in windows
Kill process using port in Windows | Sentry
The final number on both lines is the process ID (PID) of the process using port 8080. Using this PID, we can end the process with taskkill:
🌐
Wikihow
wikihow.com › computers and electronics › operating systems › windows › 4 ways to use the taskkill command in cmd & powershell
4 Ways to Use the Taskkill Command in CMD & PowerShell
February 19, 2026 - Type the "tasklist" command and find a program you want to end. Type "taskkill /IM [image name]" and hit Enter. Use " /F" at the end of the command to force-close the process, and type "/T" to kill all its child processes.
🌐
Comparitech
comparitech.com › home › net admin › tutorial: powershell kill process command
PowerShell Kill Process Command: Step-by-Step Tutorial
November 11, 2024 - To use this command, you need to know its process ID (PID). You can get a list of all running tasks with the command tasklist. Once you know the PID, use the taskkill command in this manner: taskkill /PID <PID> /F.
🌐
Eleven Forum
elevenforum.com › windows support forums › tutorials
Kill Process in Windows 11 | Windows 11 Forum
February 16, 2023 - 3 Do step 4 (Image Name) or step 5 (PID) below for how you want to kill the process. ... A) Type the command below you want to use into the Windows Terminal, and press Enter. (see screenshot below)​ · (To forcefully kill all instances of a process)​ ... Substitute Image Name in the command above with the actual Image Name (ex: "msedge.exe") from step 2 above for the process you want to kill. For example: taskkill /IM msedge.exe /F If you would like to kill multiple processes at once in one command line, then you would just add an additional /IM Image Name for each process.
🌐
LinkedIn
linkedin.com › all › engineering › operating systems
How can you use the "taskkill" command to stop processes?
November 16, 2023 - For example, if you want to stop the process named notepad.exe, you can use the command: taskkill /IM notepad.exe If you want to stop the process with the PID 1234, you can use the command: taskkill /PID 1234 You can also use the wildcard character ...