I use this scheduled task for years and it always worked fine. Something weird happened a few weeks ago.
This task executes .bat file which launch python script.
It runs as administrator.
A few weeks ago it started fail with return code 2147942401
.
Note: if I execute it manually by click on 'Run' or from prompt it always succeed.
The are a lot of articles related to this error and I've tried all of it but it still failed. Hence I'm confused what happened. Here are the things I've tried to change and none of it fixed the issue:
Change options on 'General' Tab
Change time of execution. Note: it's scheduled to run daily once but I've tried to set it to run hourly for the day and it succeeded only 2-3 times
Change 'Action' Tab parameters
Create a new Task
Many other things but none of it worked. Do you have any clue what else could cause the issue to fail the Task that worked for years? Thanks