Power · Windows 11
Fix a PC that will not stay in hibernation and resumes on its own
A PC that hibernates and then wakes itself minutes or hours later is being woken by something specific — a timer, a network adapter, a USB device, or a scheduled task — and Windows records what did it. Ask Windows what woke it, switch that one thing off, and the PC stays hibernated until you press the power button.
What you need
- Administrator access. The wake-history commands and device settings need it.
- One failed hibernation to inspect. The wake evidence is clearest right after the PC has woken itself.
- Ten to fifteen minutes. The diagnosis is quick; the confirmation is the next hibernation.
Read the problem before you touch it
- Understand that something asked it to wake. Hibernation writes memory to disk and powers off completely, as Microsoft sets out in Shut down, sleep, or hibernate your PC — so a PC that comes back on its own was woken by hardware or a wake timer, not by a half-finished shutdown. The usual callers are a network adapter set to wake the PC, a mouse or keyboard nudge, a scheduled maintenance task, or a wake timer in the power plan.
- Ask Windows what woke it last. Open an administrator Command Prompt and run
powercfg /lastwake. If it names a device or timer, that is your culprit. Then runpowercfg /waketimersto list any timers currently allowed to wake the PC. Microsoft documents both switches in powercfg command-line options. Run these before changing settings — guessing here means disabling things one by one for days.
The simple fixes, in order
- Stop the mouse and keyboard waking it by accident. Open Device Manager, open your mouse and keyboard in turn, and on the Power Management tab clear Allow this device to wake the computer. A desk knock or a wireless mouse settling in a bag is the commonest cause of a hibernation that lasts minutes.
- Stop the network adapter waking it. In Device Manager, open your network adapter's Power Management tab and clear Allow this device to wake the computer. If you never use Wake on LAN, nothing is lost, and network traffic stops bringing the PC back.
- Turn off wake timers in the power plan. Open Control Panel > Power Options > Change plan settings > Change advanced power settings, expand Sleep > Allow wake timers, and set it to Disable for both battery and plugged in. The settings on this page are the ones Microsoft describes in Power settings in Windows 11. Hibernate and confirm the PC stays off.
The advanced route
- Hunt the scheduled task that still wakes it. If
powercfg /lastwakepointed at a timer rather than a device, open Task Scheduler and check the tasks that ran at the wake time — maintenance and update tasks are the usual ones. Open the task's Properties > Conditions and clear Wake the computer to run this task. The task still runs at its next normal opportunity; it just stops powering the PC up for itself. - List every device allowed to wake the PC. Run
powercfg /devicequery wake_armedfor the full list of devices currently permitted to wake the machine. Anything on that list you do not recognize as an intentional wake source gets the Allow this device to wake the computer box cleared in Device Manager. The switch is documented in powercfg command-line options. - Check the firmware wake settings last. Restart into the BIOS or UEFI setup and look for wake options — Wake on LAN, wake on a schedule, or power on after power loss. A firmware-level wake ignores every Windows setting, so if the PC wakes at the same clock time daily, this is where that instruction lives. Change one setting, save, and test a full hibernation.
End state
- The PC hibernates and stays off until you wake it deliberately.
powercfg /lastwakeafter a normal wake names your power button or keyboard, not a timer or adapter.- No device you did not choose is left on the wake-armed list.
When it goes wrong
powercfg /lastwakesays the source is unknown. Work the basics in order anyway — adapter, mouse, wake timers — testing a hibernation after each one. The list of possible callers is short.- It wakes the instant it hibernates. That is usually a device sending a signal as power drops — unplug USB hubs and docks for one test hibernation to identify it.
- It is a laptop waking in a bag. Treat that as urgent, not annoying: a running laptop in a closed bag overheats. Disable the wake sources before its next trip, and shut down instead of hibernating for travel until it is fixed.
Related fixes
-
Fix a PC that wakes itself from sleep in the middle of the night
A PC that wakes itself at night is almost always obeying an instruction: a wake timer, a scheduled task, or a device allowed to wake it. Ask Windows what woke it last, then switch off that one permission instead of disabling sleep altogether.
-
Fix a microphone that records the PC's own sounds along with your voice
If your recordings and calls carry game sound, music, and other voices underneath your own, something is mixing the PC's output back into the microphone. Turn off listen and stereo mix routes first, then separate the input device.
-
Fix a monitor settings menu that keeps popping up on its own
A monitor's own settings menu appearing by itself is almost never a Windows problem — the monitor thinks its menu button is being pressed. A stuck or dirty button, a failing touch-sensitive control, or a wobbling stand pressing on the bezel does it. Work the monitor's own controls first; Windows settings cannot open that menu at all.
-
Fix a PC whose fans and lights stay on after shutdown
The screen goes dark and Windows closes, but the fans keep spinning and the case lights stay lit — the PC never finished powering off. Turn off Fast Startup first, check which devices are armed to wake it next, and use a full power drain to prove the hardware can switch off.
Sources
- Microsoft Support, Shut down, sleep, or hibernate your PC — what hibernation does and how it differs from sleep and shutdown.
- Microsoft Learn, powercfg command-line options — the /lastwake, /waketimers, and /devicequery switches used to find the wake source.
- Microsoft Support, Power settings in Windows 11 — the power plan and advanced power settings, including sleep options.