In windows I have created task scheduler with trigger "At system startup". Now I\'m trying to update the taskDefinition using
task.RegisterChanges()