I want to get the information in the Task Manager's Processes tab into Excel.

I want to do this because I am trying to make an image to deploy to a few workstation and need to see what I should include as running processes at startup, taking memory usage into account.

So is there any way I can extract the data as a CSV or .xls file?

up vote 22 down vote accepted

You can't do this using the task manager itself, but you can use the built-in tasklist command line program to do it. Open a command prompt (cmd.exe) and use the following commands:

  • Type tasklist to output a list of all the currently running processes
  • To output as a csv, type tasklist /FO csv
  • To save the output of the command line to a file, add > filename.csv to the end of the command; for example, tasklist /FO csv > "%userprofile%\desktop\tasks.csv".

For full documentation on the various options for what to output, type tasklist /? into the command prompt.

  • 1
    Oh nice, tasklist totally slipped my mind, and definitely didn't know about csv formatting. I'm going to delete my answer. +1. – Sathya Nov 11 '10 at 0:23
  • Why thank you, good sir! I might have left your answer though - it's probably not ideal for this exact situation, but other visitors from the internet may still find it useful if they need to export additional details to a spreadhseet, since process explorer gives more information. – nhinkle Nov 11 '10 at 0:26

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.