Microsoft Server 2019 Task Scheduler Migration

Sam 1 Reputation point

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:

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,601 questions
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.
426 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous

    I get an error.

    Please post some details

    0 comments No comments

  2. Limitless Technology 39,501 Reputation points


    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--

    0 comments No comments