This script installs additional device drivers onto the target computer before initiating the configuration of the operating system. This script reads the Drivers.xml file and copies the list of device driver files in the Drivers.xml file (created by and managed in the Drivers node in the Deployment Workbench) to the target computer.

When not deploying the Windows Vista operating system, the following updates are also performed on the target computer:

·     The setup answer file Sysprep.inf or Unattend.txt is updated so that the OemPnPDriversPath property includes the new driver locations.

·     The following registry subkey is updated to include the new driver locations: HKEY_LOCAL_MACHINE\Microsoft\Windows\CurrentVersion\DevicePath.

 

Value

Description

Input

Environment variables. Contains the property values, custom property values, database connections, deployment rules, and other information that the scripts require to complete the deployment process

Output

·     PnpEnum.xml. Contains a list of all devices installed on the target computer

·     ZTIDrivers.log. Log file that contains events that this script generates

·     BDD.log. Log file that contains events that all MDT scripts generate

References

·     Attrib.exe. Sets file and folder attributes

·     CMD.exe. Allows running of command-line tools

·     Microsoft.BDD.PnpEnum.exe. Utility that enumerates Plug and Play devices

·     Reg.exe. The console registry tool for reading and modifying registry data

·     ZTIConfigFile.vbs. Includes routines for processing XML files

·     ZTIUtility.vbs. Includes support functions and subroutines that the script uses

Location

distribution\Scripts

Use

cscript ZTIDrivers.wsf </debug:value>

 

Arguments

Value

Description

/debug:value

Outputs the event messages to the console and to the .log files. If the value specified in value is:

·     TRUE, event messages are sent to the console and the .log files

·     FALSE, event messages are sent only to the .log files (This is the behavior when the argument is not provided.)

 

Properties

Name

Read

Write

Architecture

˜

 

CustomDriverSelectionProfile

˜

 

DeploymentMethod

˜

 

DeploymentType

˜

 

DestinationLogicalDrive

˜

˜

DoCapture

˜

 

DriverPaths

˜

 

DriverSelectionProfile

˜

 

ImageBuild

˜

 

InstallFromPath

˜

 

OSDAnswerFilePath

˜

 

OSDAnswerFilePathSysPrep

˜

 

OSDPlatformArch

˜

 

Phase

˜

 

ResourceRoot

˜

 

SysPrepDriverSelectionProfile

˜

 

Related Topics

Scripts