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 Windows Settings Task Sequence Action

Action Variable Name Description

OSDComputerName

(input)

Specifies the name of the target computer.

Example:

"%_SMSTSMachineName%" (default)

OSDProductKey

(input)

Specifies the Windows product key.

Note
The specified value must be between 1 and 255 characters.

OSDRegisteredUserName

(input)

Specifies the default registered user name in the new operating system.

Note
The specified value must be between 1 and 255 characters.

OSDRegisteredOrgName

(input)

Specifies the default registered organization name in the new operating system.

Note
The specified value must be between 1 and 255 characters.

OSDTimeZone

(input)

Specifies the default time zone setting that should be used in the new operating system.

OSDServerLicenseMode

(input)

Specifies the Windows Server license mode that should be used.

Valid values:

"PerSeat"

"PerServer"

OSDServerLicenseConnectionLimit

(input)

Specifies the maximum number of connections allowed.

Note
The specified number must be in the range between 5 and 9999 connections.

OSDRandomAdminPassword

(input)

Specifies a randomly generated password for the administrator account in the new operating system. If set to “true”, the local administrator account will be disabled on the target computer. If set to “false”, the local administrator account will be enabled on the target computer, and the local administrator account password will be assigned the value of the variable OSDLocalAdminPassword.

Valid values:

"true" (default)

"false"

OSDLocalAdminPassword

(input)

Specifies the local administrator password. This value is ignored if the Randomly generate the local administrator password and disable the account on all supported platforms option is enabled.

Note
The specified value must be between 1 and 255 characters.

See Also