Pcornel
Windows · Processes

Process Monitor

Cheat sheet · https://pcornel.dk/topic.php?topic=3013

Back to the Topic

Answer

Process Monitor (Procmon) is a Sysinternals event-monitoring tool for Windows that captures real-time file system, Registry and process/thread activity. It is built for event-sequence troubleshooting: which process attempted what operation, against which object, with what result and stack/context.

Remember

  • Procmon records high-volume event streams; filtering is essential.
  • A captured SUCCESS only proves that operation succeeded, not the entire workflow.
  • NAME NOT FOUND can be normal discovery behavior in many applications.
  • Procmon is not a general network packet capture; use network-specific tools for packet evidence.
  • Capture scope and timing must include the failure reproduction.

First checks

  • Get-Process | Sort CPU -Desc | Select -First 10 Name,Id,CPU,WS — top processes
  • Get-CimInstance Win32_Process -Filter "ProcessId=<pid>" | Select Name,ParentProcessId,CommandLine — command line and parent
  • tasklist /v — processes with user and status
  • taskkill /PID <pid> /T — stop a process tree

Verify in this order

procmon driver logs file, registry, process and network operations → filtered → result codes

Where it usually breaks

First mismatch in definition/configuration → security context → service/task/process creation → runtime state → output/side effect → event/performance evidence; preserve identity/native error/pre-state before mutation.

Processes → Process Monitor reference map

ItemMeaningEvidence boundary
Process/PIDActorwhich runtime instance made the call
OperationActionfile/Registry/process-thread operation type
PathTargetobject/path being accessed
ResultOperation outcomeSUCCESS, ACCESS DENIED, NAME NOT FOUND, etc.
Time/stackCorrelation contextsequence and calling code path

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3013

Confirmation

Confirm action

Continue?