taskkill
Windows CMD · Processes · available in the simulator
What it does
Terminates a process by PID or name.
Syntax
taskkill [/pid id | /im nombre] [/t] [/f]
Options and parameters
/PID Nby process ID
/IM NOMBREby image name (e.g., notepad.exe)
/FForces the termination of the process.
taskkill /IM chrome.exe /F/TTerminates child processes as well.
/PIDSpecifies the process by its process ID.
taskkill /PID 1234/IMSpecifies the process by its image name.
taskkill /IM notepad.exe/FIApplies a filter to select processes.
/SSpecifies the remote system.
/UUser context under which to execute the remote command.
/PPassword for the user specified in /U.
Usage examples
taskkill /PID 1234 /Ftaskkill /IM notepad.exetaskkill /IM chrome.exe /T /Ftaskkill /IM notepad.exe /Ftaskkill /PID 1234taskkill /IM chrome.exe /F