How do I figure out what the randomly appearing command windows are doing on Windows 10????
The best way:
In an admin PowerShell, execute this command:
Get-ScheduledTask | Get-ScheduledTaskInfo | select TaskName, TaskPath, LastRunTime | out-gridview
This shows a nice window:
Alternative: provides text file for storing:
schtasks /query /FO TABLE /v | clip
Open a command window, type the command above, then open Notepad and paste it there to see the history of command.
I learned this from this site:
https://www.winhelponline.com/blog/find-unknown-program-open-and-close-immediately/