Page 1 of 1

VDI with Snapshot cannot be deleted

Posted: 20. Jan 2015, 18:02
by MacNala
I have a Win 7 SP1 host running Win 7 SP1 guests.
Somehow I have done something to the snapshots.
I started using snapshots and later decided that I did not need all of them. I started to delete the snapshots and obviously have done something wrong.
I am now left with a single VDI disk as the C: drive for the machine and it says it has 1 snapshot. If I try to delete this snapshot it fails with an error message see attachment.

How can I recover from my mistake and delete all the snapshots?

The snapshots folder for the machine has the contents as shown in attachment 2,

I have a disk image of the C: disk but am not sure if this contains the snapshots!

Re: VDI with Snapshot cannot be deleted

Posted: 20. Jan 2015, 18:33
by mpack
What the error says, really. Basically you have created a branch in your snapshot structure, and you can't delete that snapshot node without killing another branch. Perhaps you created a linked clone?

Anyway, the easiest way to make a VM completely snapshot-free is to clone the VM using the GUI. Select clone "current state only", and don't reset the MAC address. Be aware that Win7 will want to be reactivated... unless you are smart enough to unregister original and clone VMs and manually edit the .vbox to have the old VM-UUID before you boot up the new VM. If you have any questions about that procedure then don't even try it.

Note: don't confuse "cloning the VM" with "cloning the disk". And don't confuse "VM UUID" with "disk UUID". What I said above is correct.