Remove 'Press any key...' from WinPE boot ISO
Updated: Sep 3, 2018
Part 4 of 6: Remove ‘Press any key…’ from WinPE boot ISO
When using the default WinPE ISO boot file, there is only one little tiny small problem, you must press any key during the boot process to continue, otherwise the VM will boot from network. This is not very handy in an automated environment.
To prevent this behavior, the ISO boot file must be changed. For an UEFI BIOS, the file efisys.bin must be replaced with the efisys_noprompt.bin file. Naturally, I have created an Automation buildingblock for this.
The buildingblock uses OSCDIMG.EXE from the Microsoft assessment and Deployment Toolkit (ADK) to repack the ISO file with the noprompt option. ADK is a prerequisite for MDT and should be installed on the MDT server.
First, the script searches for the path to OSCDIMG.EXE file. When found, the script unpacks the ISO file to %TMP%\ISO. With OSCDIMG.EXE a new ISO file is created with the noprompt option.
MDT.ISOFOLDER - Path to folder where WinPE ISO file is stored. Please be sure to use trailing backslash, for example D:\ReferenceShare\Boot\
MDT.ISONAME - Name of WinPE ISO file, for example REF-MV001-DS1-x64.ISO
The buildingblock can be downloaded here.