Share via

VM failed to start after deleting the Snapshot used to create the disk

Breno F 0 Reputation points
2025-02-03T12:12:30.5733333+00:00

I created a VM based on a Snapshot of other machine. The VM was working and I saw the VM's disk consuming resources and the Snapshot as well. The disk is attached and the Create Option is FromImage, so I thought the Snapshot wasn't necessary any more considering that the disk has all the data. So I deleted the Snapshot and now I can't start the VM again.

"Failed to restart the virtual machine 'XXX'. Error: OS Provisioning for VM 'XXX' did not finish in the allotted time. However, the VM guest agent was detected running. This suggests the guest OS has not been properly prepared to be used as a VM image (with CreateOption=FromImage). To resolve this issue, either use the VHD as is with CreateOption=Attach or prepare it properly for use as an image"

Azure Virtual Machines
Azure Virtual Machines

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


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.