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,
task was retrieved with:
Is there some way to make it leave the "Do not store password" setting alone?