PC wakes from sleep on its own

If you have the “Computer turns on alone” symptom, scheduled tasks, wake timer, network, or waking up USB devices can be considered as possible causes. Check in order, starting from step 1, ‘Checking the last wake-up cause using powercfg’.

First, check that this guide matches your problem

Do you have these symptoms?

  • Computer turns on by itself
  • Wakes from sleep automatically
  • PC waking up at night

Common causes

  • Scheduled tasks/wake timers
  • Wake by network or USB devices

How to fix

6 steps, 45 min–1 hr 20 min in total. The easiest checks come first, so stop as soon as the problem is fixed.

If you know what woke up your PC first, you can decide whether to block it: devices, scheduled tasks, or wake timers.

  1. Immediately after your PC wakes up on its own, open a terminal with administrator privileges.
  2. Run powercfg /lastwake to determine which device last woke up or what caused it.
  3. Run powercfg /waketimers to check if there are scheduled wake timers.
  4. Run powercfg /devicequery wake_armed to see a list of devices configured to wake your PC.
powercfg /lastwake
powercfg /waketimers
powercfg /devicequery wake_armed

What to check

When the device name appears, check the device wake-up settings, and when a timer or task name appears, check the wake-up timer and task scheduler. If the results are empty, view the Event Viewer history.

Did this step fix it?

Advanced steps from here

These steps are hard to undo or involve working with hardware or system settings directly. If you are not confident, you can take your results so far to a repair service instead.

Frequently asked questions

Related problems

If the symptoms do not match exactly, please check the issue below.