Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

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

$
0
0

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 :)


Viewing all articles
Browse latest Browse all 15028

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>