Task Scheduler to wake from sleep

Page 1 of 7 123 ... LastLast

  1. Posts : 1,448
    Windows 10
       #1

    Task Scheduler to wake from sleep


    19045.3930

    I set up a Task Scheduler to wake up the computer in my work shop every morning at 8:45, and lo and behold it didn't work. So I ran Task Scheduler as Administrator, set it up exactly like the original and got this error message:
    Task Scheduler to wake from sleep-unnamed.png

    Anyone know what it means?
      My Computer


  2. Posts : 4,187
    Windows 11 Pro, 22H2
       #2

    Without knowing your configuration of the task, it's impossible to say for certain, but most likely it's an item on the "Actions" tab in task scheduler. Try setting the task to be allowed to run manually, at least for testing, then manually trigger the task until you know that it is working. Then you can worry about whether it wakes the system correctly or not.

    If you have further difficulties, report back here again. I have some suggestions on this matter I could provide to you.
      My Computers


  3. Posts : 669
    WIN 10 19045.4291
       #3

    Depending on your BIOS possibilities I would try that.
    In my office from Mo-Fr. all PCs start at 7:50
    configured in BIOS
      My Computer


  4. Posts : 43,010
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #4

    Although the task scheduler offers the option to wake from sleep, it doesn't seem to actually succeed, as you've noticed. Other threads exist on this topic.
      My Computers


  5. Posts : 4,187
    Windows 11 Pro, 22H2
       #5

    dalchina said:
    Although the task scheduler offers the option to wake from sleep, it doesn't seem to actually succeed, as you've noticed. Other threads exist on this topic.
    For me, it wakes fine from sleep. In order to make sure that it works I need to enable wake timers in advanced power settings:

    Task Scheduler to wake from sleep-image1.jpg

    Edit: I should add that while this works for me, I still prefer the method noted by @Pentagon. As an example, I set my primary desktop to wake at 7:55 AM via the BIOS setting, then at 8:00 AM Macrium Reflect performs the daily image backup. I like this because it works reliably even after a complete shutdown.
      My Computers


  6. Posts : 1,448
    Windows 10
    Thread Starter
       #6

    This is what I have just to test Task Scheduler:

    Task Scheduler to wake from sleep-actions.pngTask Scheduler to wake from sleep-conditions.pngTask Scheduler to wake from sleep-general.pngTask Scheduler to wake from sleep-settings.pngTask Scheduler to wake from sleep-triggers.png

    and
    Task Scheduler to wake from sleep-task-sched.png

    Looked at the BIOS could not find a wake/time command, computer is 10 years old.
      My Computer


  7. Posts : 43,010
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #7

    Test the task by launching it manually from the task scheduler.
      My Computers


  8. Posts : 1,448
    Windows 10
    Thread Starter
       #8

    dalchina said:
    Test the task by launching it manually from the task scheduler.
    Can't run it because of the error I'm guessing.
      My Computer


  9. Posts : 43,010
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #9

    Have you tried rt click the task, click Run?

    %windir%\system32\notepad.exe
    works for me- manually. (But the task doesn't wake my PC).

    Check you have nothing in the optional arguments.

    You might like to try the last option here:
    How to Schedule Your Windows 10 PC to Automatically Wake Each Day.

    (I've not tried it myself)
      My Computers


  10. Posts : 4,187
    Windows 11 Pro, 22H2
       #10

    I'm still unclear on why you are getting the error that you are seeing, but I want to note this:

    You have the option set to run whether the user is logged on or not. This will result in notepad never being visible or accessible to you. It will not allow GUI access when run in that manner. If you disable that option, then notepad will be allowed to interact with the desktop.

    Second, could you please open the Event Viewer > Windows Logs > Application? Check for errors there.

    Also, as dalchina noted, please manually trigger the job. Again, check the Event Viewer after doing so.

    Finally, I tested this myself, using the settings that you are using, making just the change that I noted above and NOT selecting to run whether the user is logged on or not, and it runs fine for me. I am seeing that the computer actually wakes from sleep about 30 seconds before the time that I set. I don't know if this is maybe to give the system time to wake from sleep, but that is how my system behaves. My test is being done on a desktop computer running an 11th gen i7 and it is important that I note that I am on Windows 11, but the behavior should be the same as 10.
      My Computers


 

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




Windows 10 Forums