Command-Line Procom Trace #Quickie

 I needed to add procmon logging to a script that was failing regularly but intermittently.  Here's the trick to do a procmon trace from the command line.

procmon /quiet /runtime 10 /backingfile d:\test.pml /accepteula /nofilter  /minimized

It's not perfect.  There is an icon on the taskbar while it's running and it steals the foreground window focus when you launch it.  That said, it did what I needed to do.

If you didn't know, Procmon  = Sysinternals Process Monitor.  More data here: