Procmon /Terminate not working to stop procmon

Steve Kelker 1 Reputation point
2022-01-07T14:57:06.827+00:00

I have two scheduled tasks set up. The first task calls procmon with these arguments:

/Quiet /AcceptEula /Minimized /BackingFile c:\procmon\procmon.cap

The second task has these arguments:

/Terminate /AcceptEula

The /Terminate /AcceptEula task does not end up shutting down procmon. There is still a ProcMon64.exe instance running. I tried the same from a command line and that also didn't work. I also tried calling procmon64.exe with the /Terminate argument and that also did not work to shut down the running ProcMon64.exe. I also tried running this with the /Run32 to see if the 32bit version would work, and that didn't help either.

I'm running this on a machine running Server 2019.

Any thoughts on how to get Procmon to stop when running as a task?

I'm using 3.8.7 downloaded today (1/7/2022).

Sysinternals
Sysinternals
Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.
1,243 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.