Use it when responsiveness is poor and CPU is suspected as the constraining resource.
High CPU
High CPU covers sustained or burst processor consumption and the method for attributing it to the correct process, thread, interrupt/DPC path or workload.
1. Top process (Get-Process | Sort CPU).
2. Privileged time high → drivers (xperf/WPR).
3. Defender scans? Updates?
4. Process-specific logs.
5. Fix or limit.
CPU consumer → identified → fixed
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Get-Process | Sort CPU -Descending | Select -First 10 Name,Id,CPUVerification & 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 Finding the cause Verify boundary
Get-Process | Sort CPU -Descending | Select -First 10 Name,Id,CPU
Get-Counter '\Processor(_Total)\% Processor Time','\Processor(_Total)\% Privileged Time','\Processor(_Total)\% Interrupt Time'
High user time → an application (check its threads with Process Explorer). High privileged/DPC/interrupt time → drivers, AV or storage/network filter drivers (use WPR/WPA to find the module). Common: Defender scanning, WMI provider host (WmiPrvSE), Windows Update, svchost — identify the service with tasklist /svc /fi "PID eq <pid>".
Step 2 Troubleshooting path Verify boundary
Symptom/time window → CPU utilization → process attribution → thread/kernel attribution → workload/dependency → remediation verification
Step 3 Commands Verify boundary
Get-Process | Sort CPU -Descending | Select -First 10 Name,Id,CPU
tasklist /svc /fi "PID eq 1234"
Get-Counter '\Process(*)\% Processor Time' | Select -Expand CounterSamples | Sort CookedValue -Desc | Select -First 5
Step 4 Common mistakes Narrow the fault
- Killing svchost without identifying the service.
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.
- High total CPU proves processor time is busy; it does not identify which thread, code path or dependency is the root cause.
- Keep the symptom, observed state and inferred cause as separate statements.
- Prefer evidence from the first failed boundary over broad configuration changes.
- A successful local check does not automatically prove the next dependency or end-to-end workload.
Get-WinEvent -FilterHashtable @{LogName='System';Level=1,2;StartTime=(Get-Date).AddHours(-24)}— system errors last 24hGet-WinEvent -FilterHashtable @{LogName='Application';Level=1,2;StartTime=(Get-Date).AddHours(-24)}— application errorsGet-ComputerInfo -Property OsName,OsBuildNumber,CsDomain— system contextGet-HotFix | Sort InstalledOn -Desc | Select -First 5— recent updates
ReferenceImportant terms & boundaries3 sections · depth on demand
What the evidence shows
High total CPU shows processor time is busy; it does not identify which thread, code path or dependency is the root cause.
In depth
Split user time from kernel time first
PS C:\> Get-Counter '\Processor(_Total)\% Processor Time','\Processor(_Total)\% User Time','\Processor(_Total)\% Privileged Time','\Processor(_Total)\% Interrupt Time','\Processor(_Total)\% DPC Time','\System\Processor Queue Length' -SampleInterval 2 -MaxSamples 5
| Dominant | Meaning | Tools |
|---|---|---|
| % User Time | An application is busy | Process → threads → stacks (Process Explorer, ProcDump) |
| % Privileged Time | Kernel work: file system, drivers, antivirus filters | WPR/WPA CPU sampling |
| % Interrupt / % DPC | Hardware/driver (NIC, storage) | WPR with DPC/ISR, driver updates |
| Processor Queue Length > 2 × cores sustained | CPU saturation, threads waiting | Capacity or parallelism |
Microsoft's high-CPU guidance targets CPU that stays at 80 % or more for long periods, and recommends collecting performance logs and WPR traces while the problem occurs, plus ProcDump snapshots a few minutes apart.
svchost and services
tasklist /svc /fi "PID eq 4312"
Get-CimInstance Win32_Service | Where ProcessId -eq 4312 | Select Name, DisplayName
On current Windows most services run in their own svchost instance, so the PID maps to one service. Restarting that service is a diagnostic step, not a fix — note what it was doing first.
Capture while it happens
wpr -start CPU -filemode
# reproduce 30–60 seconds
wpr -stop C:\Temp\highcpu.etl
procdump -s 5 -n 3 -c 80 <PID> C:\Temp\ # 3 dumps when CPU > 80 % for 5 s
Open the ETL in Windows Performance Analyzer: *CPU Usage (Sampled)* grouped by process → thread → stack shows the exact function.
Common causes worth checking quickly
| Cause | Clue |
|---|---|
| Antivirus scanning a busy folder | MsMpEng.exe high; exclusions for databases/VM files per vendor guidance |
| WMI provider loops | WmiPrvSE.exe — Get-WinEvent Microsoft-Windows-WMI-Activity/Operational |
| Search indexer on servers | SearchIndexer.exe — disable on servers that do not need it |
| Power plan Balanced on servers | CPU at low clock; set High performance per vendor guidance |
*The CPU utilization and trace commands above are illustrative examples, not captured from a lab or production system.*
Method
High CPU on Windows:
1. Identify the process: Task Manager Details (CPU column), Get-Process | Sort CPU -Desc.
2. For svchost.exe, map to services: tasklist /svc /fi "PID eq 1234".
3. For System/interrupts: Process Explorer (Interrupts, DPCs), Windows Performance Recorder trace.
4. Inside the process: Process Explorer Threads tab with symbols, or procdump -c 90 -s 5 -n 3 <pid> for dumps at high CPU.
5. Common culprits: Defender scanning busy folders, Windows Update/TiWorker, WMI providers (WmiPrvSE.exe — check Microsoft-Windows-WMI-Activity/Operational), runaway scripts.
Get-Counter '\Process(*)\% Processor Time' -SampleInterval 2 -MaxSamples 3 | % CounterSamples | Sort CookedValue -Desc | Select -First 10 InstanceName,CookedValue
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 Windows Troubleshooting → High CPU. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/troubleshoot/windows/ · 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
Windows Troubleshooting → High CPU reference map
Fast troubleshooting boundaries for Windows Troubleshooting → High CPU.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Symptom | What the user/workload reports | Starting point, not root cause |
| Local state | What Windows reports at this boundary | Does not prove adjacent dependency |
| Correlated evidence | Multiple sources agree in one timeline | Strengthens hypothesis, not automatic causation |
| Verification | Original test succeeds after controlled change | Required to close the troubleshooting loop |