Task doesnt get triggered

Sep 1, 2011 at 2:35 PM

I am creating a Task on windows xp, and it works just fine. The problem is that the task doesn't get triggered. 

In order for it to get triggered, I have to manually open the task and "set password" next to the "Run As:" attribute, even that I have already supplied one at the time od creating the task.

This is my code to create the Task:

ts.RootFolder.RegisterTaskDefinition(name", td, TaskCreation.CreateOrUpdate, "eramos11@xyz.com", "lalala/*", TaskLogonType.Password ); 

Any ideas and help will be greatly appreciated.

Thanks

Ed

Coordinator
Sep 8, 2011 at 11:08 PM

Try setting the TaskLogonType to InteractiveTokenOrPassword instead of Password.