Kill a Process from the Windows Command Line
Published 2 years, 6 months ago in Tips and WindowsTo 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.
If you have a low-traffic website, consider joining the Money4Banners advertising network. They will pay you £10 + £5 each month for displaying a small advert on three of your pages, regardless of traffic. American webmasters are welcome, and since £10 == $20, you make more!
4 Responses to “Kill a Process from the Windows Command Line”
Leave a Reply
You must log in to post a comment.
Search
Categories
- ASP (3)
- ASP Basics (3)
- Blogs (2)
- C# (1)
- Firefox (1)
- Flash (1)
- Google (6)
- Hacks (3)
- Java (1)
- PHP (12)
- Basics (8)
- Files (1)
- Image Handling (3)
- Puzzles (1)
- Ruby (1)
- Tips (10)
- Web Hosting (3)
- Web Hosting Articles (1)
- Web Hosting News (2)
- Windows (6)
- Wordpress (2)
Related Entries
- List all processes with the Windows Command Line
- Output redirection to a file from the Windows Command Line
- How To Add A New Line in a C# or Visual Basic TextBox
- Add Notepad To Your "Send To" Menu
- Reading a file's contents with PHP
- Save Embedded Media and Other Files in Firefox
- How to stop .avi files from locking up in Windows Explorer
- Hide a hard drive from My Computer
- How to Control the Mouse Pointer Without a Mouse in Windows XP
- Temperature Conversion Program in Java
You are the best. I have been looking for this command to refresh the registry after merging a reg file. Thanks
yes, perfect. Thank you
Thank you!
This is not working in win98… help!