none
Creating scheduled task without 'Stop if the computer switches to battery power' with schtasks.exe RRS feed

  • Question

  • Hey,

    I am setting up a scheduled task via commandline  (schtasks.exe /create).
    Problem with this: everytime I set up a task it automatically selects the 'stop if the computer switches to battery power' checkbox in Conditions.

    This causes my task no to run but I cannot find a commandline switch to disable this selection.

    Does anyone know how to do this?

    Thank you for help :)

    Monday, June 2, 2014 3:19 PM

Answers