Hello.
How can I set up "Run whether user is logged on or not" and "Do not store password" options for a task programmaticaly?
I know if I don't set TASK_FLAG_RUN_ONLY_IF_LOGGED_ON flag then "Run whether user is logged on or not" option is set.
But it works only for SYSTEM account, for any other account I get this error:
The task has been configured with an unsupported combination of account settings and run time options..
And how can I set "Do not store password option?"