I have a windows service that I use for scheduling tasks with the Task Scheduler Managed Wrapper API and for hosting a web service that should communicate with a monitoring app (desktop application) for showing statuses of the tasks and to send commands to
the web service (run or stop scheduled tasks manually).
The web service uses netNamedPipeBinding with duplex communication, the windows service uses the Local System account and the scheduled tasks are using also the Local System account. The interesting thing is that I can schedule the tasks but I can't run them,
apparently I have some security issues.
and I think that I can't make it work. When I debug the application I don't get any errors but when I check the SecurityDescriptor for the found task (Microsoft.Win32.TaskScheduler.Task) it says that I am missing some privileges.
Could someone tell me if what I try to achieve is possible and, if it is, how? How should I configure it, or what should I use to make it work?