Link to home
Start Free TrialLog in
Avatar of ManieyaK_
ManieyaK_Flag for United States of America

asked on

Convert Gen 1 to Gen 2 Hyper-V

We have several Generation One VM's running in Hyper-V.  We have a requirement to enable Secure Boot on all machines, including VM's.  UEFI doesn't seem to be an option unless the generation one's are converted to generation 2.  I can't seem to find any solutions to this issue.
Avatar of Alex
Alex
Flag of United Kingdom of Great Britain and Northern Ireland image

I can only assume you'd need to upgrade your host too, I think you need 2012 R2 or higher for a gen 2 VM.

Regards
Alex
Avatar of ManieyaK_

ASKER

so our Hyper-V is hosted on Server 2016
https://blogs.technet.microsoft.com/jhoward/2013/11/14/hyper-v-generation-2-virtual-machines-part-10/

Follow that, it'll convert it to Gen2, you will have to take the VM down.

https://code.msdn.microsoft.com/ConvertVMGeneration

That gives you what you need but the other one is a full guide.
The Script mentioned in the Article won't work for us.  This script wont convert is Snapshots are used or replication is used.
Your snapshots will need to be consolidated anyway....  You can't expect to convert a virtual machine with existing snapshots. You need to flatten it into a single file.
ASKER CERTIFIED SOLUTION
Avatar of Philip Elder
Philip Elder
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks Guys