Task Scheduler is not running/executing on AVDs.

Gainmore M Fore 0 Reputation points
2025-11-04T08:39:27.9533333+00:00

Task Scheduler is not running/executing on AVDs windows 11. They are a request to run auto log off user session daily at 9pm on Azure AVD because users are not logging off from their computers. I can create a task, but the task is not running, even if you click run manually still is not running. if I go to the logoff.exe file and run it runs and working but through Task Scheduler window is not executing at all. what could be the issue, what is blocking the execution of tasks.

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
{count} votes

1 answer

Sort by: Most helpful
  1. Shraddha Pandey 80 Reputation points Microsoft External Staff Moderator
    2025-11-06T14:54:38.05+00:00

    Hi Gainmore M Fore,

    The screenshot you provided shows that a task was scheduled but experienced a "Missed task started" event, which could mean it didn’t trigger or run as planned. Here are some steps you can take to troubleshoot and possibly fix the issue:

    1. Missed Task Started Warning

    This warning indicates that the scheduled time for the task was missed, possibly because the PC was turned off or in sleep mode.

    To resolve this:

    • Ensure the task trigger is set correctly (e.g., daily at 9 PM).

    Open Task Scheduler and go to the Settings tab

    Select "Run task as soon as possible after a scheduled start is missed"

    Make sure your machine is awake and available during scheduled times.

    1. Verify Task Conditions tab

    Make sure options like “Start the task only if the computer is on power” or “Start only if the network connection is available” are disabled if they restrict execution.

    Allow the task to run “On demand” and not be stopped prematurely by conditions.

    Reference: https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc721846(v=ws.11)?redirectedfrom=MSDN

    Let me know if it helps.

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.