This project has moved and is read-only. For the latest updates, please go here.

Is that permission issue, then how do I fix this?

Topics: Errors
Aug 19, 2015 at 2:11 PM
Edited Aug 19, 2015 at 3:05 PM
  1. Created a task (Let's say this is TaskA)
    When running the task..user account : SYSTEM
    Set Run with highest privileges.
    Set Action to run a console exe application (Let's say this is ConsoleApp) at the specific time.
In that ConsoleApp, what it does is to add one more trigger based on some business logic..and call RegisterChanges to update...

Here are what I noticed..
  1. When running the ConsoleApp with admin right in command window, it works file.
  2. When running the ConsoleApp without admin right, it didn't work. (GetTask method returns null, so no update happened)
I think this is a security related issue... I CANNOT change the SYSTEM account to some other account for the TaskA. Is there any way that ConsoleApp should be run under the context of Windows Task Scheduler to make update happen?