Skip to content

"Procmon.exe /Terminate" doesn't always terminate Process Monitor #9

@olegbck

Description

@olegbck

We run Procmon this way:
C:\Tools\Procmon.exe /AcceptEula /BackingFile C:\cvex\procmon.pml /LoadConfig C:\cvex\config.pmc /Quiet

Then we terminate it this way:
C:\Tools\Procmon.exe /AcceptEula /Terminate

Sometimes Procmon.exe keeps running and it keeps collecting the events. If it gets terminated via taskkill, then the log file gets corrupted:
image

It hangs on:
C:\Tools\Procmon.exe /AcceptEula /OpenLog C:\cvex\procmon.pml /SaveAs C:\cvex\procmon.xml

Please find out what is the issue with Process Monitor and why it is not always terminating properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions