I recently upgraded my home desktop computer to Windows 10. Ever since I've done this, my computer has been waking itself up from sleep at seemingly random times during the night. This is incredibly annoying since I sleep in the same room as my computer and it wakes me up at 3:00AM.

After some research, it appears as though it is waking itself up to automatically install updates.

I've tried several things to disable this.

  • Go to "Power Options" in the control panel. Change plan settings. Change advanced power settings. "Sleep"/"Allow Wake Timers" is "Disabled".

  • I've used powercfg -devicedisablewake to disable all devices so that powercfg -devicequery wake_armed returns NONE.

  • Wake on LAN is disabled on my motherboard.

  • In "Windows Update Settings", under advanced options, I've switched from "Automatic" to "Notify to schedule restart".

  • Finally, based on this Reddit thread, I've opened "Task Scheduler", gone to Microsoft/Windows/UpdateOrchestrator/Reboot, opened Properties and then the Conditions tab, and unchecked "Wake computer to run this task".

I thought the problem was finally solved after I turned off "Wake computer to run this task" in the reboot task for UpdateOrchestrator (the last bullet above). That seemed to solve the problem for several days. But then it happened again last night. When I looked today, the "Wake computer to run this task" option was checked again in Task Scheduler. I think the setting might have changed itself when I manually ran Windows updates a day or two ago.

This is driving me mad. How do I prevent my computer from waking itself up from sleep?

  • 2
    I got so tired of this issue I actually moved to Linux. – Pedro Rodrigues Oct 27 '19 at 16:37

I had this issue too, even after disabling the wake timers in Power Options, Windows kept waking up to install updates. I solved this by tweaking a Group Policy:

Computer Configuration 
  > Administrative Templates
    > Windows Components 
      > Windows Update
         > Enable Windows Update Power Management: set to Disable

Note: does anyone know how to automate this setting using PowerShell?


Run the Command from an elevated command prompt; see what it tells you.

C:\>powercfg -lastwake

Example from my laptop:

 powercfg -lastwake
   Wake History Count - 1
   Wake History [0]
     Wake Source Count - 1
     Wake Source [0]
     Type: Device
     Instance Path: PCI\VEN_8086&DEV_8C31&SUBSYS_201F1043&REV_05\3&11583659&0&A0
     Friendly Name: Intel(R) USB 3.0 eXtensible Host Controller - 1.0 (Microsoft)
     Description: USB xHCI Compliant Host Controller
     Manufacturer: Generic USB xHCI Host Controller

After thinking about it it occured to me that my Logitech universal dongle was the culprit as it was a HID complaint mouse... Simply disable that in Power management and you should be golden.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.