Share via

Unable to start VM

Sidharth Naidu 20 Reputation points
2024-04-26T03:37:56.42+00:00

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."

Azure Virtual Machines
Azure Virtual Machines

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

0 comments No comments
{count} votes

Answer accepted by question author
  1. v-vvellanki-MSFT 4,920 Reputation points Microsoft External Staff
    2024-04-26T05:20:55.5233333+00:00

    Hi @Sidharth Naidu ,

    Thanks for contacting Microsoft Q&A platform.

    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.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Silvia Wibowo 6,071 Reputation points Microsoft Employee Volunteer Moderator
    2024-04-26T04:13:14.24+00:00

    Hi @Sidharth Naidu , I understand that you have an Azure VM (Windows OS) that won't start and agent status "not ready".

    I'd recommend stop and start the VM again. If the VM can start, follow Troubleshoot Azure Windows VM Agent issues.

    If the VM does not start at all, create an image then Create a VM using a specialized image version.

    Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.

    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.