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.
- Immediately after your PC wakes up on its own, open a terminal with administrator privileges.
- Run
powercfg /lastwaketo determine which device last woke up or what caused it. - Run
powercfg /waketimersto check if there are scheduled wake timers. - Run
powercfg /devicequery wake_armedto see a list of devices configured to wake your PC.
powercfg /lastwakepowercfg /waketimerspowercfg /devicequery wake_armedWhat 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?
lastwake only shows me the last time, so I check the history to see if it repeats every night and if it causes the same thing every time.
- Run
eventvwr.mscin WinR to open Event Viewer. - Open Event Viewer → Windows Logs → System and select Power-Troubleshooter as the event source in ‘Current Log Filtering’ on the right.
- Compare the 'reason for waking up from sleep mode' and time for each item.
Did this step fix it?
Windows Update·Automatic Maintenance·Some programs can wake your PC at a set time with a wake timer.
- In Control Panel → Power Options, click 'Change settings' for the power plan you are using → 'Change advanced power plan settings'.
- Change Sleep → Allow Wake Up Timer to ‘Disable’. Laptops change both battery usage and power connection.
- In Control Panel → Security and Maintenance → Maintenance → 'Change maintenance settings', uncheck the item to allow the computer to wake up at a scheduled time.
What to check
If you wake up afterward, check the task in the powercfg /waketimers result in the task scheduler.
Did this step fix it?
If the 'wake up sleep mode' condition is turned on in the scheduled task registered by the backup/update program, the PC will wake up at a set time.
- Run
taskschd.mscin WinR to open Task Scheduler. - Select
powercfg /waketimersor the task name as it appears in Event Viewer. - In the Task Properties → Conditions tab, uncheck ‘Wake the computer from sleep mode to run this task’.
- It does not change the Windows system operations in the Microsoft folder; it only adjusts the operations of programs you have installed.
powercfg /waketimersDid this step fix it?
A slight vibration from the mouse or a network packet often wakes the PC.
- In Device Manager, find the device (mouse, network adapter, etc.) listed in step 1: wake_armed.
- In Device → Properties → Power Management tab, uncheck Allow this device to wake the computer.
- For network adapters, turn on 'Allow only on magic packets' if you need remote wake-up, or turn off 'Allow wake-up only' if you don't need it.
- One keyboard must be left Allowed to wake so that the keyboard can wake the PC.
What to check
Put it to sleep again and see if it wakes up. When it wakes up, check again for new causes with powercfg /lastwake.
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.
If Network/USB Wake is turned on in BIOS, your PC may wake up independently of Windows settings.
- Enter BIOS by pressing Del or F2 when turning on your PC (keys vary by manufacturer).
- In the Power Management menu, find items such as Wake on LAN and Wake on USB and turn them off if not needed.
- Save and reboot without changing any other unknown items.
What to check
If it repeats even after checking the BIOS, check the manufacturer's support documentation for known issues related to power saving and Modern Standby along with the PC model name.
Did this step fix it?
Frequently asked questions
Related problems
If the symptoms do not match exactly, please check the issue below.