Hello,
If the permission and path issues were consistent, the task would fail every time. The intermittent nature of the issue suggests that there might be other factors at play.
Here are a few things to consider:
- Monitor the CPU and memory usage during the scheduled times. High resource contention can cause tasks to fail or behave unpredictably.
- If the script or executable relies on network resources, check for network latency or connectivity issues. Ensure that DNS resolution is consistent and there are no issues with resolving hostnames.
- Ensure that the task is set to run even if the user is not logged on and that it stops if it runs longer than a specified time.
- Check "If the task fails, restart every" to automatically retry the task if it fails.
- Check the Windows Event Viewer for any related events, particularly in the Application and System logs.
I hope this information helps.
Best regards,
Karlie Weng