Replies: 1 comment
-
I am using below example to update task scheduler time. Provide valid user credentials having admin rights using (TaskService taskservice = new TaskService("MachineName", "UserName", "DomainName", "Password")) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As part of a desktop application, I created code that creates, modifies, and deletes scheduled tasks, but it only works in the admin instance, not when under a user. I've tried impersonation that did not solve the problem and writing to/from the Tasks subfolder (C:\Windows\Systems32\Tasks) has been buggy at best.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions