You may experience the following error message when trying to run a Scheduled Task.
SCHED_E_TASK_ATTEMPTED
0x80041324
The Task Scheduler service attempted to run the task, but the task did not run due to one of the constraints in the task definition.
The cause of this issue is in the Conditions tab of the Scheduled Task Properties.
For instance, you’re using your laptop on the battery power to run the task, but the Conditions tab has ‘Start the task only if the computer is on AC power’ enabled. This way you won’t be able to start the task. Either plug-in the laptop or clear the checkbox on that option.