Share via

Problem with task scheduler

Anonymous
2024-04-22T12:18:00+00:00

Hello,

I got a problem with a task i made, i juste a simple for deleting folder every friday, the problem is that this task works on certain servers and sometimes does not.

I tried to export the task from a server where it works and import it to a server where it doesn't work but no change.

What I noticed is that on the task which works the user is noted without the domain while on the task where it does not work the domain and written, which is not logical because it is good a domain account that I want to enter.

The domain account is well added in the "log as a batch job" category in the local strategies on the servers.

Work

Don't work

Have you ever heard of this problem ?

Regards
Flavien

Windows for business | Windows Server | User experience | Remote desktop services and terminal services

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-04-23T00:01:39+00:00

    Hello,

    What does the event log say about the failed job on domain account? Look for error messages or failure details when the task was attempted with the domain account.

    The use of a domain account requires initial authentication to validate the account's permissions when the task scheduler service starts or when the task is triggered, even for local operations

    Here are a few things to consider:

    • Examine the Security event logs (Event Viewer > Windows Logs > Security) for any failed logon attempts by the domain account around the time the task is scheduled to run. Specifically, look for Event ID 4625 which indicates failed logon attempts and details the reason.
    • Schedule the task to run more frequently (like hourly) for a short period, with detailed logging enabled, to increase the chances of observing the failure and capturing related events.
    • Ensuring that settings like "Run whether user is logged on or not" and "Run with highest privileges" (if necessary) are correctly configured.

    Regards,

    Karlie

    Was this answer helpful?

    0 comments No comments