guide · static export
PC

Find Out What Wakes Your Windows PC at Night

Sleeping PCs wake for network cards, update timers and stray devices. Three powercfg commands name the culprit, and the device tree lets you disarm it.

by@guidox updated:10/30/26 time:10 min level:Intermediate tested on:Windows 11 24H2 works on:Windows 10, Windows 11
TL;DR

**powercfg /lastwake** names whatever woke the machine last, **/waketimers** lists armed timers and **/devicequery wake_armed** shows which hardware may wake it. Disarm what you do not need.

Before you start

Requirements

  • Windows 10 or Windows 11
  • An admin command prompt
  • The PC has to have slept at least once since the wake-up
Step by step

Instructions

01

Ask what woke it last

Run the command right after the machine has woken up on its own. It reports a device or a timer, and the reason string usually names the owner.

powercfg /lastwake
02

List the armed timers

Timers are the usual suspect for a 3 a.m. wake-up - Windows Update, a backup tool or a cloud client.

powercfg /waketimers
03

List every wake-capable device

The list contains network adapters, mice, keyboards and sometimes a USB hub. Everything that can wake the PC is a candidate.

powercfg /devicequery wake_armed
04

Disarm the device you do not need

Open Device Manager, find the device, open **Properties > Power Management** and untick **Allow this device to wake the computer**. The powercfg command does the same from the shell.

powercfg /devicedisablewake "Intel(R) Ethernet Connection I219-V"
⚠ warningKeep keyboard and mouse wake enabled unless the cat is walking over the desk at night.
05

Tame the update timers

Set **Active hours** in Windows Update so maintenance does not run while you sleep, and check the update orchestrator tasks if the wake-up is exactly on the hour.

Settings > Windows Update > Advanced options > Active hours
⚠ warningDo not disable Windows Update itself. Rescheduling the maintenance window is enough.
06

Confirm with the sleep study

The sleep study writes an HTML report with wake sources, durations and the battery drain per session. Use it when the quick commands keep pointing at 'unknown'.

powercfg /sleepstudy
powercfg /energy
Troubleshooting

Common issues

It wakes seconds after going to sleep

A network adapter with Wake-on-LAN or a USB device is the cause. Disarm both and test again the same night.

lastwake reports nothing

The wake was a power event or came from shutdown with fast startup. Check the Event Viewer under System for Kernel-Power entries.

It wakes every night at the same time

A scheduled task, usually maintenance or a backup. Check Task Scheduler for tasks with 'Wake the computer to run this task'.

The PC turns on by itself from off

That is a firmware setting - Wake on LAN, USB wake or an RTC alarm in the BIOS. The Windows commands cannot see it.

FAQ

Frequently asked

Is disabling Wake-on-LAN risky?

Only if you rely on remote wake. Everything else keeps working.

Does hibernate prevent this?

Mostly. Hibernate does not run maintenance timers, but a device wake can still bring the machine back.

How to undo this

Re-enable the wake sources you disabled with **powercfg /deviceenablewake "<device>"** or the same checkbox in Device Manager, and restore the previous Active hours.

Changelog · 1 entry
  1. 2026-10-30
    First version
Interactive version: checklist, feedback, related guides →

Free · no account needed · tracks your progress