VM state turns into Stopped in a few seconds after Start

Monica Lu 21 Reputation points
2021-03-31T08:26:21.457+00:00

I have a VM in Azure which worked before. However, the VM state turns into "Starting" after I click Start but turns into "Stopped" in a few seconds without any error in Notifications.
Could anyone help me out? Thanks.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,171 questions
Azure DevTest Labs
Azure DevTest Labs
An Azure service that is used for provisioning development and test environments.
256 questions
0 comments No comments
{count} votes

Accepted answer
  1. Olga Os - MSFT 5,836 Reputation points Microsoft Employee
    2021-03-31T17:57:42.523+00:00

    Do you know if where were any updates recently on the VM? I suspect this one is the Windows OS and stop request comes from the OS side as you don't see this request in the Activity Logs at the ARM Management level.

    Are you able to see the error message on the booting screen before VM goes to the stopped state?

    If yes, try to find the correlated troubleshooting guide:
    https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/boot-error-troubleshoot

    I'd also suggest two potential resolutions to this issue:

    Option 1:
    Mount the disk of the faulty VM on the Hyper-V host (Rescue VM) to see the pending updates/booting issue. Reverse/finish these updates there, fix the problem, unmount and detach the repaired OS disk and replace the OS disk used by the VM with the repaired OS disk. Detailed steps there:
    https://learn.microsoft.com/en-us/azure/virtual-machines/troubleshooting/troubleshoot-vm-by-use-nested-virtualization

    Option 2:
    Please follow up steps from the "Azure VM startup is stuck at Windows update"
    https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/troubleshoot-stuck-updating-boot-error


0 additional answers

Sort by: Most helpful