Bare Metal with Hyper-V
Using Hyper-V is a great way to start with testing your DeployR environment. Grab the DeployR ISO file from the boot folder, copy it to your Hyper-V host, then boot a Hyper-V VM to that boot ISO
Recommendations / Requirements for Hyper-V VM
Gen2 VM
8GB memory, if resource constrained, 4GB minimum for basic client OS testing.
VERY IMPORTANT, DISABLE DYNAMIC MEMORY! This has been the number one cause of the "Apply OS" step failing as Hyper-V pulls back memory and the device doesn't have enough to apply the image.
4 Virtual CPUs
Default Storage sizes are fine, but feel free to tweak if you like.
Ensure has network connectivity to reach the DeployR server
Set the DVD to the DeployR Boot ISO

PowerShell Code Snips. This will generate a VM for you.
If you want to go advanced, here is a script with a few extra checks and paramters for doing some automation. https://github.com/2pintsoftware/2Pint-DeployR/blob/main/Hyper-V/BuildVMsGeneric.ps1
Secure Boot, Hyper-V and iPXE
Disable Secure boot for iPXE... and here's why... the iPXE binary is signed by Microsoft's UEFI Certificate Authority (for 3rd Parties), which is different than the standard Windows Secure Boot Certificate. Most devices will allow either of these options to boot a device, Hyper-V however does not, you have to pick one or the other, which doesn't work well for iPXE.

This is where you have a catch 22, if you change the drop down to use template Microsoft UEFI Certificate Authority, then iPXE will boot with Secure Boot, however when you pull down and try to load your WinPE, that's not signed with the Microsoft UEFI Certificate Authority, and requires the Microsoft Windows template option, the boot process will then fail the Secure Boot auth. This is a Hyper-V limitation, which doesn't exist in VMWware or Physical devices, so if you're doing testing with Hyper-V and iPXE, you will need to disable the Secure Boot (Remove the checkbox from "Enable Secure Boot".
Last updated

