Quantcast
Channel: Task Scheduler Managed Wrapper
Viewing all articles
Browse latest Browse all 2206

New Post: Do not store password

$
0
0

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?"


Viewing all articles
Browse latest Browse all 2206

Trending Articles



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