Use Process Monitor for access denied, file not found, registry lookup, process/thread creation and similar operation-level failures where a static process snapshot does not explain what happened.
Process Monitor
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.
1. Run procmon as admin; stop capture, clear, set filters (Process Name, Path).
2. Capture while reproducing the problem, then stop.
3. Look for Result NAME NOT FOUND / ACCESS DENIED.
4. Use Tools → Process Tree for context.
5. Save the PML for later analysis.
procmon driver logs file, registry, process and network operations → filtered → result codes
Compare with expected/working execution and move to the first boundary where the operation/result diverges.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Long unfiltered captures can consume memory/disk and bury the signal. Do not infer causation from a single ACCESS DENIED or NAME NOT FOUND without workflow context. Do not use Procmon output as a substitute for packet-level network evidence when the failure is on the wire.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
Filter aggressively, capture briefly, reproduce once, then stop. Anchor on the user-visible failure time. Review the event sequence and, if necessary, the stack. Export/preserve the capture before remediation. After a controlled fix, repeat the same capture and compare the exact operation/result.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- 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.
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
ReferenceWhat it is1 section · depth on demand
Core model
Process Monitor captures a chronological stream of low-level operations. It is especially valuable when an application says only “access denied” or “file not found” because you can identify the exact path, operation and result for the failing process and compare working versus broken runs.
ReferenceImportant terms & boundaries2 sections · depth on demand
Runtime / control boundary
Not every error-looking event is an error. Applications probe multiple registry paths and files by design. The strongest interpretation comes from correlating the event with the exact failure timestamp, comparing it to expected behavior and finding the first operation where the broken path diverges from the working path.
In depth
Process Monitor captures file, registry, network, process and thread activity in real time — the tool for "what is this program doing / why does it fail".
procmon64.exe /AcceptEula /Quiet /Minimized /BackingFile C:\Temp\trace.pml
procmon64.exe /Terminate
Typical workflow: reproduce the problem, stop capture, filter by process name and Result is not SUCCESS (look for ACCESS DENIED, NAME NOT FOUND on config paths). Enable boot logging to trace startup problems. Captures grow quickly — filter early or use a backing file.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Processes → Process Monitor. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows/win32/procthread/process-and-thread-functions · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Processes → Process Monitor reference map
Fast lookup boundaries for Processes → Process Monitor.
| 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 |