Migrate Hyper V Vm from Windows 10 to Win 2012 R2

Hello Gurus,

If I create a VM (hyper-V) under Windows 10 can I export it and import it later under windows Server 2012 R2 ?

Thanks
Pierre AmmounAsked:
Who is Participating?
 
McKnifeConnect With a Mentor Commented:
" As long as you validate the compatibility versions." - Now what should that mean? There is nothing he needs to do but just as he assumes, simply take the vhdx from win10 and add it to his 2012-based VM.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Yes, but you have to be careful of the virtual machine version, because later virtual machine versions are not compatible with 2012 R2, only 2016.

if the virtual machine version is the same e.g. 5.0, export and import will work.

so here

https://docs.microsoft.com/en-gb/windows-server/virtualization/hyper-v/deploy/Upgrade-virtual-machine-version-in-Hyper-V-on-Windows-or-Windows-Server
0
 
McKnifeCommented:
10 will have newer versions that are impossible to import on 2012. Only if you imported the machine to 10 (so it was created on a downlevel OS, before) OR if it was created on the command line using New-VM together with the -version switch, will you have a VM with a version that 2012 understands.
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
Pierre AmmounAuthor Commented:
What about If I create a new VM in Windows 2012 R2 and attach the VHDX that have been created in Windows 10 ?
Will it work ?
0
 
McKnifeCommented:
That will work.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
if you create the VM in 2012 R2, you can export and import it into Windows 10!
0
 
R@f@r P@NC3RVirtualization SpecialistCommented:
Goodnight,

You can create the VM on your Windows Server 2012 server and, you can select the disks of the VM that you created in windows 10 and connect them to the new VM that you created in WS2012. As long as you validate the compatibility versions.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.