Quick Actions
taskkill
Description
Ends one or more tasks or processes.
Command
taskkill
Examples
Kill a process by its image name
taskkill /im notepad.exe
Forcefully kill a process by its PID
taskkill /pid 1234 /f
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
/pid processid |
string | No | Specifies the process ID of the process to be terminated. |
/im imagename |
string | No | Specifies the image name of the process to be terminated. |
/f |
string | No | Specifies to forcefully terminate the process(es). |
/t |
string | No | Terminates the specified process and any child processes which were started by it. |
Command Info
Category:
Process Management
Type:
Windows
Views:
13
Status:
Active
Tags
windows
cmd
process
kill
terminate