How to install windows azure VM agent on all the VM's hosted on azure instaed of manual installation

GVS 146 Reputation points
2020-10-02T11:36:45.7+00:00

Hi Everyone,

I have too many VM's running with windows OS on azure but its really painful & time taking to update the windows azure agent manually. Is there a way to update the windows azure agent from portal.

Note : VM's are created (source) from DISK not from market place

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
6,824 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Leon Laude 85,566 Reputation points
    2020-10-02T11:45:52.183+00:00

    HI @AzureisMyCareer-5423,

    As per the documentation, if you have manually provisioned the VMs (not from the Marketplace) you will have to manually upgrade the Azure VM agents:

    Upgrade the VM Agent
    The Azure VM Agent for Windows is automatically upgraded on images deployed from the Azure marketplace. As new VMs are deployed to Azure, they receive the latest VM agent at VM provision time. If you have installed the agent manually or are deploying custom VM images you will need to manually update to include the new VM agent at image creation time.

    Reference:
    https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/agent-windows#upgrade-the-vm-agent

    ----------

    (If the reply was helpful please don't forget to upvote or accept as answer, thank you)

    Best regards,
    Leon

    0 comments No comments

  2. Haim 21 Reputation points
    2023-07-25T13:38:29.0166667+00:00

    Hi @AzureisMyCareer-5423.

    I am providing additional documentation that provide information on how to Install the Azure Virtual Machine Agent in offline mode - https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/install-vm-agent-offline

    If you can RDP to the VM, you just need to download and install the VM Agent manually.

    You can download MSI installer to use for deployment - https://github.com/Azure/WindowsVMAgent/releases

    (If the reply was helpful, please don't forget to upvote or accept as answer, thank you)

    Best regards,

    0 comments No comments