This script contains utility functions that most of the MDT scripts use.

 

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

None

References

·     Credentials_ENU.xml. Prompts the user for credentials that will be used when connecting to network resources

·     IPConfig.exe. Displays all current TCP/IP network configuration values and refreshes DHCP and DNS settings

·     MSHTA.exe. HTML application host

·     Regsvr32.exe. Registers files (.dll, .exe, .ocx, and so on) with the operating system

·     Xcopy.exe. Copies files and directories, including subdirectories

Location

·     distribution\Scripts

·     program_files\Microsoft Deployment Toolkit\Scripts

Use

<script language="VBScript" src="ZTIUtility.vbs"/>

 

Arguments

Value

Description

None

None

 

Properties

Name

Read

Write

_SMSTSAdvertID

˜

 

_SMSTSCurrentActionName

˜

 

_SMSTSCustomProgressDialogMessage

˜

 

_SMSTSInstructionTableSize

˜

 

_SMSTSLogPath

˜

 

_SMSTSMachineName

˜

 

_SMSTSNextInstructionPointer

˜

 

_SMSTSOrgName

˜

 

_SMSTSPackageID

˜

 

_SMSTSPackageName

˜

 

_SMSTSPackagePath

˜

 

_SMSTSReserved1

˜

 

_SMSTSReserved2

˜

 

Architecture

˜

 

AssetTag

˜

 

ComputerName

˜

 

Debug

˜

˜

DeploymentMethod

˜

 

DeployRoot

˜

 

DestinationDisk

˜

˜

DestinationLogicalDrive

˜

˜

DestinationPartition

˜

˜

EventShare

˜

 

HostName

˜

 

ImageBuild

˜

˜

ImageFlags

 

˜

ImageIndex

 

˜

ImageLanguage

 

˜

ImageProcessor

 

˜

ImageSize

 

˜

InstallFromPath

 

˜

JoinDomain

˜

 

LogPath

˜

˜

MacAddress

˜

 

OSCurrentVersion

˜

 

OSDAdvertID

˜

 

OSDAnswerFilePath

˜

˜

OSDAnswerFilePathSysprep

˜

˜

OSDComputerName

˜

˜

OSDPackageID

˜

 

OSDPackagePath

˜

 

OSDTargetSystemDrive

˜

 

OSGUID

 

˜

OSSKU

˜

 

OSVersion

˜

 

Phase

˜

 

Processor_Architecture

˜

 

ResourceRoot

˜

 

SLShare

˜

 

SLShareDynamicLogging

˜

 

TaskSequenceID

˜

 

TaskSequenceName

 

˜

TaskSequenceVersion

 

˜

UDDir

˜

 

UDShare

˜

 

UserDomain

˜

˜

UserID

˜

˜

UserPassword

˜

˜

UUID

˜

 

Version

Note   This variable is an internal variable that represents the version of MDT.

˜

˜

WDSServer

˜

 

 

Related Topics

Scripts