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
LVL 1
Pierre AmmounIT ConsultantAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
Pierre AmmounIT ConsultantAuthor 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
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

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
McKnifeCommented:
" 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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Virtualization

From novice to tech pro — start learning today.