« List all processes with the command line | Main | Search within a site with Google »

Kill a Process from the Windows Command Line

To terminate a process from the command line of windows, use the taskkill command:
When you know the name of the image to stop:
taskkill /IM notepad.exe
Or when you know the process ID, eg 784:
taskkill /PID 784
For more usage variants, type taskkill /?

NB: some of this information about what processes are running can be obtained by the tasklist command.

Related Entries

Output Redirection from the Windows Command Line - Jan 07, 2006

How to stop .avi files from locking up in Windows Explorer - Jan 07, 2006

Add Notepad To Your "Send To" Menu - Dec 27, 2005

List all processes with the command line - Oct 30, 2005

How to Control the Mouse Pointer Without a Mouse in Windows XP - Oct 24, 2005

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

Adlinks

Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by
Movable Type 3.2