Task does not trigger on logon of user if the user autologon, but works when manually enters the password

Preethi Sankineni 0 Reputation points
2023-06-12T20:43:52.1133333+00:00

I am trying on configure a task in taskscheduler that triggers on logon of a specific user. The user is configured to login automatically by using https://learn.microsoft.com/en-us/sysinternals/downloads/autologon

functionality.

the task does not seem to run if the autologin is enables. But it runs when I manually enter the password. how can I fix it?

Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 45,126 Reputation points
    2023-06-13T10:35:26.6633333+00:00

    Hello

    Thank you for your question and reaching out.

    1. Please check the Run task as soon as possible after a scheduled start is missed checkbox, and…
    2. Select to Stop the existing instance if the task is already running.
    3. Disable fast startup using below from elevated prompt.

    Powercfg -h off

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

    0 comments No comments

  2. Preethi Sankineni 0 Reputation points
    2023-06-13T16:40:40.5066667+00:00

    Hi,

    Thanks for the reply!

    This did not solve my problem. Let me explain whats happening.

    I set up autologon for a specific user(developer) by using https://learn.microsoft.com/en-us/sysinternals/downloads/autologon.

    I created a task, to trigger at logon of the user Screenshot 2023-06-13 at 11.38.08 AM

    Screenshot 2023-06-13 at 11.33.38 AM

    The task does not run when the user autologs in , but it runs when I disable autologin and the user manually enters username and password to login.

    I also see that the task runs on restart of my windows machine, not sure why that is happening. Can you please help me here?

    0 comments No comments

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.