Tuesday, March 18, 2008

How to find out what processes are active and kill them from the command line

I recently found myself trying to troubleshoot an XP computer and Task Manager wouldn't open. Luckily, I knew a way to view and kill running processes from the command line. Here's how:

  1. Click Start | Run and type cmd to open a command window
  2. At the command prompt, type tasklist
  3. You can view the list of processes running on your computer
  4. To kill the process you suspect is causing problems, note its Process ID, then type tskill