These task sequence variables govern the operation of the task sequence action. Variables marked as input variables are read or used by the task sequence action. In most cases, input variables correspond to task sequence action fields in the task sequence editor and can be set via that user interface. Alternatively, input variables can be set at runtime from per-collection or per-computer variables, via the Set Task Sequence Variable action or via the TSEnvironment COM object. Variables marked as output variables are written or set by the task sequence action to be read by later actions in the task sequence.

Apply Operating System Task Sequence Action

Action Variable Name Description

OSDConfigFileName

(input)

Specifies the file name of the operating system deployment answer file associated with the operating system deployment package.

OSDImageIndex

(input)

Specifies the image index value of the WIM file that should be applied to the target computer.

OSDInstallEditionIndex

(input)

Specifies the version of Windows Vista or later operating system that will be installed. If no version is specified, Windows setup will determine which version to install using the referenced product key.

Note
You should only use a value of zero (0) if the following conditions are true:
  • You are installing a pre-Windows Vista or later operating system, or

  • You are installing Windows Vista, and

  • No product key is specified, and

  • The operating system you are installing is a volume license edition.

Valid values:

"0" (default)

OSDTargetSystemDrive (output)

Specifies the drive letter of the partition containing the operating system files.

See Also