Enable or Disable Wake Timers in Windows 10  

Page 3 of 3 FirstFirst 123

  1. Posts : 68,952
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #20

    Matthew Wai said:
    This tutorial deals with "On battery" and "Plugged in", neither of which exists at my end.
    I confirm that the "Plugged in" commands also work in my case below:
    Hello Matthew,

    Correct, if you do not have the "On battery" (DC) setting, then everything is considered "Plugged in" (AC) by default.

    You'll only see both "On battery" and "Plugged in" for devices that have a battery or UPS.
      My Computers


  2. Posts : 841
    Windows 10 Pro 21H2
       #21

    "Allow wake timers" seems to be the answer to activating hibernate when computer is awakened from sleep, is there any other reason for hibernate being activated automatically after being turned off?
      My Computer


  3. lev
    Posts : 2
    Windows 10
       #22

    As of the 2021-10 Update (KB5006670) the Allow wake timers setting doesn't seem to be applied anymore on my machine (docked Surface Pro 6).

    Previously I used the guide from here [1] to unhide the 'Allow wake timers' setting in Power Options and setting it to 'Disable'. This did fix my problem in the past caused by the `StartMenuExperienceHost.exe` wake timer, but not anymore.

    Currently the Power Options UI shows 'Disable' for both 'On battery' and 'Plugged in' categories.
    But Windows keeps waking up in the last two days.

    Code:
    C:\WINDOWS\system32>powercfg waketimers
    Timer set by [PROCESS] \Device\HarddiskVolume3\Windows\SystemApps\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\StartMenuExperienceHost.exe expires at 00:00:00 on ♥.
    I wonder if anyone else is having this problem.

    1- Add or Remove Allow wake timers to Power Options in Windows 10
      My Computer


  4. Posts : 68,952
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #23

    lev said:
    As of the 2021-10 Update (KB5006670) the Allow wake timers setting doesn't seem to be applied anymore on my machine (docked Surface Pro 6).

    Previously I used the guide from here [1] to unhide the 'Allow wake timers' setting in Power Options and setting it to 'Disable'. This did fix my problem in the past caused by the `StartMenuExperienceHost.exe` wake timer, but not anymore.

    Currently the Power Options UI shows 'Disable' for both 'On battery' and 'Plugged in' categories.
    But Windows keeps waking up in the last two days.

    Code:
    C:\WINDOWS\system32>powercfg waketimers
    Timer set by [PROCESS] \Device\HarddiskVolume3\Windows\SystemApps\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\StartMenuExperienceHost.exe expires at 00:00:00 on ♥.
    I wonder if anyone else is having this problem.

    1- Add or Remove Allow wake timers to Power Options in Windows 10
    Hello lev, and welcome to Ten Forums.

    If you haven't already, check below to see if there may be any other wake sources listed when this happens.

    See Wake Source in Windows 10
      My Computers


  5. lev
    Posts : 2
    Windows 10
       #24

    Hi, thanks for the response.

    Powercfg lastwake is empty. There are no recent "Power-troubleshooter" events in the System log.
    Still, if I put my computer to sleep it wakes up one minute later. Happened just now, very irritating.

    Microsoft Windows [Version 10.0.19042.1288]
    Version 20H2 OS Build 19042.1288

    Is anyone else on this patch level and can confirm that the "Disable wake timers" setting is still working?
      My Computer


  6. apb
    Posts : 94
    win 7 64bit
       #25

    The most common reason this happens to me currently -- after I've disabled every possible wake thing I can find -- is that a usb device, namely my printer -- manages to wake the computer if it is not off within a few minutes. So, check if some usb device might still be on, especially if it has an independent power source. I think this happens to me even if I have not allowed usb devices to wake the computer.

    Also, I am too lazy to check the patch level of my win 10 machine right now, but it updated just a few days ago, and at that time the enable wake timers setting was still available (saw it because I had some other problem). But, that is a laptop, and ms allows different things when there are batteries.
      My Computers


  7. Posts : 34
    Windows 10
       #26

    lev said:
    As of the 2021-10 Update (KB5006670) the Allow wake timers setting doesn't seem to be applied anymore on my machine (docked Surface Pro 6).
    Here's a batch program "Lastwake.bat" you can run from Windows to tell you all the things that wake the computer:
    -------------------
    Code:
    @echo off
    Echo LastWake.bat 
    SETLOCAL
    set Date=%DATE:~0,2%%DATE:~3,2%%DATE:~6,4%
    set LOGDIR=D:\Temp
    set LOG=%LOGDIR%\LASTWAKE.LOG
    REM    If LASTWAKE.LOG A-bit was cleared, delete it
    dir /aa /b %LOG%
    IF %ERRORLEVEL% EQU 0 del %LOG%
    Echo ========= LASTWAKE.BAT    %Date% ========================= >> %LOG%
    Echo. >> %LOG%
    
    Echo 1. lastwake
    Echo 1. lastwake _______________________ >> %LOG%
    powercfg/lastwake            >> %LOG%
    Echo. >> %LOG%
    
    Echo 2. waketimers
    Echo 2. -waketimers _____________________ >> %LOG%
    powercfg -waketimers            >> %LOG%
    Echo. >> %LOG%
    
    Echo 3. devicequery wake_armed
    Echo 3. devicequery wake_armed _________ >> %LOG%
    powercfg/devicequery wake_armed        >> %LOG%
    Echo. >> %LOG%
    
    Echo 4. requests
    Echo 4. requests _______________________ >> %LOG%
    powercfg/requests            >> %LOG%
    Echo. >> %LOG%
    
    Echo 5. systemsleepdiagnostics
    Echo 5. systemsleepdiagnostics _________ >> %LOG%
    powercfg/systemsleepdiagnostics        >> %LOG%
    Echo. >> %LOG%
    
    Echo. >> %LOG%
    Echo.
    COPY %LOG% %LOGDIR%\%Date%.log /Y    >NUL
    IF EXIST %LOGDIR%\%Date%.log DEL %LOGDIR%\%Date%.log >NUL
    REM    CLEAR LOG A-bit
    attrib -a +i %LOG%
    Echo To view results...
    PAUSE
    
    START /d %LOG%
    Echo To view system-sleep-diagnostics.html...
    ENDLOCAL
    PAUSE
    
    C:\WINDOWS\system32\system-sleep-diagnostics.html
    EXIT /b
      My Computer


 

Tutorial Categories

Enable or Disable Wake Timers in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 13:58.
Find Us




Windows 10 Forums