Windows 10 has a new command line tool called “kill.” This tool can be used to kill processes from the command line. To use kill, first open the command prompt by clicking on the “Start” button, typing “cmd” in the search box, and pressing Enter. Then type “kill” and press Enter. The following list shows some of the options that are available when using kill: -k: Kills all processes on the system. This is the default option. -u: Kills only processes that are currently running. -p: Prints information about each process that is killed. This is useful if you want to know why a process was killed. -x: Ends the process without killing it. This is useful if you want to keep a process running for some reason. ..
If you are familiar with linux/unix, you will be very accustomed to the ability to kill (and start) processes from the command line. Linux gives you a very rich set of command line tools that simply don’t exist on Windows by default.
Enter the Command Line Process Viewer/Killer/Suspender utility from the Beyond Logic website. This is a simple command line utility that lets you perform a number of utilities including viewing a list of processes, killing processes, and even changing the priority of a process.
Syntax:
Example usage:
process -k “Process Name”
Command Line Process Viewer/Killer/Suspender for Windows NT/2000/XP V2.03 Copyright(C) 2002-2003 Craig.Peacock@beyondlogic.org Killing PID 2304 ‘notepad.exe’
OR:
process -k 2192
Command Line Process Viewer/Killer/Suspender for Windows NT/2000/XP V2.03 Copyright(C) 2002-2003 Craig.Peacock@beyondlogic.org Killing PID 2192 ‘notepad.exe’