Scheduled task prevented by fullscreen app

Bertman29 31 Reputation points
2022-05-03T01:40:19.357+00:00

Hi,

I have a scheduled task that runs every morning at 4:00am. It has been running great. Then one morning it did not run. I believe my son had watched a video on full screen and that may have prevented the scheduled task from starting. When I got to the computer the full screen video was still opened.

Can someone confirm that a full screen app will prevent a scheduled task from starting? Also, is there a way to have the task start if that is the case.

Thanks,

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,653 questions
0 comments No comments
{count} vote

Accepted answer
  1. MotoX80 31,656 Reputation points
    2022-05-03T14:15:21.64+00:00

    From my experience, I can't think of any reason why a full screen app would prevent the Task Scheduler from running a task. Having said that, I have no idea what programs you are running, what settings you have on the task, what software you have installed, etc, etc.

    Is the issue that the task scheduler did not launch the task, or the task launched, but whatever program it runs did not execute?

    Look at the task history and the last/next run times. Was the task launched at the correct time? What return code was generated? What logging have you implemented in the process that the task runs? Did the program encounter an error?

    198507-capture.png


1 additional answer

Sort by: Most helpful
  1. Limitless Technology 39,366 Reputation points
    2022-05-09T07:04:14.647+00:00

    Hi Bertman29-3612,

    If you have a script set to run at a specific time, and that task runs the script but the script doesn't run properly and gives back an error code, then the problem is with the script not the task scheduler. The task scheduler sees the script successfully ran so there is no need to restart the task. Therefore, setting the task to rerun on failure won’t work. It’s possible that an open app prevented the task, but it depends on the function of the task.

    Can you please post the error code?

    In the mean time please be sure to check the following articles released by Microsoft:

    http://technet.microsoft.com/en-us/library/cc721846.aspx - Troubleshooting Task Scheduler

    http://support.microsoft.com/kb/951246 - A scheduled task does not run as expected

    http://technet.microsoft.com/en-us/library/dd851678.aspx - Configure a Scheduled Task Item


    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments