Domino on Linux/Unix, Troubleshooting, Best Practices, Tips and more ...

Windows 10 is not going to sleep after latest updates

Daniel Nashed  15 April 2020 21:57:15

Not that my notebook gets much rest those days..  But there is a current issue with the sleep mode. If you put it to sleep it might happen that it wakes up after a while and keeps running during the the night.

I found out that I am not the only one with this issue after recent updates. And there is an easy fix for that.  

It turned out that PowerdownAfterShutdown was set to "
0" and needs to be set to "1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]

After that change my notebook didn't wake up at night any more.

Update: 18.04.2020:

The change didn't help completely. My notebook is still waking up.
I also looked into the power management of mouse and keyboard and turned out wake-up by  external keyboard and mouse.

Still testing what else could cause it. Looks like it didn't happen outside the docking station. So I will try to disable network-card wakeup ..

Update 21.04.2020:
After those changes didn't help I did some additional research.
First of all I went thru all the different hardware devices in the device manager, which could wake-up my notebook.

Not all devices have the option to allow to wake up a machine.

Than I found some other settings which affects it.

It turns out that some of the scheduled tasks -- even I turned off nightly automatic update and I didn't schedule my backup this way, are scheduled to run at night and by default will wake-up the machine.

The first important commands are to figure out what woke up your machine the last time:

powercfg -lastwake

Wake History Count - 1
Wake History [0]
  Wake Source Count - 1
  Wake Source [0]
    Type: Wake Timer
    Owner: [SERVICE] \Device\HarddiskVolume3\Windows\System32\svchost.exe (SystemEventsBroker)
    Owner Supplied Reason: Windows will execute 'NT TASK\Microsoft\Windows\UpdateOrchestrator\Universal Orchestrator Start' scheduled task that requested waking the computer.

powercfg -devicequery wake_armed


powercfg /waketimers

Timer set by [SERVICE] \Device\HarddiskVolume3\Windows\System32\svchost.exe (SystemEventsBroker) expires at 07:04:24 on 02.05.2020.
  Reason: Windows will execute 'NT TASK\Microsoft\Windows\UpdateOrchestrator\Backup Scan' scheduled task that requested waking the computer.

Next I disabled "UsoSvc" (Update Orchestrator Service)

sc stop UsoSvc
sc config UsoSvc start= disabled

But to make sure I opened the task scheduler and went thru all services to disable that they can wake-up my machine.

I went thru the update and backup tasks under \Microsoft\Windows and checked the settings.
The important setting is under "Conditions" tab and is called "Wake the computer to run this task"

In my case my admin user wasn't able to change the settings. The only work-around was to use the psexec.exe toll from Sysinternals to run the task scheduler.
This might not affect you. But in my case this was the only solution.

You just need to download it from the Microsoft site and start it like this:

psexec.exe -i -s %windir%\system32\mmc.exe /s taskschd.msc

There are quite some steps that can be performed when you run into wake-up at night issues.
I never looked into this before and I never had to. But maybe this helps some of you to safe some time ...

Last night my notebook was sleeping longer than me ..

This morning it reported the following:

powercfg /waketimers
There are no active wake timers in the system.

powercfg -lastwake
Wake History Count - 1
Wake History [0]
  Wake Source Count - 1
  Wake Source [0]
    Type: Fixed Feature
    Power Button

-- Daniel


1Robert McKinney  15.09.2020 10:04:36  Windows 10 is not going to sleep after latest updates

I've had the same issue for months now and have just discovered that it is caused by Microsoft Outlook.

I use IMAP and I assume that it is holding the network connection and the computer cannot sleep for that reason.



    • [IBM Lotus Domino]
    • [Domino on Linux]
    • [Nash!Com]
    • [Daniel Nashed]