Add or Remove Allow wake timers to Power Options in Windows 10  

    Add or Remove Allow wake timers to Power Options in Windows 10

    Add or Remove Allow wake timers to Power Options in Windows 10

    How to Add or Remove 'Allow wake timers' from Power Options in Windows 10
    Published by Category: Performance & Maintenance
    28 Dec 2021
    Designer Media Ltd

    How to Add or Remove "Allow wake timers" from Power Options in Windows 10


    The Allow wake timers setting in Power Options allows Windows to automatically wake your computer from sleep on a timer for scheduled tasks and other programs. You can set this to be enabled, disabled, or important wake timers only.

    A wake timer is a timed event that wakes the PC from sleep and hibernate states at a specific time. For example, a task in Task Scheduler set with the "Wake the computer to run this task" check box checked.

    Important wake timers are a new class of wake timer in Windows 10 that includes things like reboots after a Windows update that requires one. They supersede all other settings.

    This tutorial will show you how to add or remove the Allow wake timers setting under Sleep in Power Options for all users in Windows 10.

    You must be signed in as an administrator to be able to add or remove this setting in Power Options.




    Contents

    • Option One: Add or Remove "Allow wake timers" in Power Options using Command Prompt
    • Option Two: Add or Remove "Allow wake timers" in Power Options using REG file



    EXAMPLE: "Allow wake timers" in Power Options
    Add or Remove Allow wake timers to Power Options in Windows 10-allow_wake_timers.png






    OPTION ONE

    Add or Remove "Allow wake timers" in Power Options using Command Prompt


    1 Open an elevated command prompt.

    2 Type the command below you want to use into the elevated command prompt, and press Enter.

    (Add - default)
    REG ADD HKLM\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\BD3B718A-0680-4D9D-8AB2-E1D2B4AC806D /v Attributes /t REG_DWORD /d 2 /f

    OR

    (Remove)
    powercfg -attributes SUB_SLEEP BD3B718A-0680-4D9D-8AB2-E1D2B4AC806D +ATTRIB_HIDE

    3 You can now close the elevated command prompt if you like.






    OPTION TWO

    Add or Remove "Allow wake timers" in Power Options using REG file


    The downloaded .reg files below will modify the DWORD value in the registry key below.

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\BD3B718A-0680-4D9D-8AB2-E1D2B4AC806D

    Attributes DWORD

    1 = Remove
    2 = Add


    1 Do step 2 (add) or step 3 (remove) below for what you would like to do.


    2 To Add "Allow wake timers" to Power Options

    This is the default setting.

    A) Click/tap on the Download button below to download the file below, and go to step 4 below.

    Add_Allow_wake_timers_to_Power_Options.reg

    Download


    3 To Remove "Allow wake timers" from Power Options

    A) Click/tap on the Download button below to download the file below, and go to step 4 below.

    Remove_Allow_wake_timers_from_Power_Options.reg

    Download


    4 Save the .reg file to your desktop.

    5 Double click/tap on the downloaded .reg file to merge it.

    6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

    7 You can now delete the downloaded .reg file if you like.


    That's it,
    Shawn Brink






  1. Posts : 34
    Windows 10
       #1

    Just note that you must do this from an Administrator account. If you try to run from an elevated command prompt or .reg file in a standard account, you won't get a password popup, you just get errors.
      My Computer


  2. Posts : 68,974
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #2

    Correct. You must be signed in as an administrator to add or remove this power option, but all users will be able to change the setting for this power option.
      My Computers


  3. Posts : 89
    Windows 10 Home 64bit
       #3

    Is there a way to set a custom wake task (in Task Scheduler) as an "Important Wake Task"? I set up an auto wake timer to wake my PC each morning at 5am so it's ready to go when I get up but I don't want any other task waking the PC, except those designated as "Important" by Windows or by me.
      My Computer


  4. Posts : 7,607
    Windows 10 Home 20H2
       #4

    You may deselect "Wake the computer to run this task" in all tasks and select the item only in your important task. Run the following command via PowerShell and see what tasks will wake your computer.

    Get-ScheduledTask | ? {$_.Settings.WakeToRun -eq $true -and $_.State -ne "Enabled"}
      My Computer


  5. Posts : 89
    Windows 10 Home 64bit
       #5

    Matthew Wai said:
    You may deselect "Wake the computer to run this task" in all tasks and select the item only in your important task. Run the following command via PowerShell and see what tasks will wake your computer.
    Get-ScheduledTask | ? {$_.Settings.WakeToRun -eq $true -and $_.State -ne "Enabled"}
    Great idea, Matthew! Thanks for that. Ran the command and there were only 6 wakeup tasks. All but my custom wakeup task were disabled. I think I'm good 👍
      My Computer


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

    The powercfg command did not work for me:

    (Add - default)
    powercfg -attributes SUB_SLEEP BD3B718A-0680-4D9D-8AB2-E1D2B4AC806D -ATTRIB_HIDE

    Before executing this there was no attributes key.
    After executing it, there was an attributes key with value zero

    Manually changing the value to '2' in the registry did however work.

    --peter
      My Computers


  7. Posts : 68,974
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #7

    apb said:
    The powercfg command did not work for me:

    (Add - default)
    powercfg -attributes SUB_SLEEP BD3B718A-0680-4D9D-8AB2-E1D2B4AC806D -ATTRIB_HIDE

    Before executing this there was no attributes key.
    After executing it, there was an attributes key with value zero

    Manually changing the value to '2' in the registry did however work.

    --peter
    Hello Peter,

    I've noticed the -ATTRIB_HIDE command sets Attributes to 0 and +ATTRIB_HIDE sets Attributes to 1 for some reason now.

    Of course Attributes needs to be set to 2 to enable "Allow wake timers" to show.
      My Computers


  8. apb
    Posts : 94
    win 7 64bit
       #8

    Brink said:
    Hello Peter,

    I've noticed the -ATTRIB_HIDE command sets Attributes to 0 and +ATTRIB_HIDE sets Attributes to 1 for some reason now.

    Of course Attributes needs to be set to 2 to enable "Allow wake timers" to show.
    I'm pretty sure that the reason why can be found in the microsoft document called "404".
      My Computers


 

Tutorial Categories

Add or Remove Allow wake timers to Power Options 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 07:39.
Find Us




Windows 10 Forums