2016-07-04 UPDATE: I have updated the hta script, because there was an issue with the Wi-Fi and UEFI detection. It is fixed now.
Last week I created this post on how you can do a UEFI check if you are installing Windows 10. I have extended that check with this Pre-Flight Check.
To make sure that a Pc is ready for your task sequence deployment and to minimize the risk of an error during OSD, you can do some checks before you start your OS deployment with a Pre-Flight check. This Pre-Flight check have to be at the beginning of your task sequence, because then you don’t break break anything on the existing installation if the requirement is not meet. This solution is using this hta with some customization that I have made.