Microsoft Deployment Toolkit: Disk not ready installing roles/features

Symptoms

When you deploy an image from Microsoft Deployment Toolkit, the "Install Roles and Features" step in the Terminal Services (TS) may fail and the following is logged in bdd.log

Copying source files locally from D:\Deploy\Operating Systems\Windows Server 2012 x64\sources\sxs ZTIOSRole 12/20/2013 10:50:09 PM 0 (0x0000)
ZTI ERROR - Unhandled error returned by ZTIOSRole: Disk not ready (71) ZTIOSRole 12/20/2013 10:50:09 PM 0 (0x0000)
Command completed, return code = -2147467259 LiteTouch 12/20/2013 10:50:10 PM 0 (0x0000)
Litetouch deployment failed, Return Code = -2147467259  0x80004005 LiteTouch 12/20/2013 10:50:10 PM 0 (0x0000)

Cause

This occurs on systems that have multiple hard drives. The ZTIOSROLE.WSF script tries to copy the files from the installation sources from the incorrect drive letter.

Resolution

A workaround to this issue is to do the following:
  1. Edit the TS being used to deploy the image and locate the "Install Roles and Features" step
  2. Add a "Set Task Sequence Variable" step before the "Install Roles and Features" step and set it to the following:
Task Sequence Variable:  WindowsSource
Value:   E:\Deploy\Operating Systems\Windows Server 2012 x64\sources\sxs

Note The entry will vary. The path in the bdd.log can be used but you must determine what drive letter the source files are actually on. In this example we were trying to copy from D:\ but when you checked the DeployRoot variable logged directly before this section in BDD.LOG we could see the drive letter was actually E:\

Example of how this looks in the TS editor.


Properties

Article ID: 2932682 - Last Review: 5 Mar 2014 - Revision: 1

Feedback