This link might also help start you off
task scheduler commands for Power Conditions
Hi,
I am creating scheduled task using commands on the "OnAfterInstall" event of custom installer class of MSI package.
Every time scheduled task gets created on Win7, by defalt under the "Conditions" tab, the Power section has following options selected -
"Start the task only if the computer is on AC power" and "Stop if computer switches to battery power ".
I don't want this when I create a scheduled task. How do I get rid off it? is there any commands to not select these two options by default?
this is an immediate need, any reply would be highly appreciated.
Windows for home | Previous Windows versions | Windows update
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
-
Anonymous
2012-02-08T11:25:27+00:00
-
Anonymous
2012-02-08T11:18:19+00:00 Hi,
Your Windows 7 question is more complex than what is typically answered in the Microsoft Answers forums. It is better suited for the IT Pro audience on Social TechNet. Please post your question in the Social TechNet Windows 7 IT Pro forums.
http://social.technet.microsoft.com/Forums/en-US/w7itproperf/threads
1 additional answer
Sort by: Most helpful
-
Anonymous
2012-02-08T16:26:40+00:00 Thanks. I have posted my query where you suggested.