How to kill a task via terminal on Windows
To obtain a list of all running processes and their PIDs in [elevated] command prompt:
To obtain a list of all running processes and their PIDs in [elevated] Powershell:
To kill a task in [elevated] command prompt:
(replace “ProcessName” with the name of the executable file of the process)
To kill a task in [elevated] Powershell:
(replace “ProcessName” with the name of the executable file of the process)\
Last updated