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.

Join Domain or Workgroup Task Sequence Action

Action Variable Name Description

OSDJoinAccount

(input)

Specifies the account that should be used by the target computer to join the Windows domain. This variable is required when joining a domain.

OSDDomainName

(input)

Specifies the name of a Windows domain the target computer will join.

Note
The specified Windows domain name length must be between 1 and 255 characters.

OSDDomainOUName

(input)

Specifies the RFC 1779 format name of the organizational unit (OU) that the target computer should join. If specified, the value must contain the full path.

Example:

LDAP://OU=MyOu,DC=MyDom,DC=MyCompany,DC=com

Note
The specified Windows domain OU name length must be between 0 and 32,767 characters. This value should not be set if the variable OSDJoinType is set to "1" (join workgroup).

OSDJoinPassword

(input)

Specifies the network password that should be used by the target computer to join the Windows domain. If the variable is not specified then a blank password is tried.

Note
This value is required if the variable OSDJoinType is set to "0" (join domain).

OSDJoinSkipReboot

(input)

Specifies whether the target computer should be restarted after joining the domain or workgroup.

Valid values:

"true"

"false"

OSDJoinType

(input)

Specifies whether the target computer should join a Windows domain or a workgroup. "0" will configure the target computer to join a specified Windows domain. "1" will configure the target computer to join a specified workgroup.

Valid values:

"0"

"1"

OSDJoinWorkgroupName

(input)

Specifies the name of a workgroup that the target computer will join.

Note
The specified workgroup name length must be between 1 and 32 characters.

Example:

"Accounting"

See Also