Forum Discussion
Windows 11 Task Scheduler Unable to Launch the Specified Application
When setting up a scheduled task to launch an application, the task execution fails and returns result code 0x1 (program not started). If a batch script (.bat) is used instead to start the program, the script can be triggered normally, but the target program still fails to launch (double-clicking the script directly can start the program successfully). It has been confirmed that the script uses an absolute path, and the "Run with highest privileges" option is checked in the Task Scheduler. Solutions are sought to adjust the task configuration or alternative methods for scheduled program startup.
2 Replies
- OsmankisIron Contributor
"Program not started" — suggests Task Scheduler can't find or run the executable. When double-clicking the script, it starts fine. But when scheduled, it fails.
- HoldenStormIron Contributor
When configuring the task, set the Start in (optional) field under the Actions tab to the directory containing your executable or script.