Microsoft Server 2019 Task Scheduler Migration

Anonymous
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 for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous
    2022-06-28T14:29:18.353+00:00

    I get an error.

    Please post some details

    0 comments No comments

  2. Limitless Technology 40,076 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--

    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.