Windows Server 2008 R2
Kill Any Windows Process from Command-line using taskkill
by thebzone on Feb.16, 2012, under Windows OS Tricks & Tips, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows XP
If you know the name of a process to kill, enter the following command from a command prompt to end it:
taskkill /IM application.exe
This will ask for confirmation to savw if there are unsaved changes, before terminating the process. To kill the same process by force, add the /F option to the command line. With the /F option, it will terminate all matching processes without confirmation.
To kill a single instance of a process, specify its process id (PID). eg:- if the process to terminate has a PID of 420, use the following command to kill it:
taskkill /PID 420
Recent Comments