Servers "missing" their Maintenance Windows to install Software Updates.

CS82 1 Reputation point
2020-11-25T11:49:55.34+00:00

In my current place of work, we utilise monthly ADRs to automate the deployment of updates to our servers - this happens on the 1st of each month. The servers are grouped and have their own 4 hour maintenance windows on Sunday mornings.

From reviewing this month's deployments approximately 40% of servers are in the pending state of waiting for the next MW. I've checked a few of these servers and cannot really piece together why they are not executing the installs. The servers have downloaded the update binaries into CCM Cache well in advance of the MWs.

So taking this server for example, it has a MW on the third sunday of the month which is 15th Nov 2020 from 01:00 - 05:00

42682-image.png
42674-image.png

The events in the Updates Deployment log doesn't make too much sense to me:

42741-image.png
42458-image.png

Currently in Software Center it is in the "Waiting to Install" state:

42722-image.png

Any guidance is appreciated.

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,209 questions
Microsoft Configuration Manager Updates
Microsoft Configuration Manager Updates
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Updates: Broadly released fixes addressing specific issue(s) or related bug(s). Updates may also include new or modified features (i.e. changing default behavior).
1,057 questions
0 comments No comments
{count} votes

9 answers

Sort by: Most helpful
  1. Fiona Yan-MSFT 2,311 Reputation points
    2020-11-26T03:13:57.523+00:00

    @CS82

    Thank you for posting in Microsoft Q&A forum.

    As we mentioned that 40% of servers are in the pending state of waiting for the next MW,does this mean that the remaining 60% on our server succeeded?If so,this phenomenon is really weird,from the situation from our description,our mw is recognized. Have we compared the difference between the failed one with successful one?


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. CS82 1 Reputation point
    2020-11-26T11:51:33.967+00:00

    Hi @Fiona Yan-MSFT ,

    I have not made any objective comparisons between a successfully patched server and one of the "pending" servers, I checked the relevant settings/configuration on the actual server in question so feel it is somewhat moot to check a working server, if that makes sense? Our overall setup is fairly straight forward; servers have one recurring maintenance window, deployments are available at the beginning of the month so often weeks elapse before the servers' MW (so can't really say it was insufficient time for synchronising/downloading binaries, etc).


  3. Rahul Jindal [MVP] 10,196 Reputation points MVP
    2020-11-27T14:32:44.65+00:00

    Hi,

    The MW takes into every CI state into account. This includes downloading, installing and reboots. If the total duration exceeds, the trigger will wait for next window to be available that is large enough to accommodate the run time. Try reducing the number of updates or increasing the MW window.

    0 comments No comments

  4. CS82 1 Reputation point
    2020-11-27T15:52:53.947+00:00

    @Rahul Jindal [MVP] - It is literally just a single cumulative update for this month, the update is over a gig in size but was downloaded into CCMCache way before the MW even kicked off.

    The MW is four hours long, the update has a max runtime of 60 minutes.

    0 comments No comments

  5. Rahul Jindal [MVP] 10,196 Reputation points MVP
    2020-11-27T16:36:20.95+00:00

    Hi,

    That is not what the log says. According to the log you shared, ciStateDownloading triggered when the MW kicked in at 0100. That is the correct and expected behavior for a MW. As for the number of applicable updates is concerned, CU shouldn't require 4 hours to install. I am with you on that. However, it is not clear how many updates were actually scanned as applicable. As far as I know there are multiple Server 2016 updates released in Nov'20. Unless you are certain that you deployed only 1. Also, what is the OS composition for the remaining 60% of the servers? Are they also all Server 2016?

    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.