Errors reported - A system shutdown is in progress

Michał Smereczyński 20 Reputation points MVP
2025-02-21T14:40:48.7233333+00:00

Hi,

I see deployment overall status for number of Azure VMs (Windows Server 2022 DC Azure Edition-based custom image), manual update, as Failed, where updates installed is 4 out of 4. The problem is, that VMs are being restarted during the update and because of that the update status is probably not delivered to Update Manager properly:

"1 errors reported. The latest 3 errors are shared in details. To view all errors, review this log file on the machine:[C:\WindowsAzure\Logs\Plugins\Microsoft.CPlat.Core.WindowsPatchExtension\1.5.71]
"[A system shutdown is in progress.

A system shutdown is in progress.
]."


2025-02-21_15-01-58

After having this errors in history and running the assessment again, everything is OK. Machines are updated, but I have a bunch of Fails in statistics but this, in fact, is not true.

2025-02-21_15-35-57

It is also showing in summary statistcis:

User's image

Is there any way to prevent manual updates with VM restart showing as failed?

Azure Update Manager
Azure Update Manager
An Azure service to centrally manages updates and compliance at scale.
353 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Madugula Jahnavi 0 Reputation points Microsoft Vendor
    2025-02-24T14:39:17.2366667+00:00

    Hello Michał Smereczyński,

    Below are the troubleshooting ways to try resolving the issue: -

    Firstly, as I mentioned earlier, check all the logs to see all log entries that the deployment has created under different status scenarios.

    This issue might be a transient issue and sometimes redeploy or reapply option here to make the VM updates or VM work as expected without any conflict as shown below.
    vmred

    Also, you can use Get-WindowsUpdateLog command to get all the VM update log entries into a log file for better understanding.

    Refer https://learn.microsoft.com/en-us/powershell/module/windowsupdate/get-windowsupdatelog?view=windowsserver2025-ps MS Doc for more relevant information.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.


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.