How is it possible to start a scheduled task that is not locally stored but on another computer on your network, using c#?
It seems that i cannot determine the path
Install NuGet package: Task Scheduler Managed Wrapper and then you can use:
using Microsoft.Win32.TaskScheduler; using (TaskService tasksrvc = new TaskService(server.Name, login, domain, password)) { Task task = tasksrvc.FindTask(taskName); task .Run(); }