Use this topic when the symptom is a crash, hang, resource spike, process churn, unexpected child process, locked object or process-level access problem.
Process Troubleshooting
Process Troubleshooting is the operational method for turning “the app is broken” into a bounded runtime question: which process instance, which thread/resource/operation, what changed, and what evidence separates application failure from dependency or system pressure.
1. Symptom: crash, hang, high CPU/memory, won't start?
2. Crash → Application log Event 1000/1001, faulting module.
3. Hang → procdump -h <pid>; high CPU → Process Explorer threads.
4. Won't start → Process Monitor for missing files/keys/denied access.
5. Fix and confirm with the same test.
symptom → process evidence (events, counters, traces) → cause → fix
Test the immediate dependency/configuration/security boundary with one controlled change or additional evidence source.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Avoid shotgun changes such as disabling security controls, broad permission grants or deleting application state before proving a boundary. A restart that works once is not root-cause evidence. If the issue is service-hosted, continue into Windows Services because the service lifecycle/account/dependency model adds another layer.
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
Record baseline and reproduction conditions. Collect evidence before killing/restarting when safe. If recovery is needed, treat restart as a controlled test: note the new PID/start time, verify the function, and monitor whether the same failure signature returns.
Step 2 Known-good, broken and when it is fixed Verify boundary
Known-good means the intended executable/PID remains stable for the observation window, resource behavior returns to the expected baseline under the same workload and the original application transaction succeeds. Broken evidence includes repeatable runaway growth, stuck responsiveness, crash/restart loop or dependency-related waits. The limit of what it shows is that low CPU or a present process shows neither application correctness nor dependency health; verify the user/service outcome and monitor for recurrence.
Step 3 Native failure isolation and next-check logic Narrow the fault
For high CPU, compare per-process and per-thread use over time and correlate with workload; for high memory, distinguish working set from committed/private growth; for hangs, inspect wait state, handles, child processes and dependent service/network/storage evidence. If a process repeatedly exits, capture exit code/application event or crash dump before restarting it. Compare PID/start time because a service restart can replace the process and make old counters irrelevant.
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.
- Bind all evidence to an exact process instance and time window.
- Snapshot metrics are hypotheses; repeatable deltas and event sequences are stronger.
- Hang, crash and high-resource problems need different evidence paths.
- Termination/restart is a recovery action and can erase useful state.
- Always verify the original user-facing operation after recovery.
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
Classify the symptom before collecting everything. A crash is about termination and fault context; a hang is about lack of progress; high CPU is about execution consumption; a leak is about growth over time; access failures are about a concrete denied/not-found/timeout operation.
ReferenceHow it works1 section · depth on demand
How it works
A Windows process has identity/token, parentage, executable image, handles, threads, memory and CPU/I/O state. High resource use can be legitimate workload, a stuck thread, retry loop, memory leak or dependency wait; a Running process state does not mean the application is responsive. Process name alone can be ambiguous, so PID, image path, start time, command line and service association are stronger identifiers.
ReferenceImportant terms & boundaries2 sections · depth on demand
Runtime / control boundary
The first question is “which process instance?” Then choose the narrowest tool. Task Manager gives fast triage. Process Explorer adds handles/modules/tree. Procmon provides operation chronology. Event logs and dumps preserve failures that may disappear when the process exits.
Method
Process troubleshooting handles processes that hang, crash, leak memory or consume excessive CPU.
Get-Process | Sort-Object WorkingSet64 -Descending | Select-Object -First 10 Id, Name, @{n='MB';e={[int]($_.WorkingSet64/1MB)}}, Handles
Get-Process -Id 4242 | Select-Object StartTime, Threads, Handles, Path
procdump -ma 4242 C:\Dumps # full dump for analysis
procdump -c 90 -s 10 -n 3 4242 C:\Dumps # dump when CPU > 90% for 10 s
| Symptom | Approach |
|---|---|
| Hang | Task Manager → Analyze wait chain; dump for analysis |
| Crash | Application event log (1000/1026), WER reports, dump on crash |
| Memory leak | Track private bytes over time (perfmon); dumps at intervals |
| Handle leak | Rising handle count |
| High CPU | Process Explorer thread view to find the busy thread/module |
Check the process's parent and command line too — unexpected processes can be malware rather than application bugs.
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 Troubleshooting. 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 Troubleshooting reference map
Fast lookup boundaries for Processes → Process Troubleshooting.
| Item | Meaning | Evidence boundary |
|---|---|---|
| Crash | Process exits unexpectedly | event/crash dump + exit timing |
| Hang | Process remains but does not progress | thread waits/stacks + responsiveness |
| High CPU | Sustained processor use | per-thread CPU + stack over interval |
| Leak/pressure | Resource grows over time | memory/handle trend + allocation/object evidence |
| Access/IO failure | Operation returns error | Procmon/log + permission/storage/network boundary |