MDT – Deploy OS from external hard drive on USB 3 Error Fix

In this article I will show you how to fix the error when you deploy the OS from an external hard drive on a USB 3 port, using the free tool MDT.

Many organizations for different reasons, use deployment from external media, for image created by MDT or SCCM. However this causes an error if the external hard drive is connected on USB 3 port.

Difference between USB drive and external hard drive

The biggest disadvantage for USB drive is storage space and price for extend capacity. In addition, the rate of Write/read is very bad compared to external hard drive.

A lot of USB drives gives 10 MO/s even in USB 3 against a much higher speed (about 100 MO/s) with external HDD. And (300 MO/S) for SSD, that give ability to benefit the USB 3.0 port.

Furthermore we can save time and productivity in this case go up to x10 installation time, which reduces the invoice when an IT is invoiced.

USB Device Speeds
USB Device Speeds

Why does the error occur on the USB 3.0 port ?

Suppose you connect an external hard drive to USB 3.0 port. The rate write turn is about 80 MO or more, the system considers the support as an internal hard drive. It grants the first logical partition which can distort the installation, boot partition will be installed on this support.

Note that the above case does not happen if the external hard drive is plugged into an USB 2.0 port. Let’s say you choose to directly upgrade from SCCM. With a computer that have an external HDD connected on USB 3, the system will be installed in this partition if the capacity is bigger that first drive.

Example: Upgrade Windows 10 version with (internal SSD 128 go and external HDD on usb3 with 1 TO), the same files will be copied in external hard drive caused an error and aborted setup.

So I will be using MDT which is a free tool that provides a huge scope of creating your own reference images and custom operating system. MDT can be integrated with SCCM to provide more rich features related to operating system deployment.

MDT – Deploy OS from external hard drive on USB3 Error Fix

So we will look at solving this issue by following the below steps.

Step 1 – Detect driver

First we will connect our external hard drive and launch CMD as administrator

Enter the command –  WMIC DISKDRIVE GET MEDIATYPE

WMIC DISKDRIVE GET MEDIATYPE
WMIC DISKDRIVE GET MEDIATYPE

As we can see from the output that the external hard drive has a driver name “External hard disk media“. You may find a lot of external drives with same driver, but you can just use this command.

Step 2 – Edit config file in MDT Scripts

Now we add the driver to the config file. This is to permit the MDT and SCCM to consider External Drive as a usb flash driver when connected on USB 3 port.

Go to your MDT installation directory, by default is : C:\Program file\Microsoft Deployment Toolkit\Templates\distributions\scripts.

MDT Scripts Folder
MDT Scripts Folder

And open file ZTIDiskUtility.vbs with Notepad++.

ZTIDiskUtility.vbs
ZTIDiskUtility.vbs

Step 3 – Add driver to code

From the ZTIDiskUtility.vbs, search this line with 1394.

Deploy OS from external hard drive on USB3 Error Fix
Deploy OS from external hard drive on USB3 Error Fix

And add your driver as shown in the below screenshot.

Step 4 – Build ISO Image and Deploy OS

Now launch the SCCM console. Create a Task Sequence Media. You must choose task created by MDT Sequence.

Create Task Sequence Media
Create Task Sequence Media

Select a task sequence.

Burn ISO on external hard drive. And install it from USB 3 port without any problem. This solution is also valid if you use only MDT.

Related Posts
guest
0 Comments
Inline Feedbacks
View all comments

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More