task supposed to wake up the computer isn't recognised by powercfg


  1. Posts : 61
    windows 10
       #1

    task supposed to wake up the computer isn't recognised by powercfg


    Since the task doesn't wake up the computer, I ran:
    Code:
     powercfg -devicequery wake_armed
    which doesn't find the task. Any idea why?

    This print screen summarized it:


    task supposed to wake up the computer isn't recognised by powercfg-cmd_2017-10-15_20-51-53.png
      My Computer


  2. Posts : 42,948
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    That indicates no hardware is presently configured to wake your system from sleep.

    It doesn't list tasks. What were you expecting?

    In your task schedule, what is the action you are interested in?

    task supposed to wake up the computer isn't recognised by powercfg-1.jpg

    The second command will tell you which devices can be configured to wake your system.

    I get the impression you are perhaps confusing two concepts...
      My Computers


  3. Posts : 61
    windows 10
    Thread Starter
       #3

    Thank you very much for your clarification dalchina! You are right I'm confused (I thought it would also list the task allowed to wake up the computer!)

    EDIT: I confuse 2 commands, here is the one I should have use
    in powershell:
    Code:
    Get-ScheduledTask | where {$_.settings.waketorun}
    The task (X morning_noise) should wake the computer up, but it doesn't. Any idea why?
    (I checked all settings in advance power, allow wake time is enabled.)
    task supposed to wake up the computer isn't recognised by powercfg-mmc_2017-10-15_22-29-04.png

    task supposed to wake up the computer isn't recognised by powercfg-image.png


    I ran a command few weeks ago which did show the task supposed to wake up the computer, I don't remember what it was. Any idea how to check if a task has been set to wake up the computer? (or why my task doesn't wake it up)


      My Computer


  4. Posts : 61
    windows 10
    Thread Starter
       #4

    Actually, the task does wake up the computer but doesn't manage to pass the login screen. (The computer wake up, the fan get excited for few second at the login screen, but that's all. As if it could not manage to enter the password)
      My Computer


  5. Posts : 61
    windows 10
    Thread Starter
       #5

    I solved it (by chance) : I just needed to add my user in the group policy:
    Code:
    “Computer Configuration-->Policies-->Windows Settings-->Security Settings-->Local Policies-->User Rights Assignment--> allow logon locally
      My Computer


  6. Posts : 42,948
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #6

    Sounds good.. but could be an expensive alarm clock...
      My Computers


  7. Posts : 61
    windows 10
    Thread Starter
       #7

    I'm actually open to any other solution if this one is too risky
      My Computer


  8. Posts : 61
    windows 10
    Thread Starter
       #8

    I finally found a better trick: the task does need to log on to work. So I undo the policy editor edit, and I uncheck in the task the option "run whether the user is logged or not"
      My Computer


 

  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:00.
Find Us




Windows 10 Forums