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

New Post: Need to run schedule task as "not logged in"

$
0
0
You must add the username, password and special TaskLogonType. Like this example:
RegisterTaskDefinition(TaskName.Text, td, TaskCreation.CreateOrUpdate,
                                                     usercred.username, TDES.decryptString(usercred.password),
                                                     TaskLogonType.Password);
Bill

Viewing all articles
Browse latest Browse all 2206

Trending Articles