Detach Disk from deleted virtual machine

Posted by user1628043 on Server Fault See other posts from Server Fault or by user1628043
Published on 2012-08-27T15:16:58Z Indexed on 2012/08/27 21:42 UTC
Read the original article Hit count: 173

Filed under:

I had an Virtual Machine running in Azure for a couple of weeks and suddenly it stopped responding. I shut it down and tried to restart it but that failed saying the VM faulted. I then deleted the VM which leaves the VHD file intact on my storage account.

I was intending to try recreating a new VM using thie VHD from the first VM however, the OS disk and Data disk are both still marked as being attached to the original VM which no longer exists.

Is there any way to detach these disks so I can use them to create a new VM?

© Server Fault or respective owner

Related posts about Azure