Mark Minasi's Tech Forum
Register Calendar Latest Topics Chat
 
 
 


Reply
  Author   Comment  
Pieter

Avatar / Picture

Senior Member
Registered:
Posts: 130
Reply with quote  #1 
Is there a supported way of converting Hyper-V VM's generation 1 to generation 2 ?

I'm aware of https://code.msdn.microsoft.com/windowsdesktop/Convert-VMGeneration-81ddafa2, but is there a disclaimer at the bottom that says 'not supported by Microsoft'.



__________________
Pieter Demeulemeester
0
cj_berlin

Avatar / Picture

Senior Member
Registered:
Posts: 176
Reply with quote  #2 
Hi Pieter,

the supported way would be MVMC or the likes where you would treat the Gen1 VM as a physical. I *think* that's basically what the tool you quoted does under the hood.

The problem is, Gen1 boots from IDE whereas Gen2 boots from SCSI so you can't just recreate the VM, keep the VHD and let Plug'n'PLay enumerate the new hardware.

__________________
Evgenij Smirnov

My personal blog (German): http://www.it-pro-berlin.de/
My stuff on PSGallery: https://www.powershellgallery.com/profiles/it-pro-berlin.de/
0
Wes

Senior Member
Registered:
Posts: 189
Reply with quote  #3 
I've used the tool many times with great success. It writes a whole new vhdx file and creates a new vm as well of course, so you don't lose your original.
0
dennis-360ict

New Friend (or an Old Friend who Built a New Account)
Registered:
Posts: 43
Reply with quote  #4 
Yes, there are ways, but you need to recreate the whole vm. You could use windows backup and do a server restore, that will be supported i think.
__________________
-----
Home is where is sleep
0
Infradeploy

Avatar / Picture

Senior Member
Registered:
Posts: 165
Reply with quote  #5 
P2v, in this case v2v
__________________
Have SpaceSuit, Will Travel

0
Pieter

Avatar / Picture

Senior Member
Registered:
Posts: 130
Reply with quote  #6 
Thanks for the replies everybody.

Quote:
Originally Posted by Wes
I've used the tool many times with great success...

Wes, do you mean MVMC ?

And what if the VM's are Domain Controllers ?
Can I still convert from gen1 to gen 2 with MCMV ? And can I convert from gen 2 to gen 1 ?


__________________
Pieter Demeulemeester
0
Wes

Senior Member
Registered:
Posts: 189
Reply with quote  #7 
Hi Pieter, no I have never used MVMC.  By tool I meant the link in your original post.  I used it successfully on all kinds of VMs including domain controllers.  However I have not used it since 2014 so I have no idea if it still works under server 2016 (I converted all my old VMs already).
0
Pieter

Avatar / Picture

Senior Member
Registered:
Posts: 130
Reply with quote  #8 
Thanks for the reply Wes.
BTW: no luck so far with the MVMC tool  :-(

__________________
Pieter Demeulemeester
0
Wes

Senior Member
Registered:
Posts: 189
Reply with quote  #9 
Have you tried the script? Always worked well for me. Still running a number of those converted VMs (they have since been moved to 2916 hosts and had their configs upgraded to version 8.0)
0
Wes

Senior Member
Registered:
Posts: 189
Reply with quote  #10 
2016 I meant
0
Pieter

Avatar / Picture

Senior Member
Registered:
Posts: 130
Reply with quote  #11 
No yet tried with the script. But it's time I do. The MVMC doesn't like me.

The VM's I would like to convert are (or will be) Win2016 Domain Controller. The original hosts are Hyper-V 2008R2, so the VM there will be gen 1 with VHD-files.
But after upgrading the Hyper-V to 2012R2 I would like to convert the VM's to gen 2 with VHDX-files.
That's the goal.

EDIT: come to think of it, VM Win2016 can't run on Hyper-V 2008R...




__________________
Pieter Demeulemeester
0
Wes

Senior Member
Registered:
Posts: 189
Reply with quote  #12 
2016 VMs run fine on 2008r2 hosts. We still have some clients with Pe2950s that can't run 2016 due to. Or having SLAT but are running 2016 VMs
0
Pieter

Avatar / Picture

Senior Member
Registered:
Posts: 130
Reply with quote  #13 
Really ? I thought that wasn't supported:
https://technet.microsoft.com/en-us/library/cc794868(ws.10).aspx. I had a bad experience myself recently with Win10 on Win2008R2 with Hyper-v. I was able to install it, but it did not ran.

Concerning the gen1 to gen2 conversion. I was able to convert a win2012R2 VM to a gen2 VM with success. Thanks for the advise. For my project AD2016, I'll start with gen1 VMs.

__________________
Pieter Demeulemeester
0
Wes

Senior Member
Registered:
Posts: 189
Reply with quote  #14 
In sorry Pieter - I meant 2012r2 not 2008r2. My brain saw "r2" and disregarded the numbers! You are correct...
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation: