Avatar of Deepin
Deepin
Flag for United Kingdom of Great Britain and Northern Ireland asked on

how do you move a VM from hyper-v 2012 R2 to hyper-v 2008 R2?

We have two hyper v host which are independent, no failover/shared storage etc, I currently have a VM on hyper 2012 R2 and want to move it back to windows 2008 R2.

How can i migrate it back?

Thanks,
Hyper-VWindows Server 2012Windows Server 2008

Avatar of undefined
Last Comment
Deepin

8/22/2022 - Mon
Ogandos

There are issues of incompatibility if you just try to export/import the VM, and for making it work you will need to make annoying modifications on the VM xml files. Better try shutting down the VM on WS2012 R2, then copy 'all' its files manually(VM files, VHD files, etc), put them somewhere in your 2008 R2 server and import the VM there.

Be aware that there are many scenarios where it is not going to work. For example if you were using VHDX virtual disks or Generation 2 VMs in Windows server 2012 R2, 2008 is not going to know what is that about. Additionally WS2008 R2 uses an older version of the integration services.

Extra Note: take in consideration that much more benefits of HyperV are over 2012 R2. If you can figure out how to virtualize all your VMs using WS2012 R2 it will be much more convenient for you.
Deepin

ASKER
schnellsolutions  : the VM i'm trying to move is VHDX format - its a management server so i need to move it to a Hyper v where there is more resources available .

So the bottom line is ....it can't be done?
Ogandos

You can make the process longer and convert the .VHDX virtual disk to .VHD

You can make it from the WS2012 HyperV server using powershell with the following command:

Convert-VHD   –Path   <VHDXLocationPath>.vhdx   –DestinationPath   <NewVHDLocation>.vhd

If you are using snapshots, merge the snapshots into the vhdx first from the HyperV Console.

There are other methods for converting the disk as well, but this is maybe the simplest one.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
ASKER CERTIFIED SOLUTION
Deepin

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Deepin

ASKER
HyperV host has been upgraded