Windows – MDT 2013, Offline Media, cannot install to unformatted disk

mdtusbwindows

Has anyone experienced this? Recently I recreated our MDT environment from MDT 2012 to MDT 2013 U2. When I create an offline media, the installation process fails just after the "Format and Partition Disk" step, which means, that the "Copy Scripts" step fails. The disk gets formatted though. Normally when LTICopyScripts.wsf runs, it leaves a log behind. This does not happen. The smsts.log has this:

Expand a string: cscript.exe "%SCRIPTROOT%\LTICopyScripts.wsf"  TSManager   30-06-2016 09:11:13 272 (0x0110)
Expand a string:    TSManager   30-06-2016 09:11:13 272 (0x0110)
Start executing the command line: cscript.exe "%SCRIPTROOT%\LTICopyScripts.wsf" TSManager   30-06-2016 09:11:13 272 (0x0110)
!--------------------------------------------------------------------------------------------!  TSManager   30-06-2016 09:11:13 272 (0x0110)
Expand a string:    TSManager   30-06-2016 09:11:13 272 (0x0110)
Executing command line: cscript.exe "%SCRIPTROOT%\LTICopyScripts.wsf"   TSManager   30-06-2016 09:11:13 272 (0x0110)
Process completed with exit code 1  TSManager   30-06-2016 09:11:13 272 (0x0110)
!--------------------------------------------------------------------------------------------!  TSManager   30-06-2016 09:11:13 272 (0x0110)
Failed to run the action: Copy scripts.

When I check the ZTIGather.log, the drive letter for the DeployDrive differs: if disk is unformatted it's C:. If it's formatted it's D:. I suspect that when MDT tries to find and run LTICopyScripts.wsf, it fails to find it leaving the target with a formatted disk 0, but not able to copy the scripts to it and proceed.

I have not made any changes to the Format and Partition step. Also if I run this from a USB stick with the boot ISO it works (connecting to the DeploymentShare instead of using the USB disk). But we really need the USB Offline Media to work, so switching to only use the boot image on a stick is not a solution. I have also tried recreating a new share, leaving everything as it is and use a vanilla Windows image in a standard Task Sequence.

Any advice on this matter?

UPDATE 1:
We have used offline media for 6 years – only offline media. After the new MDT 2013 installation, we started using Boot images from bootable USB sticks, but this is a very new thing for us. We do not have WDS (and pxe boot) – yet. When I deploy from the USB sticks using the deployment boot image, the installation is OK. But all new PC's we receive have unformatted disks, so I need to fix this instead of forcing the techs to run diskpart everytime (or use my intermediary .bat file from the console).

I have uploaded the requested files:

ts.xml

unattend.xml

UPDATE 2:
If I create a clean test share, a clean task sequence and a clean media, the error does not go away. So I figured it has to concern the USB Disk. I have tried several USB disks but the problem does not go away.
If I deploy this test media from a USB STICK – it works! Our production share is far too big for a USB stick, which is also much slower in data transfer.

So if any suggestions on how this issue can be solved, I would like to hear form you 🙂

Best Answer

So after several years with no problems using USB disks, the documentation tells me otherwise (https://technet.microsoft.com/en-us/library/dn781277.aspx?f=255&MSPPError=-2147217396)

When performing a bare-metal, media-based deployment on a Unified Extensible Firmware Interface (UEFI) system using a newer USB flash drive (UFD) that is detected as a “fixed disk” the UFD is detected as Disk 1 (initially assigned the drive letter C) and the internal hard disk is Disk 0. After the internal hard disk is partitioned and formatted, drive letters are reassigned such that the OSDisk is C and the UFD is W. The deployment will fail on the Copy Script step.

So I guess I have to find big and fast flash drives instead. I guess either the new ADK or MDT 2013 U2 is more sensitive to this than earlier versions.