VMware ESXi 6.5
When adding a VM, at the Customize settings screen go into the VM Options tab, expand the Boot Options, and pick "EFI" for the Firmware.
To UEFI PXE boot, edit the settings for your VM, go to the VM Options tab, expand Boot Options, next to Force BIOS Setup check "The next time the VM boots, force entry into the BIOS setup screen", and click Save. Boot your VM and choose the EFI Network option in the Boot Manager screen.
Newer versions of Fusion such as 10+ have a GUI option for UEFI when creating Windows VMs. Be sure to leave "UEFI Secure Boot" unchecked.
For older versions of Fusion you will need to edit the VM configuration file manually to change the VM's firmware to UEFI.
- Add a new VM in your Fusion Virtual Machine Library but do not start it.
- Right-click it in the list of VMs and pick Show in Finder.
- Right click the VMBundle for your VM and choose Show Package Contents.
- Edit the <VM_Name>.vmx file in a text editor like Text Wrangler to add the following "firmware" directive. The quotes must be vertical double quotes and not slanted/curly double quotes. Do not use TextEdit as it will convert the quotes to the wrong kind.
- Save your changes to the .vmx file.
- Start up your VM and install Windows on it.
To UEFI PXE boot edit the VM settings, go into Startup Disk, pick the Network Adapter option, and click the Restart button.
Add a new custom VM and pick "EFI" for the firmware type at the Firmware Type screen. After adding the VM install Windows on it.
To UEFI PXE boot, go to the VM power pull-down and pick Power On to Firmware.
After the VM boots into the firmware pick EFI Network in the Boot Manager screen.
Hyper-V (Windows Server 2016)
When creating your new VM, be sure to choose "Generation 2" and uncheck "Enable Secure Boot" in the settings for the VM.
To UEFI PXE boot, move the network adapter to the top of the boot order.
When adding a new VM check the option to Customize settings before installation at the Name and Location screen. This will let you edit the VM settings before starting it up. In the Hardware settings for the VM go to Boot Order, expand Advanced Settings, and check Use EFI Boot. Boot your VM and install Windows on it.
To UEFI PXE boot, move Network 1 to the top of the Boot order and restart the VM.
Verifying the Reference VM is UEFI
Before installing a custom FileWave client and sysprepping your reference VM you should verify that it's UEFI. This can be done by going into the Windows Disk Management and checking that there's an EFI system partition present.