Zend certified PHP/Magento developer

I can install Windows 10 2004 with MDT but not 21H1

So the time to deploy Windows to some new laptops rolled around this year. As 21H1 was already out, so I thought I’d spare my users a feature upgrade by installing from the 21H1 image.

I’ve found that I can deploy Windows 10 2004 to the same machine using the task sequence I created for that purpose last year.

However, the task sequence I created to install 21H1 always fails. It copies the install image over to the disk, then tries to apply unattend.xml with DISM. This results in

FAILURE (5627) 14081: Run DISM.exe
Litetouch deployment failed, Return Code =-2147467259 (0x80004005) 
Failed to run the action: Install Operating System

plus a cascade of errors that follow form the initial failure. The smsts.log file shows, in LTIDiskPart,

Failed to create C:_SMSTaskSequence Error 0x80070003  

and later, in LTIApply,

Executing command line: cscript.exe "%SCRIPTROOT%LTIApply.wsf"
Process completed with exit code 5627
Could not find CCM install folder. Don't use ccmerrors.dll

The machine with Deployment Workbench is running Windows 10 2004 and the deployment share is on a NAS.

I used the same steps to get a 21H1 task sequence as I used for 2004:

  1. Download the ISO from VLSC.
  2. Import the ISO in Deployment Workbench
  3. Use DISM to mount the WIM, remove unwanted provisioned packages, and copy over the desired Start Menu/Taskbar file LayoutModification.xml
  4. Create a task sequence
  5. Select the driver selection profile
  6. Change offline packages to Nothing
  7. Clean up the unattend file.

Microsoft says that the 2004 ADK and MDT can be used without any modification to deploy 21H1. The workstation with the ADK installed, and running Deployment Workbench, is running Windows 10 2004.