Windows: Get a List of All Running Processes from the Command Line
Posted by Rob Rogers in Windows
If you need to get a quick list of running processes on your computer or another computer on your network, you can use the Windows Instrumentation command-line interface (WMIC) to quickly generate this. You can even generate a text file so you can print the list if need be. This Tech-Recipe applies to Windows XP Professional, Windows Vista, Windows Server 2003 and Windows Server 2008.
1. Open a command prompt.
2. Execute the following command:
wmic process get description,executablepath
To list the processes on another computer, execute the following command:
wmic /node:
Where computer name is the name of the desired computer.
to generate a textfile, execute the following (make sure to change the output path to your liking):
Your computer:
wmic /output:d:\process.txt process get description,executablepath
Another computer:
wmic /node:
Your results will look something like this:

Tasklist is another method for doing this as well.
About Rob Rogers
View more articles by Rob Rogers
The Conversation
Follow the reactions below and share your own thoughts.


December 21, 2010 at 3:25 pm, Shiki said:
Thanks. I was also able to get only specific processes by
wmic process get description, executablepath | findstr process-name