What I am trying to do is make a profile in Windows Imaging and Configuration Designer that does the following.
Domain join Local admin Rename the computer Skip Out of box/Turn off Cortana Enrol into our MDM (airwatch) Upgrade Windows Edition to Education edition
I have four machines (1 HP ProBook 4340s and 3 x Dell Latitude 3380) with the ProBook running Windows 10 Education 1607 Build 14393 and the Latitude's running Windows 10 Education 21H1 Build 19043.1052
When I use the profile on the ProBook everything works as expected other than enrol into our MDM (working on figuring that part out) but when I use the exact same USB on the Latitudes Windows will upgrade the Windows Edition, reboot, creates local admin account and then everything else will display a "failed" message on screen next to the task (domain join, rename and enrol into MDM). After it has failed it will say "your computer will reboot in less than one minute", it will reboot and then just keep repeating "your computer will reboot in less than one minute".
I have tried removing the upgrade edition part and rebuilding the package to another freshly formatted USB and still get the same boot loop.