Configuration that worked for me:
- In General tab: mark radio button - "Run only when user is logged on" <= important !
- Program/script: just the path to script without quotes or nothing: C:/tools/script.bat
- Add arguments: kept it empty
- Start in: kept it empty
In settings, only 2 checkboxes marked:
- Allow task to be run on demand
- if the running task does not end when requested, force it to stop