Hyper-V brings to life several additional disaster recovery scenarios that can be leveraged to our advantage when the need arises. One of the features that really comes into play are VM snapshots. A Snapshot is basically a spot in time where the current
running configuration of the Virtual Machines is saved to a Snapshot Differencing Disk file (AVHD), from which you can return to from the future. This tip will show you how to manually merge hyper-v snapshots into a single VM for point in time restores.
When you create a differencing disk the original VHD is no longer modified and the snapshots are merged with the original vhd only when it is powered off. In disaster recovery scenarios, There may be cases where we want to manually merge snapshots ( avhd )
In order to do this, You must first change the extension of the Newest AVHD file to VHD.
Thanks for the Very good Article about Manually Merge avhd to vhd in Hyper-V
Very helpful, However I think you mean "newest" and not youngest....
Is it blindingly obvious to everyone else, or would it be too much to add a couple of steps for us noobs:
1.5 For your VM, under settings -> Hard drive, select the AVHD that you just renamed as VHD for your virtual hard disk file.
6. Once you have merged as many AVHDs as you wish, finally, for your VM, under settings -> Hard drive, select the most recent remaining VHD for your virtual hard disk file.
Once I figured that out, worked great!
Helpful stuff. Pictures would really clarify this. I just corrupted my Sever 2012 Hyper-V vhdx because I thought delete would merge everything like it did in Server 2008.
Only manually merge as a last resort.
One better solution (if you have 2008 R2 or newer) is to create a snapshot of the VM. Then select this snapshot, and export this snapshot. This will create a copy of your VM with a single VHD.
Import this snapshot. Check it.
If it is good, delete the original.
Great article, thanks. Saved me because SCVMM decided to delete my VM (not the disks) so I had to merge the avhd in to the vhd and create a new VM using the existing vhd disk. Worked fine.