Launching Worker from Windows Task Scheduler

Hi,
I would like to launch the deadline worker from a task using Windows’ Task Scheduler.

If I just run this line from windows commandline, it works fine to launch the deadline worker:
“C:\Program Files\Thinkbox\Deadline10\bin\deadlinelauncher.exe” -slave

But when the same command is launched from Task Scheduler the worker doesn’t start. The Task Scheduler says the task has finished, but the worker window doesn’t open and the rendering doesn’t start for that computer.

Any idea how I can start the worker from Task Schedular?

Oh I found the problem was not Deadline related, but in Scheduler you apparently have to separate the file, folder and arguments into three separate fields: Windows Task Scheduler doesn't start batch file task - Stack Overflow