I would like to schedule a .pyw script in Task Scheduler on Windows. When I double click on the file, everything works properly, the program does what it should do. I successfully create a task in Task Scheduler: -'Run with highest privileges' checked -Configure for Windows 10 -'At system startup' trigger -Action: 'Start a program' and I provide the full path to the .pyw script -I have also unchecked 'Start the task only if the computer is on AC power'
..and when I do right click --> Run, I get a standard question: "How do you want to open this file" etc. Now, status of the task is 'Running', but nothing happens, and I cannot find my program running in Task Manager. Any advice?