Fresh install Windows 11 via MDT goes quite smoothly, whether the hardware meets the minimum requirements or not, but the in-place upgrade from Windows 10 to Windows 11 usually runs into two different issues.
Installation failed with error code 0xC190010E
This indicates that the setup.exe needs the /eula accept parameter to accept the license agreement.
The fix is quite simple, add a Set Task Sequence Variable task sequence with the following variable and value in the Preparetion stage.
Task Sequence Variable: WindowsUpgradeAdditionalOptions Value: /eula accept
Installation failed with error code 0xC190010E
This indicates that the hardware doesn’t meet the minimum requirement of Windows 11, whether it’s an early version of TPM or an older generation of CPU processor.
The fix is also simple, to add a registry key named AllowUpgradesWithUnsupportedTPMOrCPU in HKLM\SYSTEM\Setup\MoSetup before the actual upgrade to tell the installation process to bypass the hardware requirement check.
To accomplish that, add a Run Command Line to add this registry key in the Preparation stage.
reg.exe add "HKEY_LOCAL_MACHINE\SYSTEM\Setup\MoSetup" /v AllowUpgradesWithUnsupportedTPMOrCPU /t REG_DWORD /d 1 /f