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. - Help, display the supported options.
To kill a process on a remote system requires administrative privileges on the remote system.
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
FAQ: Common PSTools Issues
TSKILL - Kill process on a Terminal Server
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)
KILL - Remove a program from memory
Powershell: Stop-Process - Stop a running process (kill)
Equivalent bash command (Linux): kill - Stop a process from running.
© Copyright SS64.com 1999-2013
Some rights reserved