Among many other settings, Windows Task Manager has a list of processes that're currently running on your computer. Some are executed by the operating system, whilst others are automatically launched during boot up, or manually when you open applications, tools etc. It's very handy to print a list of all running processes to view and analyze, hence In this tutorial, I will show you how to do this with Incredible ease.
Before I begin, here's what I'm referring to. Open Task Manager, select the Processes tab, and you will see a compete list as per the Image below.
All that's required on your part, Is to enter a command, and the text file will be generated containing every process that was running at the time. So without further delay, let's begin.
Firstly, I will use the Command Prompt. To access It, open the Run menu, enter cmd and hit OK.
The Command Prompt will now execute, so copy & paste the following command.
tasklist > %userprofile%\desktop\processes.txt
Then hit Enter on your keyboard.
The text file will now be generated to your computer's desktop, or you can navigate to the Users directory In File Explorer. I've done exactly that, and here's my processes text file.
I've now executed the processes text file and as you can see, It contains a list of every running process. I can view It's PID, memory usage etc and If need be, use this Information to Identify Issues.
To locate a given process, simply select the Edit tab and click on Find.
In the Find what field, I've entered the process that I wish to locate, namely mspaint. The entry Is Immediately returned.
Now let's generate the processes text file using PowerShell. Open the Run menu, enter powershell and hit OK.
PowerShell will now open, so copy & paste the following command.
Get-Process | Out-File $env:userprofile\desktop\processes.txt
Then hit the Enter key on your keyboard.
As with the Command Prompt In Step Three above, the processes text file has been generated. This actually contains more details, hence a very good platform to work with.
The good thing about printing a text file of all running processes, Is that unlike the entries In Task Manger that change from one second to the next, the text file Is fixed, therefore you have a solid foundation to see exactly what was happening at the time.
The above directories where the text file was generated, are for demonstration purposes. Feel free to change It according to your preference and usability.