I tried with following settings on the task within task-scheduler : Right click on your task > "Properties" > "General "Run with highest privileges" (test both options) "Run wheter user is logged on or not" (test both options) "Configure for" is set to machine's OS version
But that hasnt helped. On Wednesday, 2 January 2019 21:20:37 UTC-8, Pravin Patil wrote: > > Hi, > > I am not able to setup jenkins agent to start on windows reboot. I have > followed the document - > https://wiki.jenkins.io/display/JENKINS/Launch+Java+Web+Start+slave+agent+via+Windows+Scheduler > When I manually run the task from task-scheduler, a command prompt window > flashes and disappears. The task scheduler shows the task as running, but > on jenkins Nodes the agent shows disconnected. Screenshots attached > > If I run the command from command prompt, it works (agent connects > successfully). Its only with task scheduler, that the task shows as > running, but agent is not connected.... > > please suggest > > [image: JenkinsAgentIssue.jpg] > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/63bb0e95-a1a1-4ffa-89ba-b8da69c78ec4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.