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

New Post: Server 2008 "Do not store password" being reset

$
0
0
When I change the password (or do any kind of update) to an existing task on Server 2008, the "Do not store password" checkbox is always reset to Checked.

Possibly related, in the debugger I always see td.Settings.RunOnlyIfLoggedOn = true.

I am doing the update with:
TaskDefinition td = task.Definition;
taskservice.RootFolder.RegisterTaskDefinition(.taskname, td, TaskCreation.CreateOrUpdate,
                                                             username,password);
task was retrieved with:
taskservice.RootFolder.Tasks[i];

Is there some way to make it leave the "Do not store password" setting alone?

Bill

Viewing all articles
Browse latest Browse all 2206

Trending Articles



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