I have a simple script that parse the. XLSX file and generates some CSV using the library openepyxl. I made it into a. EXE file using the pyinstaller to run on a machine where no Python, using the task scheduler.
Problem: if you run the. exe file or script by hand, everything works fine. If you run the same script or exe using Windows scheduler, the task is not running, and the result 0xFF. The job runs under a service user rights to run there. If you set the scheduler to set the option "Run only when user is logged in", then it works, if you set the option to launch out whichever user is logged in or not, nothing works.
Has anyone encountered similar? Apparently, the library requires interactivity from the session.