Microsoft Server 2019 Task Scheduler Migration

Sam 1 Reputation point
2022-06-28T13:44:46.293+00:00

I am migrating a Windows Server 2008 over to a Windows Server 2019, and my task scheduler is is not working right.

I have a task that sends out payment to different banks, creates an excel sheet and sends it to the vendors as confirmation, stores the excel file in a local folder, and then sends an email to me telling me whether it was completed or not.

The task executes daily on the old server without a problem. After I disable it on the old server and enable it on the new server, it does not get sent out and I get a generated error message from my script. I can run the task manually and it works perfectly, but when I try to schedule it, I get an error.

Does anybody have any suggestions on what I should try? The task is set up identically on both servers, besides the part the says Configure for:
215803-image.png

Windows Server Management
Windows Server Management
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Management: The act or process of organizing, handling, directing or controlling something.
341 questions
Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
2,211 questions
No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Dave Patrick 330.9K Reputation points
    2022-06-28T14:29:18.353+00:00

    I get an error.

    Please post some details

    No comments

  2. Limitless Technology 37,351 Reputation points
    2022-06-29T15:26:48.503+00:00

    Hello

    Thank you for your question and reaching out. I can understand you are having issues related to Task scheduler not working.

    As you mentioned Task scheduler working Manually , Please try to re-configure user account which is used to run this Task ,

    Also , Please check path and that user having proper permission to access that path.

    Please also change Start Date to Future Date of this Task and Remove Indefinitely from the duration and make it '1 day'

    -----------------------------------------------------------------------------------------------------------------------------------

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

    No comments