I am trying to image an HP 800 G3 with Windows 7 x64, I would like to use UEFI since these will be upgraded to Windows 10 down the road. We use SCCM here, I've gotten as far formatting the disk using the UEFI partition step, copying the image and drivers in WinPE but when I reboot to go into the full OS I get a BCD error. I've done some research on this and a lot of people have Windows 7 working on a UEFI configured machine but I haven't found a fix to my particular issue yet. Someone suggested enabling the Option ROM Policy in the BIOS but on my machine it's set to All UEFI and greyed out. I am using the "Legacy Support Disable and Secure Boot Disable" option.
The exact BCD error is,
Info: An error occurred while attempting to read the boot configuration data.
The fix for this was to set the BIOS back to Legacy and Secure boot disabled. Then boot from your USB drive and select the UEFI option of the drive (make sure UEFI booting is enabled in the BIOS). This will format the hard drive as GPT but keep the BIOS in Legacy mode. You should be OK after that