Share via

Virtual Machine Agent Error - Unable to Start VM

mahesh shanmugam 0 Reputation points
2024-04-05T06:51:11.3633333+00:00

Hi,

I'm encountering an error message stating the virtual machine agent is not ready when attempting to start a VM through the portal.

I've tried restarting the VM after logging in via RDP, but now the VM won't start at all, and the agent status remains "not ready."

Could you please assist me in troubleshooting this issue?

Thanks,


Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.


1 answer

Sort by: Most helpful
  1. v-vvellanki-MSFT 4,920 Reputation points Microsoft External Staff
    2024-04-05T08:01:03.3633333+00:00

    Hi @mahesh shanmugam,

    Thanks for contacting Microsoft Q&A platform.

    As per this issue,

    The closest thing I have been able to find is the following doc:

    https://learn.microsoft.com/en-us/azure/backup/backup-azure-troubleshoot-vm-backup-fails-snapshot-timeout#the-agent-installed-in-the-vm-but-unresponsive-for-windows-vms

    Essentially, if the agent is not in a ready state, it is usually due to some corruption of the agent which can be resolved by simply manually reinstalling the agent. You can find the steps to do that here:

    https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/agent-windows#manual-installation

    If it is not working, you should reinstall it. If it is still not working after that, there is usually something wrong with the VM image itself which would require support to look into further.

    Also, please share if your VM was deployed from a specialized image. When deploying a VM from image, a manual installation is required for the Guest Agent as described here: Azure Virtual Machine Agent Overview - Azure Virtual Machines | Microsoft Learn. Is that the process that was used for this Guest Agent's installation?

    For a Windows VM, the Agent Installer should take care of everything as long as the prerequisites listed here: https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/agent-windows#prerequisites are followed.

    Hope that helps.

    Was this answer helpful?

    0 comments No comments

Your answer

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