Windows: Get a List of All Running Processes from the Command Line

Contributor Icon Contributed by Rob Rogers  
Tag Icon Tagged: 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: process get description,executablepath

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: /output:d:\process.txt process get description,executablepath

Your results will look something like this:

Tasklist is another method for doing this as well.

 

1 Comment -


  1. Shiki said on December 21, 2010

    Thanks. I was also able to get only specific processes by

    wmic process get description, executablepath | findstr process-name

 

RSS feed for comments on this post. TrackBack URL

Leave a comment -