Kill processes by name or process ID.
Syntax pskill [- ] [-t] [\\computer [-u user] [-p passwd]] process_name | process_id Options: computer The computer on which the process is running. Default=local system -p passwd Specify a password for user (optional). Passed as clear text. If omitted, you will be prompted to enter a hidden password. -u user Specify a user name for login to remote computer(optional). -t Kill the process and its descendants. process_id/name The process or processes to be killed. -accepteula Suppress the display of the license dialog. - Help, display the supported options.
To kill a process on a remote system requires administrative privileges on the remote system.
When launched for the first time, PsKill will create the regkey
HKCU\Software\Sysinternals\PsKill\EulaAccepted=0x01
Examples:
Kill all instances of notepad.exe running on \\workstation64:
pskill \\workstation64 notepad
“Never trust a man who, when left alone with a tea cosy, doesn't try it on” ~ Billy Connolly
Related:
SysInternals Forum
TSKILL - Kill process on a Terminal Server.
TASKKILL - End a running process.
ProcDump - Monitor an application for CPU spikes.
PsList - List detailed information about processes.
The process button of Task Manager in Windows will also identify the process ID (PID.)
PsSuspend - Suspend processes (so they can be continued at a later point in time.)
Powershell: Stop-Process - Stop a running process. (kill)
Equivalent bash command (Linux): kill - Stop a process from running.