Deploying Generation 2 (Gen2) Virtual Machines from SCVMM 2012 R2 Templates Fails with Error (23352)
Trying to deploy Generation 2 (Gen2) Windows Server 2012 R2 Virtual Machines from System Center Virtual Machine Manager (SCVMM) templates over the weekend, I found consistent failures with Error (23352):
Error (23352)
VMM cannot find the device or this device is not valid for a boot device.Recommended Action
Make sure you specify a valid device as a boot device.
On the Details tab, the deployment task fails at “Change properties of virtual machine.” Digging a bit on the web, I found these symptoms matched the following TechNet forum thread:
Cannot create VM from Gen2 template
The resolution to the issue is all the way at the bottom, basically you need to adjust the SCVMM template to use “SCSI,0,0” as the “FirstBootDevice”. The default boot device when capturing Gen2 virtual machines is “File,bootmgfw.efi”:
Set the FirstBootDevice property on your template by running the following command:
Get-SCVMTemplate -name HVWS12R2_Gen2_Template | Set-SCVMTemplate -FirstBootDevice “SCSI,0,0”
Where “HVWS12R2_Gen2_Template” is the name of your SCVMM template:
After setting this property on the template, Virtual Machine deployments work as expected. Unfortunately this property can’t be changed through the GUI in SCVMM 2012 R2. Hopefully this is fixed in future releases.
As always, if you have any questions, comments, or just want to leave feedback, please do so below. Thanks for reading!
Leave a Reply