Process Monitor
Cheat sheet · https://pcornel.dk/topic.php?topic=3013
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 processesGet-CimInstance Win32_Process -Filter "ProcessId=<pid>" | Select Name,ParentProcessId,CommandLine— command line and parenttasklist /v— processes with user and statustaskkill /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
| Item | Meaning | Evidence boundary |
|---|---|---|
| Process/PID | Actor | which runtime instance made the call |
| Operation | Action | file/Registry/process-thread operation type |
| Path | Target | object/path being accessed |
| Result | Operation outcome | SUCCESS, ACCESS DENIED, NAME NOT FOUND, etc. |
| Time/stack | Correlation context | sequence 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