What's the Easiest Way to Save Task Manager's Processes Tab as a Csv File?

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?

2 Answers

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.

2

One line in CMD

Replace <username> to your user name and run in cmd:

tasklist /v /FO csv > "C:\Users\<username>\Documents\tasks.csv"

For more documentation info go here:

1
Alexander Ross

Alexander Ross

Gaming, Esports & Interactive Media Writer

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.

Share this article