Azure Virtual Machines.Windows patch

Komal Phadatare 0 Reputation points
2024-09-05T08:15:09.39+00:00

We had created below Azure Virtual Machines.Windows patch were set as Manual.However, we noticed that this server got patched automatically   Updated on 27 May 2024 We would like to confirm how those got updated, as we had not done from our side.Also we would like to understand the process to autoupdated the windows patch henceforth for them

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,768 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Srinud 2,220 Reputation points Microsoft Vendor
    2024-09-05T14:32:00.0833333+00:00

    Hi Komal Phadatare,

    Thank you for reaching out to us on the Microsoft Q&A forum.

    Based on your issue with automatic patch updates on your VM, the problem occurs because, when deploying the VM from the Azure portal, the default setting enables automatic updates by the OS. To address this, you should select the manual update mode instead of the automatic one. Please refer the below screenshot.

    User's image

    If you are deploying a VM using CLI or PowerShell, setting --enable-auto-updates to false will also set patchMode to manual and disable automatic updates. It is important to keep your virtual machines up to date with the latest security updates and patches to ensure that they are protected against known vulnerabilities and threats.

    Please find the document provided below for your reference:

    Patch orchestration modes
    Automatic Guest Patching for Azure Virtual Machines and Scale Sets

    If an answer has been helpful, please consider accepting the answer to help increase visibility of this question for other members of the Microsoft Q&A community. If not, please let us know what is still needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!User's image


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.