Why do Windows Server 2023-01 and 2023-02 Cumulative Updates for Windows Server 2016 break Scheduled Tasks?

Vincent 5 Reputation points
2023-02-23T15:37:47.97+00:00

We have some Scheduled Tasks on a Windows 2016 server that copy files from a file share on a domain-joined Windows 10 machine to an Encrypted Folder on the server.

The tasks are CMD files containing ROBOCOPY and FIND commands and command line email sending, and are configured to run as a specified domain user account, with the account owning the encrypted folders and having admin privileges. They have been running unchanged for a number of years.

Following the installation of the 2023-01 Cumulative Update we started to see failures accessing the share on the remote Windows 10 machine. For example,

2023/02/14 14:04:04 ERROR 2 (0x00000002) Accessing Source Directory \DELL10X64PC123\USERDATA\Team\Player\20230221\

The system cannot find the file specified.

Logging in as the specified user onto the server and manually running the same CMD file results in the files copying successfully.

Another issue we have observed is that sometimes the FIND command does not appear to run from the Task. The output email will show the contents of the "ECHO" command immediately before and after but the output of the FIND command will be missing completely.

I uninstalled the Cumulative Update and everything ran as normal again. I also tried installing the February 2023-02 Cumulative Update in case there was an issue with the January one that had been addressed but, this one also breaks the tasks. I have had to uninstall that one too.

I would appreciate it if anyone can shed some light on why the Cumulative Update is breaking the Tasks.

TIA

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,894 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 44,206 Reputation points
    2023-02-24T14:17:49.58+00:00

    Hi. Thank you for your question and reaching out. I’d be more than happy to help you with your query

    You may able to fix this issue by creating them after deleting the task. You can also try editing the task manually.

    If the reply was helpful, please don’t forget to upvote or accept as answer, thank you.


  2. Limitless Technology 44,206 Reputation points
    2023-02-24T14:18:01.3866667+00:00

    Double post

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.