Sizzled Core logo

Kill Tasks from Command Prompt

Recently, my friend’s computer was attacked by a virus and his task manager stopped working. The Task Manager was opening, but it wasn’t showing any processes running at all. So to fixed that, I went through many websites and looked for number of Task Manager alternatives.

While searching, I came across a very interesting Windows XP/Command Prpmpt trick (don’t remember the site). You could actually view and kill processes from Command Prompt if your Windows Task Manager stops working for some reason.

Kill Tasks in Command Prompt

To kill the tasks from the Command Prompt, open Command Prompt by navigating to Start > All Programs > Accessories and select Command Prompt. Alternatively Command Prompt can be opened by typing cmd in Run. After you open Command Prompt, type “tasklist” (without the quotes) for a list of all the running processes. A list will be shown, and following every process name you could see a number, something like 1288. This is the PID number. You will need this to kill the task.

After looking for the process to kill, note down it’s PID number (process code) and type “tskill PID Number” without the quotes in Command Prompt. Of course, PID number should be replaced by the actual code. So the command becomes something like this: tskill 1288

That’s it. The process will be killed!

I hope you enjoyed this trick and thanks for reading this.


If you liked this post: Subscribe by Twitter Follow me on Twitter   or   Subscribe by RSS Subscribe via RSS
Author: Haris Nadeem
He is the founder of Sizzled Core and a Pakistani blogger who loves gadgets and exploring out the web!

10 Comments

  1. MyAvatars 0.2

    Nice tip, I also encountered similar problem few days ago, but my command prompt was also disabled

  2. MyAvatars 0.2

    Cant this be a case because of Viruses and trojans??

  3. MyAvatars 0.2

    Yeah, the most common reason for such problems is viruses and trojans. And the latest virus that is nowdays circulating an many PCs is the New Folder virus. It disables your Task Manager, and you can’t even stop its process.

  4. MyAvatars 0.2

    cool tip buddy . never knew this

  5. MyAvatars 0.2

    @Madhur: I’m glad you liked it :)

  6. MyAvatars 0.2

    Sweet thanks for the info.

  7. MyAvatars 0.2

    That is a nice trick in Windows… Does it work in Vista too

  8. MyAvatars 0.2

    Informative one, will be useful some day :)

  9. MyAvatars 0.2

    123

    this does not work in vista, does anone know a vista way of doing this?

  10. MyAvatars 0.2

    Anil Veluri

    Its Good. But do you know how to hard kill all the tasks running on a Server Computer which is processing several requests from different client computers.

Leave a Reply

Comment moderation is enabled. Your comment may take some time to appear.