Sub topic 11
Diagnosing degraded performance
This chapter assumes you can open Task Manager, Event Viewer and Services, and that you know the roles of RAM, CPU, storage and the page file. You should also know the CompTIA troubleshooting steps from the first chapter. Here you will apply them to the symptom "the computer is slow."
Start with the symptom, not the fix
"Slow" is a symptom, not a cause. First, ask when it started and what changed. Common triggers are a new program, a Windows update, a new driver, or a failing drive. Then reproduce the problem and find which resource is saturated: CPU, memory, disk or network.
Find the bottleneck
Open Task Manager (Ctrl+Shift+Esc) and check the Processes tab. Sort by each column in turn. Use Resource Monitor for per-process disk and network detail.
| Observation | Likely cause | First action |
|---|---|---|
| CPU stays near 100% | Runaway process, malware, heavy update activity | End or investigate the top process |
| Memory above about 85% and disk busy | Too little RAM, so Windows pages to disk | Close programs, add RAM, check page file |
| Disk at 100% on a hard drive | Indexing, updates, failing drive | Check SMART status, run chkdsk |
| Slow only at startup | Too many startup apps or slow services | Disable items on the Startup tab |
| Slow only on the network | DNS, link or bandwidth problem | Test other sites and devices |
Check the logs and services
If Task Manager shows nothing obvious, look in Event Viewer for repeated errors around the time the slowdown began. A service that crashes and restarts in a loop can use CPU or disk constantly. This command lists automatic services that are not running:
Get-Service | Where-Object { $_.StartType -eq 'Automatic' -and $_.Status -ne 'Running' } | Select-Object Name, DisplayName, StatusSome automatic services stop on purpose after finishing their work, so a stopped service is a lead and not proof of a fault.
Common causes and least destructive fixes
Work from the least invasive fix to the most invasive:
- Restart the system and close unneeded programs.
- Disable unneeded startup items.
- Install pending updates and updated drivers.
- Free disk space and check the drive's health.
- Run
sfc /scannowif you suspect corrupt system files. - Scan for malware if the cause is unexplained.
- Add RAM or replace a failing drive.
Make one change at a time. Then retest, so you know which change worked.
Malware and the exam
Unexplained high CPU, browser redirects, pop-ups and processes with odd names point to malware. The exam often presents slowness plus one of those clues. In that case, quarantine the system and scan before you tune performance.
Exercise
A user reports a laptop with a hard drive became slow after a month of use. Task Manager shows memory at 92% and disk at 100%, and CPU is low. Which two actions should you take first?
Show answer
Close or remove unneeded startup programs and background apps to reduce memory pressure, then check the page file and consider adding RAM. High memory use makes Windows page to the slow hard drive, which causes the 100% disk reading. Check the drive's health afterward if the problem persists.