MDT Build fails after domain join

DunkG 1 Reputation point
2020-11-18T10:39:46.937+00:00

Deploying windows 10 pro 20H2 via MDT. The build completes successfully if selected to join a work group, however it fails if selected to join the domain.

The build gets to the State Restore Phase and then errors out:

Start executing the command line: cscript.exe "%SCRIPTROOT%\LTIApply.wsf" /post TSManager 18/11/2020 10:18:15 4624 (0x1210)
!--------------------------------------------------------------------------------------------! TSManager 18/11/2020 10:18:15 4624 (0x1210)
Expand a string: TSManager 18/11/2020 10:18:15 4624 (0x1210)
Executing command line: cscript.exe "%SCRIPTROOT%\LTIApply.wsf" /post TSManager 18/11/2020 10:18:15 4624 (0x1210)
Process completed with exit code 1 TSManager 18/11/2020 10:18:15 4624 (0x1210)
!--------------------------------------------------------------------------------------------! TSManager 18/11/2020 10:18:15 4624 (0x1210)
Failed to run the action: Post-Apply Cleanup.
Incorrect function. (Error: 00000001; Source: Windows) TSManager 18/11/2020 10:18:15 4624 (0x1210)

The wizard.hta then just comes up blank white, no error message displayed.

Weirdly the machine has successfully joined the domain and is in the correct OU.

Microsoft Deployment Toolkit
Microsoft Deployment Toolkit
A collection of Microsoft tools and documentation for automating desktop and server deployment. Previously known as Microsoft Solution Accelerator for Business Desktop Deployment (BDD).
902 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.