Sleep Return Timeout for Unattended Wake Up

Page 4 of 6 FirstFirst ... 23456 LastLast

  1. Posts : 72,058
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #30

    Hello kanungos, and welcome to Seven Forums.

    Double check your task to make sure it is set to not repeat if failed. If it repeats, it could cause the computer not to return to sleep.
      My Computer


  2. Posts : 22
    Windows 7
       #31

    Thanks for the info.

    I checked and the task was not set to "repeat if failed"

    For the most part, the task runs without an issues most of the time but every once in a while, my computer will not go back to sleep at the conclusion of the elapse time set in the task scheduler (it will still be awake)

    Is there any way to tell if something else "occurred" that made the task scheduler fail to put the computer back to sleep (i.e. a windows update, a required restart...etc.) Even if something else did occur, my understanding is that the computer "switches back" to the the default power settings (in my case, it is the balanced power option which is suppose to put the computer back to sleep in 30 minutes)

    The only think different in my computer that I have noted is the Windows 10 app in the lower right hand corner in the task so not sure if that would have anything to do with it or not.

    Let me know your thoughts and I appreciate your assistance.
      My Computer


  3. Posts : 72,058
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #32

    Yeah, it sounds like there was something else running that prevented the return to sleep. However, it could be anything though. When this happens check in Task Manager to see what's running to see if anything stands out each time it happens.
      My Computer


  4. Posts : 22
    Windows 7
       #33

    Thanks for your help.
      My Computer


  5. Posts : 22
    Windows 7
       #34

    I tried what you said -- Task manager has so many things listed it is difficult to know what caused the return to sleep feature to activated. Strange enough, after I do something (mouse click, push keyboard button...etc), the default sleep timer kicks in and it goes back to sleep after 2 minutes. Any other ideas on how to figure what is preventing the sleep timer from kicking back on after the elapsed time I set by your method??

    Thanks.
      My Computer


  6. Posts : 72,058
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #35

    Usually when this happens, it's something still running and performing some action that is preventing the return to sleep from unattended wakeup.

    A workaround would be to include a sleep command for your task so that it will put the computer back to sleep afterwards.

    rundll32.exe powrprof.dll,SetSuspendState

    Sleep Shortcut - Create
      My Computer


  7. Posts : 22
    Windows 7
       #36

    Hi Brink,

    Thanks for the suggestion. I am still somewhat new to Seven Forums so bear with me when it comes to some of the questions I ask.

    Once I have created the sleep command shortcut, where exactly would I put the sleep shortcut command in the task scheduler "task" that I originally created (in actions tab, triggers tab...etc)??

    Or would I just create a new "task" in the scheduler to run this sleep command shortcut at a designated time once the original "task" is completed (i.e. after 2 hour time I set for the original task)???

    Does what I am asking making sense?? Thanks for your patience.
      My Computer


  8. Posts : 72,058
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #37

    You could use the command in your current task instead, or create a new one.
      My Computer


  9. Posts : 22
    Windows 7
       #38

    How do you do that?

    If you have a tutorial in the forum, please let me know.

    Thanks.
      My Computer


  10. Posts : 72,058
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #39

    You could just add a new action in the task that you already created.
      My Computer


 
Page 4 of 6 FirstFirst ... 23456 LastLast

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

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