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

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like