Windows 8 and 8.1 Forums


Task scheduler - on idle problems

  1. #1


    Posts : 3
    Windows 8.1

    Task scheduler - on idle problems


    Hi all,

    I am trying to set up a (theoretically) easy task in Windows 8.1 using Task Scheduler. The goal is to shut down (full shut down, not sleep, etc..) the computer after 3 hours of being in idle mode. I created a new task as follows:

    - Trigger: 'on idle' (I make sure that in advance settings 'Enable' is marked).
    - Action: 'shutdown.exe' (with /s /f /t 0 to shut it down no matter what and without waiting)
    - Condition: 'Start the task only if the computer is idle for: 3 hours' and 'Wait for idle for: Do not wait'

    I hoped that this would shut down my computer after 3 hours but it is shutting it down after 5 minutes!!! Why?

    Thanks!

      My System SpecsSystem Spec

  2. #2


    Central IL
    Posts : 3,468
    Linux Mint 17.2


    Did you make sure to tell the task to ignore any requests from network adapters, display, etc.?
      My System SpecsSystem Spec

  3. #3


    Posts : 3
    Windows 8.1


    Thank you for replying. Regarding your question: Yes! I checked that and I actually assigned the highest priority to the task.

    As I mentioned, the problem is that the task shuts down the computer too early, it does not wait 3 hours.

    I also checked the history of the task and the computer is being shut down by the task!
      My System SpecsSystem Spec

  4. #4


    Posts : 3
    Windows 8.1


    The user hydranix has provided the solution although I cannot see in the forum so… I leave here the explanation that I received in my e-mail just in case another user is interested:

    "If a task is triggered by an idle trigger, then the *WaitTimeout* property of the *IIdleSettings* interface (*IdleSettings* for scripting) is ignored.

    I fixed the problem of my task by triggering it on log on.

    Thanks!
    R.
      My System SpecsSystem Spec

  5. #5


    Yes, I looked into your problem a bit. When I tested the theory on my machine it seemed to solve the problem.

    I posted the reply, then read a bit more about the Scheduled Tasks and the IdleTimeout.

    When I looked into the exact meaning of the different keywords, (found here MSDN: Task Idle Conditions), I was worried I may have been mistaken and that my solution was found in error, so I deleted the post.

    I'm glad to see that everything worked out though.
      My System SpecsSystem Spec

Task scheduler - on idle problems
Related Threads
Task scheduler in Performance & Maintenance
Hi all; I am new to the forum and I appreciate any help thanking you in advance. I want to schedule a task that can copy files from a folder on my PC to an external hard network drive, I have a windows 8.1 , the folder is on my : This PC\documents\folder and the external drive is on network\WD ...
Does anyone know what the task "CreateObjectTask" is coming from? I can't find it anywhere. https://www.dropbox.com/sc/cull9jreyk7s5gr/AADtnA2TRmshbLHDDi_4wPLQa
Task Scheduler in Tutorials
This Tutorial will show you how to create a Scheduled Logon Task. You should, ideally, perform this Tutorial from within an account with administrative privileges. Section ONE Open Task Scheduler. Click Create Task...
I've added task manager to my scheduled tasks at logon. Everywhere I google, they say to put the /min or -minimized arguments in it to launch it minimized, except neither option works for me. Task Manager launches, but just sits there on my desktop. Is there a new argument for minimized in...
Upgraded to 8.1 on the 17th of this month. Went from a local account in 8.0 to a MS account in 8.1. Until today, Task Scheduler showed NO info on "Task Status", regardless of time frame. Today, it has started showing tasks run today under System, but no status on those tasks created by me back...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook