Diagnose a Slow Windows Workstation

Prev Next

Systematically identify and resolve performance issues on an end-user Windows PC.

Complexity: Intermediate. Impact: troubleshooting + endpoint + performance + windows + helpdesk.

Why use this workflow

Slow workstation complaints are one of the most common helpdesk tickets. The root cause can range from trivial (too many browser tabs, pending updates) to serious (failing disk, malware, memory leak in a line-of-business app). A structured diagnostic approach saves time, avoids unnecessary re-imaging, and produces evidence you can share with the user or escalate to vendor support.

Run this workflow when:

  • A user reports their PC is slower than usual today or over the past few days.
  • Login, boot, or application launch times have noticeably increased.
  • Fans are running loudly, the machine feels hot, or Task Manager shows sustained high CPU/disk/memory.

This workflow focuses on Windows 10/11 workstations managed in a corporate environment. It collects telemetry first, analyzes bottlenecks second, and recommends remediation last, so you never apply a fix before you understand the cause.

Expected outcomes

  • A snapshot of current CPU, memory, disk, GPU, and network utilization.
  • A list of the top resource-consuming processes and startup apps.
  • Disk health (SMART) status and free-space assessment.
  • Recent Windows Update, driver, and reliability history.
  • Malware / Defender scan results.
  • A documented root cause (or a clear escalation path if hardware is suspect).
  • Applied remediation and a verification that performance is restored.

Risks and considerations

  • Do not reboot before collecting data. A reboot clears the evidence (running processes, event logs in memory, Task Manager history). Always snapshot first.
  • Do not run aggressive "cleaners" or registry tools. They rarely fix real issues and often break managed configurations (GPO, Intune policy, AV exclusions).
  • Beware of privacy. Process lists may reveal personal apps. Get user consent before remote sessions and avoid screenshotting personal content.
  • SMART "OK" is not a guarantee. A drive can be failing even if SMART reports healthy. If disk latency is sustained above 50 ms, treat the drive as suspect.
  • High memory use is not always bad. Windows deliberately fills RAM with cache. Focus on committed memory and paging activity, not just "% used."
  • Compliance: If you find unauthorized software or signs of compromise, follow your incident-response policy before taking further action.

Required permissions

PermissionWhy it's needed
Local Administrator on the workstationRequired to read performance counters, query WMI/CIM, run Defender scans, and install updates.
Remote PowerShell (WinRM) or Intune device action rightsNeeded to run diagnostics remotely without interrupting the user.
Microsoft Defender for Endpoint: Security Reader (optional)To correlate the device's recent alerts, vulnerabilities, and device health.
Intune: DeviceManagementManagedDevices.Read.All (optional)To pull device compliance, hardware inventory, and last sync status via Graph.

Ask Dex

Paste the prompt into a Dex conversation.

Prompt for IT admins

{user} reports their workstation ({device_name}) is slow today. Run a full diagnostic: capture top processes, disk health, free space, startup impact, recent crashes, pending updates, and Defender status. Identify the likely root cause, apply a safe remediation if one is obvious (clear temp, disable unneeded startup items, trigger updates or a quick scan), and summarize findings plus any recommended follow-up in the ticket.

How an end user can ask Dex

My computer has been really slow today - can someone take a look?

Manual steps (admin center)

Step 1: Ask the user

Before touching the machine, ask:

  • When did it start? (today / gradually / after an update)
  • What's slow specifically? (boot, login, one app, everything)
  • Any recent changes? (new software, VPN, docking station)

Step 2: Open Task Manager and capture the baseline

Press Ctrl+Shift+Esc on the user's machine (or via a remote session).

  1. Click More details if collapsed.
  2. On the Processes tab, sort by CPU, then Memory, then Disk. Note the top 3 in each.
  3. Switch to the Performance tab and screenshot CPU, Memory, Disk, and Network graphs.
  4. Open the Startup apps tab and note anything with High impact.

Step 3: Check Resource Monitor for disk queue and latency

  1. Click Open Resource Monitor at the bottom of Task Manager's Performance tab.
  2. Go to the Disk tab. Look at Response Time (ms). Sustained values over 25 ms indicate a bottleneck; over 100 ms suggests a failing drive.

Step 4: Review Reliability Monitor for recent crashes

Run perfmon /rel from Start. Look for clusters of red X's in the last 7 days. These often reveal the trigger (driver, app crash, update).

Step 5: Check disk health and free space

  1. Open Settings > System > Storage. Ensure the system drive has at least 15% free.
  2. Open an elevated PowerShell and run Get-PhysicalDisk | Select FriendlyName, MediaType, HealthStatus, OperationalStatus.

Step 6: Verify Windows Update and driver status

Go to Settings > Windows Update. Install pending updates. Then check Device Manager for yellow warning icons.

Step 7: Run a Microsoft Defender quick scan

Open Windows Security > Virus & threat protection > Quick scan. Escalate to a full scan if anything is found.

Step 8: Remediate based on findings

  • High CPU from a specific process: update or reinstall the app; check for a known bug.
  • Memory pressure: close heavy apps; check if the machine meets the app's minimum RAM; consider a hardware upgrade.
  • High disk latency + HDD: recommend SSD upgrade or device replacement.
  • Too many startup apps: disable High-impact items the user doesn't need at boot.
  • Malware detected: follow IR policy.
  • Nothing obvious: reboot, then recheck. If it returns, collect a WPR trace and escalate.

Step 9: Verify and document

Have the user try the slow workflow again. Record the root cause, remediation, and any follow-up (e.g., scheduled SSD upgrade) in the ticket.

Microsoft Graph API

Graph doesn't expose live performance counters, but it does provide the device posture signals an admin needs before remoting in: hardware specs, compliance state, last sync, pending updates, and Defender alerts. Combine these with the local diagnostics in the PowerShell section.

1. Get the managed device record

GET https://graph.microsoft.com/v1.0/deviceManagement/managedDevices?$filter=deviceName eq '{deviceName}'

Response includes: osVersion, totalStorageSpaceInBytes, freeStorageSpaceInBytes, physicalMemoryInBytes, complianceState, lastSyncDateTime, id.

2. Get the device's Windows protection state

GET https://graph.microsoft.com/beta/deviceManagement/managedDevices/{id}/windowsProtectionState

Returns real-time Defender state: signature version, last scan time, real-time protection enabled, and tamper protection status.

3. Get Defender for Endpoint alerts (if licensed)

GET https://graph.microsoft.com/v1.0/security/alerts_v2?$filter=contains(evidence/any(e: e/deviceName), '{deviceName}')&$top=25

4. Trigger a remote Defender quick scan

POST https://graph.microsoft.com/v1.0/deviceManagement/managedDevices/{id}/windowsDefenderScan
Content-Type: application/json

{
  "quickScan": true
}

5. Sync the device to pull latest policy / updates

POST https://graph.microsoft.com/v1.0/deviceManagement/managedDevices/{id}/syncDevice

Auth: Use an app registration with DeviceManagementManagedDevices.Read.All, DeviceManagementManagedDevices.PrivilegedOperations.All, and SecurityAlert.Read.All. Acquire a token via client-credentials flow and pass it as Authorization: Bearer {token}.

PowerShell

Each of the following checks covers one part of the diagnostic.

Top processes by CPU, memory, and disk

Get-Process | Sort-Object CPU -Descending | Select-Object -First 10 Name, Id, CPU, WorkingSet64

Shows the heaviest CPU consumers. Repeat sorting on WorkingSet64 for memory.

Disk health via SMART

Get-PhysicalDisk | Select-Object FriendlyName, MediaType, HealthStatus, OperationalStatus
Get-StorageReliabilityCounter -PhysicalDisk (Get-PhysicalDisk) | Select DeviceId, Temperature, ReadLatencyMax, WriteLatencyMax

Free disk space

Get-Volume | Where-Object DriveLetter | Select DriveLetter, FileSystemLabel,
  @{n='FreeGB';e={[math]::Round($_.SizeRemaining/1GB,1)}},
  @{n='FreePct';e={[math]::Round(($_.SizeRemaining/$_.Size)*100,1)}}

Startup items and their impact

Get-CimInstance Win32_StartupCommand | Select Name, Command, Location, User

Recent reliability events (crashes, app hangs)

Get-WinEvent -LogName Application -MaxEvents 200 |
  Where-Object { $_.LevelDisplayName -in 'Error','Critical' } |
  Select TimeCreated, ProviderName, Id, Message -First 20

Pending reboots and updates

Test-Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired'

Defender status

Get-MpComputerStatus | Select AMServiceEnabled, RealTimeProtectionEnabled,
  AntivirusSignatureLastUpdated, QuickScanEndTime, FullScanEndTime

Run Start-MpScan -ScanType QuickScan if the last scan is stale.

Running the checks remotely

Run the checks elevated, locally or against a remote machine with Invoke-Command and a script file that contains them:

Invoke-Command -ComputerName PC-0123 -FilePath .\Invoke-WorkstationDiagnostics.ps1 -Credential (Get-Credential)