Log inRegister
You are here: Boossy » Software » SwMicrosoft » MsWindows10 » Win10SleepIssues

Windows 10 sleep issues

Laptop too often awake

Windows 10 v1709

Every morning, my laptop is "on" when I get up.

I now tried the following:

Task Scheduler accept

  • Task Scheduler (Local) > Task Scheduler Library > Microsoft > Windows > Media Center
  • mcupdate_scheduled: Conditions: disable "Wake the computer to run this task"

Task Scheduler cross

  • Control Panel > Security & Maintenance > Automatic Maintenance: vink "Allow scheduled maintenance to wake up my computer at the scheduled time" af, want volgens mij blijft de "MsOneDrive" vanaf 2u 's nachts (onterecht…) updaten dat het een lieve lust is en gaat de pc niet opnieuw in slaapstand

Windows 10 v1903

Check what causes the wake up

When you're pc has woken up and you didn't start it, don't restart it, but issue the following command:

powercfg -lastwake > lastwake.log

You will get something like:

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

So, here again, it's a scheduled task.

Two options:

Option 1: specific cross

In the scheduled task, disable the possibility to wake the computer.

In this case, this wasn't possible, because this task is owned by the SYSTEM service account.

Maybe I could change it to my own account, but since I no longer record TV programs through WMC, I no longer need wake timers (especially, since I found out my Surface 3 doesn't have any wake timers at all), so I decided to go for option 2:

Option 2: global accept

You can set your computer to never wake up:
  • Settings > System > Power & sleep
  • Additional power settings link
  • Change plan settings
  • Change advanced power settings
  • Sleep > Allow wake timers
    • On battery: Disable / Enable / Important Wake Timers Only
    • Plugged in: Disable / Enable / Important Wake Timers Only
source: https://superuser.com/questions/958109/how-to-prevent-windows-10-waking-from-sleep-when-traveling-in-bag

The same article mentions how to check if there are still other wake timers:

In an elevated command prompt, issue:
powercfg -waketimers

And you get something like:
Timer set by [SERVICE] \Device\HarddiskVolume2\Windows\System32\svchost.exe (SystemEventsBroker) expires at 23:51:30 on 01/06/2019.
 Reason: Windows will execute 'NT TASK\Microsoft\Windows\UpdateOrchestrator\Universal Orchestrator Start' scheduled task that requested waking the computer.
Timer set by [PROCESS] \Device\HarddiskVolume2\Windows\SystemApps\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\StartMenuExperienceHost.exe expires at 23:51:30 on 01/06/2019.

Laptop won't go to sleep anymore

After I thoroughly cleaned my wireless keyboard and number pad, my laptop didn't want to go to sleep anymore.

Again, I issued the following command:
powercfg -lastwake

And the result was something with USB, so I immediately thought of the keyboard and number pad.

I uninstalled mouse and keyboard and booted again, too no avail.

When I took out the batteries and re-inserted them, the problem was solved, and my laptop went inton sleep mode again.
Tags

WMC
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback