Skip to content

Report why the PC didn't go to sleep when you walked away — via Microsoft Learn

Commandlow riskNeeds adminWindows 11Windows 10

This report covers the last three days and shows the periods when you weren't using the PC, and whether it actually slept — plus what blocked it if it didn't. Useful on desktops and older laptops where Sleep Study isn't available.

Takes effect right away

Command

Run in an administrator Command Prompt / Terminal window.

powercfg /systemsleepdiagnostics /output "%USERPROFILE%\Desktop\sleep-diagnostics.html"

Undo

del "%USERPROFILE%\Desktop\sleep-diagnostics.html"
Must be run from an elevated Command Prompt. Pair it with powercfg /requests to catch the blocker live.

Sources

Source reviewed
2026-11-02
Link checked
2026-11-02
Tested hands-on
Not by Oddbyte.Me

Oddbyte.Me hasn't tried this on every Windows build, so keep the undo handy.

sleepdiagnosticspowercfgreportidle

More in Performance & Power

Check memory pressure, not 'free RAM' — via Apple Support

Tricklow risk

A Mac that shows almost no free memory is usually fine: macOS keeps recently used files cached in RAM so apps reopen faster. The number that matters is the Memory Pressure graph in Activity Monitor, which combines free memory, swap and cached files.