Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Microsoft Deployment Toolkit: Disk not ready installing roles/features


View products that this article applies to.

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)

↑ Back to the top


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.

↑ Back to the top


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.


↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2932682
Revision : 1
Created on : 1/7/2017
Published on : 3/5/2014
Exists online : False
Views : 188