The following sections describe task sequence action variables (action variables) and task sequence built-in variables (built-in variables). The following lists display Configuration Manager 2007 task sequence variables and how you can use them to control and customize a task sequence. Task sequence variables supply configuration settings for computer, operating system and user state configuration tasks that are performed on a Configuration Manager 2007 computer. Task sequence variables provide a mechanism to configure and customize individual task sequence steps within a task sequence. Use the following link for more information about task sequence variables: About Task Sequence Variables
When a computer runs a task sequence, the task sequence environment is initialized using general configuration settings. As individual task sequence steps are run within the task sequence, settings specific to the current task sequence action are added to the task sequence environment. After each task sequence step is completed, any settings specific to the task sequence step are removed from the task sequence environment.
Using action variables you can change the associated default values of a task sequence to customize how the task sequence step will be run on a target computer.
Note |
|---|
|
Task sequence variables with names that begin with an underscore (_) character are read-only. You can access the values associated with read-only task sequence variables, however you cannot change the associated values. |
Task Sequence Action Variables
Task sequence action variables (action variables) specify configuration properties for a particular task sequence step. By default, the default task sequence step settings are initialized and available only when the associated task sequence step is run. In other words, the task sequence variable setting is added to the task sequence environment before the task sequence step is run, and the value is removed after the task sequence has run.
For example; using the task sequence editor you can specify a start-in directory for a command line action by specifying the Start In property value in the Run Command Line task sequence step. The default value specified is stored in the task sequence environment as the WorkingDirectory variable, which is specific to the Run Command Line task sequence action. The WorkingDirectory environment variable is initialized before running the Run Command Line task sequence action. During the Run Command Line step, the specified directory value can be accessed through the environment variable named WorkingDirectory. After the task sequence step completes, the variable is removed from the task sequence environment. If the sequence contains another Run Command Line task sequence step, the new WorkingDirectory variable is initialized and set to the starting value for that task sequence.
While the default value for a task sequence action setting is present while the task sequence step is run, any new value you set can be used by multiple steps in the sequence. If you use one of the task sequence variable creation methods to override a built-in variable value, the new value remains in the environment and overrides the default value for other steps in the task sequence. In the previous example, if a Set Task Sequence Variable step is added as the first step of the task sequence, and sets the WorkingDirectory environment variable to the value C:\, both Run Command Line steps in the task sequence will use the new starting directory value.
The following tables describe the Configuration Manager 2007 action variables which are grouped by their associated task sequence action:
Run Command Line Task Sequence Action
|
Action Variable Name
|
Description
|
| SMSTSDisableWow64Redirection | Set this variable to "true" to disable Wow64 file redirection and 64bit registry redirection when the task sequence is evaluating file, folder and registry condition in a 64bit operating system. |
| WorkingDirectory | Specifies the starting directory for a command-line action. Note |
|---|
|
The specified directory name must not exceed 255 characters. |
Examples: |
Restart Computer Task Sequence Action
|
Action Variable Name
|
Description
|
| SMSRebootMessage | Specifies that an administrator configurable message to users before rebooting the computer will be displayed. If you don't specify a message, default message text is used. Note |
|---|
|
The message specified must not exceed 512 characters. |
Example: -
"This computer will be restarted; please save your work."
|
| SMSRebootTimeout | Specifies the number of seconds that the warning is displayed to the user before the computer will restart. Specify zero seconds to indicate that no reboot message should be displayed. Examples: "0" (default) "5" "10" |
Install Software Updates Task Sequence Action
|
Action Variable Name
|
Description
|
| SMSInstallUpdateTarget | Installs assigned software updates. You can specify all updates, or mandatory updates. Valid values: "All" "Mandatory" |
Apply Operating System Task Sequence Action
|
Action Variable Name
|
Description
|
| OSDConfigFileName | Specifies the file name of the operating system deployment answer file associated with the operating system deployment package |
| OSDImageIndex | Specifies the image index value of the WIM file that should be applied to the target computer. |
| OSDInstallEditionIndex | Specifies the version of Windows Vista 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 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) |
Apply Data Image Task Sequence Action
|
Action Variable Name
|
Description
|
| OSDDataImageIndex | Specifies the image index value of the WIM file that should be applied to the target computer. |
| OSDWipeDestinationPartition | Specifies if the files located on the target partition should be deleted. Valid values: "true" (default) "false" |
Setup Windows and ConfigMgr Task Sequence Action
|
Action Variable Name
|
Description
|
| SMSClientInstallProperties | Specifies the client installation properties that should be used when installing the Configuration Manager 2007 client. |
Capture Operating System Image Task Sequence Action
|
Action Variable Name
|
Description
|
| OSDCaptureAccount | Specifies a Windows account name that has permissions to the network share where the captured image will be stored. |
| OSDCaptureAccountPassword | Specifies the password for the Windows account used to store the captured image on a network share. |
| OSDCaptureDestination | Specifies the location where a captured operating system image will be saved. Note |
|---|
|
The directory specified must be between 1 and 255 characters. |
|
| OSDImageCreator | An optional name of the user that created the image, stored in the WIM file. Note |
|---|
|
The specified user name must be between 1 - 255 characters. |
|
| OSDImageDescription | An optional user-defined description of the captured operating system image that is stored in the WIM file. Note |
|---|
|
The specified description must be between 1 - 255 characters. |
|
| OSDImageVersion | An optional user-defined version number to assign to the captured operating system image. This value can be any combination of letters and numbers and is stored in the WIM file. Note |
|---|
|
The specified version must be between 1 - 32 characters. |
|
| OSDTargetSystemRoot | Stores the path to the currently running operating system for the Prepare ConfigMgr Client for Capture task sequence action. The task sequence action uses this task sequence variable to find the path to the operating system so that it can be verified as a supported operating system for capture by Configuration Manager 2007. |
Capture Network Settings Task Sequence Action
|
Action Variable Name
|
Description
|
| OSDMigrateAdapatorSettings | Specifies if the network adapter settings (TCP/IP, DNS, and WINS) configuration information should be captured. Examples: "true" (default) "false" |
| OSDMigrateNetworkMembership | Specifies if the workgroup or domain membership information should be migrated as part of the operating system deployment. Examples: "true" (default) "false" |
Apply Network Settings Task Sequence Action
|
Action Variable Name
|
Description
|
| OSDAdapterCount | Specifies the number of network adapters installed on the target computer. |
| OSDDNSDomain | Specifies the primary DNS server that will be used by the target computer. Note |
|---|
|
This value is set by the Apply Network Settings action, but it remains in the environment and is available to all subsequent task sequence actions. |
|
| OSDDomainName | Specifies the name of the Windows domain that the target computer should join. Note |
|---|
|
The specified length must be between 1 - 32 characters. |
|
| OSDDomainOUName | Specifies the RFC 1779 format name of the organizational unit (OU) which the target computer should join. If specified, the value must contain the full path. Example: LDAP://OU=MyOu,DC=MyDom,DC=MyCompany,DC=com |
| OSDEnableTCPIPFiltering | Specifies if TCP/IP filtering should be enabled. Note |
|---|
|
This value is set by the Apply Network Settings action, but it remains in the environment and is available to all subsequent task sequence actions. |
Valid values: "true" "false" (default) |
| OSDJoinAccount | Specifies the network account that should be used to add the target computer to a Windows domain. |
| OSDJoinPassword | Specifies the network password that should be used to add the target computer to a Windows domain. |
| OSDNetworkJoinType | Specifies the type of network the target computer should join as part of the operating system deployment. "0" indicates that the target computer should join a Windows domain. "1" specifies that the computer should join a workgroup. Valid values: "0" "1" |
| OSDSuffixSearchOrder | Specifies the DNS search order for the target computer. Note |
|---|
|
This value is set by the Apply Network Settings action, but it remains in the environment and is available to all subsequent task sequence actions. |
|
| OSDWorkgroupName | Specifies the name of the workgroup that the target computer should join. You must specify either this value, or the OSDDomainName value. Note |
|---|
|
The specified length must be between 1 - 32 characters. |
Example: "Accounting" |
Prepare Windows for Capture Task Sequence Action
|
Action Variable Name
|
Description
|
| OSDBuildStorageDriverList | Builds a mass storage device driver list. Valid values: "true" "false" (default) |
| OSDKeepActivation | Specifies whether the product activation flag should be reset. Valid values: "true" "false" (default) |
Capture User State Task Sequence Action
|
Action Variable Name
|
Description
|
| _SMSTSUserStatePath | Creates a location and allows you to save the user state locally. You must also set the OSDStateStorePath task sequence variable to _SMSTSUserStatePath. |
| OSDMigrateAdditionalCaptureOptions | Specifies additional user state migration tool (USMT) command line options that will be used to capture additional USMT options not exposed by the Configuration Manager 2007 user interface. This task sequence variable is only available for use with the Capture User State task sequence step. Note |
|---|
|
The USMT options specified with this task sequence variable are not validated for accuracy prior to running the task sequence. |
|
| OSDMigrateConfigFiles | Specifies the configuration files used to capture user profiles. This value is set for customized user profile migration. |
| OSDMigrateContinueOnLockedFiles | Allows the user state capture to proceed if some files cannot be captured. Valid values: "true" (default) "false" |
| OSDMigrateEnableVerboseLogging | Enables verbose logging for the user state migration tool (USMT). Valid values: "true" "false" (default) |
| OSDMigrateMode | Allows you to customize the files that are captured by the USMT. Valid values: "Simple" "Advanced" |
| OSDMigrateSkipEncryptedFiles | Specifies if encrypted files should be captured. Valid values: "true" "false" (default) |
| _OSDMigrateUsmtPackageID | Specifies the package ID of the Configuration Manager 2007 package that will contain the USMT files. This variable is required. |
Restore User State Task Sequence Action
|
Action Variable Name
|
Description
|
| OSDMigrateContinueOnRestore | Specifies that the user state restoration should continue even if some files cannot be restored. Valid values: "true" (default) "false" |
| OSDMigrateEnableVerboseLogging | Enables verbose logging for the USMT tool. Note |
|---|
|
This value is required by the action; it must be set to "true" or "false" |
Valid values: "true" "false" (default) |
| OSDMigrateLocalAccountPassword | Specifies if the local user account password should be reset for restored local user profiles. |
| OSDMigrateLocalAccounts | Specifies if the local computer account should be restored. Valid values: "true" "false" (default) |
| _OSDMigrateUsmtRestorePackageID | Specifies the package ID of the Configuration Manager 2007 package that contains USMT files that will be restored. This variable is required. |
Request State Store Task Sequence Action
|
Action Variable Name
|
Description
|
| OSDStateFallbackToNAA | Specifies if the task sequence step should use the Network Access Account as a fallback when the computer account fails to connect to the state migration point. Valid values: "true" "false" (default) |
| OSDStateSMPRetryCount | Specifies the number of times that the task sequence step should try to find a state migration point before failing. Note |
|---|
|
The specified count must be between 0 - 600. |
|
| OSDStateSMPRetryTime | Specifies number of seconds that the task sequence step should wait between retry attempts. Note |
|---|
|
The specified number of seconds must be between 0 - 30. |
|
Format and Partition Disk Task Sequence Step
|
Action Variable Name
|
Description
|
| OSDDiskIndex | Specifies the physical disk number to be partitioned. Note |
|---|
|
This value is required by the task sequence action. |
|
| OSDDiskpartBiosCompatibilityMode | Specifies whether or not to disable cache alignment optimizations when partitioning the hard disk for compatibility with certain types of BIOS. Valid values: "true" "false" (default) |
| OSDGPTBootDisk | Specifies whether or not to create an EFI partition on a GPT hard disk so that it can be used as the startup disk on EFI-based computers. Note |
|---|
|
This value is required by the action; it must be set to "True" or "False" |
Valid values: "true" "false" (default) |
| OSDPartitions | Specifies an array of partition settings; see the SDK topic for accessing array variables in the task sequence environment. Note |
|---|
|
This value is required by the task sequence action. |
This task sequence variable is an array variable. Each element in the array represents the settings for single partition on the hard disk. The settings defined for each partition can be accessed by combining the array variable name with the zero-based disk partition number and the property name. For example, the following variable names can be used to define the properties for the first partition that will be created by this task sequence action on the hard disk: Note |
|---|
|
If multiple partitions will be defined with this task sequence action the properties for the second partition can be defined by using their index in the variable name; for example; OSDPartitions1Type, OSDPartitions1FileSystem, OSDPartitions1Bootable, OSDPartitions1QuickFormat, OSDPartitions1VolumeName and so on. |
- OSDPartitions0Type - Specifies the type of partition and is a required property. Valid values are "Primary", "Extended", "Logical", and "Hidden".
- OSDPartitions0FileSystem - Specifies the type of file system to use when formatting the partition. This is an optional property, if no file system is specified the partition will not be formatted. Valid values are "FAT32" and "NTFS".
- OSDPartitions0Bootable - Specifies if the partition is bootable and is a required property. If this value is set to "TRUE" for MBR disks then this will be made the active partition.
- OSDPartitions0QuickFormat - Specifies the type of format that should be used and is a required property. If this value is set to "TRUE", a quick format will be performed otherwise a full format will be performed.
- OSDPartitions0VolumeName - Specifies the name that should be assigned to the volume when it is formatted. This is an optional property.
- OSDPartitions0Size - Specifies the size of the partition. Units are specified by the OSDPartitions0SizeUnits variable. This is an optional property. If this property is not specified the partition is created using all remaining free space.
- OSDPartitions0SizeUnits - Specifies the units that will be used when interpreting the OSDPartitions0Size task sequence variable. This is an optional property. Valid values are "MB" (default), "GB", and "Percent".
- OSDPartitions0VolumeLetterVariable - Partitions will always use the next available drive letter in Windows PE when they are created. Use this optional property to specify the name of another task sequence variable which will be used to save the new drive letter for future reference.
|
| OSDPartitionStyle | Specifies the partition style to use when partitioning the disk. "MBR" indicates the master boot record partition style, and "GPT" indicates the GUID Partition Table style. Note |
|---|
|
This value is required by the task sequence action; it must be set to "GPT" or "MBR" |
Valid Values: "GPT" "MBR" |
Convert Disk to Dynamic Task Sequence Action
|
Action Variable Name
|
Description
|
| OSDConvertDiskIndex | Specifies the physical disk number to be converted. Note |
|---|
|
This value is required by the task sequence action. |
|
Connect to Network Folder Task Sequence Action
|
Action Variable Name
|
Description
|
| SMSConnectNetworkFolderAccount | Specifies the administrator account that should be used to connect to the network share. Note |
|---|
|
This value is required by the task sequence action. |
|
| SMSConnectNetworkFolderDriveLetter | Specifies the network drive letter to connect to. This value is optional; if it is not specified, then the network connection is not mapped to a drive letter. Note |
|---|
|
If this value is specified the value must be in the range from D: to Z: |
Examples: "D:" "E:" |
| SMSConnectNetworkFolderPassword | Specifies the network password that should be used to connect to the network share. Note |
|---|
|
This value is required by the task sequence action. |
|
| SMSConnectNetworkFolderPath | Specifies the network path for the connection. Note |
|---|
|
This value is required by the task sequence action. |
Example: "\\servername\sharename" |
Join Domain or Workgroup Task Sequence Action
|
Action Variable Name
|
Description
|
| OSDJoinAccount | Specified the account that should be used by the target computer to join the Windows domain. |
| OSDJoinDomainName | Specifies the name of a Windows domain the target computer will join. Note |
|---|
|
The specified Windows domain name must be between 1 - 255 characters |
|
| OSDJoinDomainOUName | Specifies the RFC 1779 format name of the organizational unit (OU) which 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 must be between 0 - 32,767 characters. This value should not be set if the variable OSDJoinType is set to "1" (join workgroup). |
|
| OSDJoinPassword | Stores the network password that should be used by the target computer to join the Windows domain. Note |
|---|
|
This value is required if the variable OSDJoinType is set to "0" (join domain) |
|
| OSDJoinSkipReboot | Specifies whether the target computer should be restarted after joining the domain or workgroup. Valid values: "true" "false" |
| OSDJoinType | Specifies if 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 | Specifies the name of a workgroup the target computer will join. Note |
|---|
|
The specified workgroup name must be between 1 to 32 characters. |
Example: "Accounting" |
Capture Windows Settings Task Sequence Action
|
Action Variable Name
|
Description
|
| OSDMigrateComputerName | Specifies if the computer name should be migrated. Note |
|---|
|
This value is required by the action; it must be set to "true" or "false". |
Valid values: "true" (default) "false" |
| OSDMigrateRegistrationInfo | Specifies if the computer user and organizational information should be migrated. Note |
|---|
|
This value is required by the task sequence action; it must be set to "true" or "false". |
Valid values: "true" (default) "false" |
| OSDMigrateTimeZone | Specifies if the computer time zone settings should be migrated. Note |
|---|
|
This value is required by the task sequence action; it must be set to "true" or "false". |
Valid values: "true" (default) "false" |
Apply Windows Settings Task Sequence Action
|
Action Variable Name
|
Description
|
| OSDComputerName | Specifies the default name of the target computer. This can be overwritten when the task sequence runs by the Capture Windows Settings task sequence action if the Migrate computer name option is selected. Example: "%_SMSTSMachineName%" (default) |
| OSDProductKey | Specifies the Windows product key. Note |
|---|
|
The specified value must be between 1 - 255 characters. |
|
| OSDRegisteredUserName | Specifies the default registered user name in the new operating system. This can be overwritten when the task sequence runs by the Capture Windows Settings task sequence action if the Migrate registered user and organization name option is enabled. Note |
|---|
|
This value is required by the task sequence; the specified value must be between 1 - 255 characters. |
|
| OSDRegisteredOrgName | Specifies the default registered organization name in the new operating system. This can be overwritten when the task sequence runs by the Capture Windows Settings task sequence action if the Migrate registered user and organization names option is enabled. Note |
|---|
|
This value is required by the task sequence; the specified value must be between 1 - 255 characters. |
|
| OSDTimeZone | Specifies the default time zone setting that should be used in the new operating system. This can be overwritten when the task sequence runs the Capture Windows Settings action if the Migrate time zone option is enabled. Note |
|---|
|
This value is required by the task sequence. |
|
| OSDServerLicenseMode | Specifies the Windows Server license mode that should be used. Valid values: "PerSeat" "PerServer" |
| OSDServerLicenseConnectionLimit | Specifies the maximum number of connections allowed. Note |
|---|
|
The specified must be in the range between 5 - 9999 characters. |
|
| OSDRandomAdminPassword | 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 | 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. |
|
Auto Apply Drivers Task Sequence Action
|
Action Variable Name
|
Description
|
| OSDAutoApplyDriverCategoryList | Specifies the driver catalog category unique ID's the task sequence action will search in for required device drivers. This value is optional and it is not set by default. The available category ID's can be obtained by enumerating the list of SMS_CategoryInstance objects on the site. |
| OSDAllowUnsignedDriver | Specifies whether Windows should be configured to allow unsigned device drivers to be installed. This task sequence variable is not used when deploying the Windows Vista operating system. Note |
|---|
|
This value is required by the action; it must be set to "true" or "false". |
Valid values: "true" "false" (default) |
| OSDAutoApplyDriverBestMatch | Specifies what the task sequence action should do if there are multiple device drivers in the driver catalog that are compatible with a hardware device. If set to "true”, only the best device driver will be installed. If “false”, all compatible device drivers will be installed, and the operating system will choose the best driver to use. Note |
|---|
|
This value is required by the action; it must be set to "true" or "false". |
Valid values: "true" (default) "false" |
Apply Driver Package Task Sequence Action
|
Action Variable Name
|
Description
|
| OSDApplyDriverBootCriticalContentUniqueID | Specifies the content ID of the mass storage device driver in the driver package to install. If this is not specified, no mass storage driver is installed. |
| OSDApplyDriverBootCriticalINFFile | Specifies the INF file of the mass storage driver to be installed Note |
|---|
|
This task sequence variable is required if the OSDApplyDriverBootCriticalContentUniqueID is set. |
|
| OSDApplyDriverBootCriticalHardwareComponent | Specifies if a mass storage device driver is being installed, this must be “scsi”. Note |
|---|
|
This task sequence variable is required if the OSDApplyDriverBootCriticalContentUniqueID is set. |
|
| OSDApplyDriverBootCriticalID | Specifies the boot critical ID of the mass storage device driver to be installed. This is listed in the "scsi" section of the device driver’s txtsetup.oem file. Note |
|---|
|
This task sequence variable is required if the OSDApplyDriverBootCriticalContentUniqueID is set. |
|
| OSDAllowUnsignedDriver | Specifies whether Windows should be configured to allow unsigned device drivers to be installed. This task sequence variable is not used when deploying the Windows Vista operating system. Note |
|---|
|
This value is required by the action; it must be set to "true" or "false". |
Valid values: "true" "false" (default) |
Enable BitLocker Task Sequence Action
|
Action Variable Name
|
Description
|
| OSDBitLockerRecoveryPassword | Specifies instead of generating a random recovery password, the Enable BitLocker task sequence action will use the specified value as the recovery password. The value must be a valid numerical BitLocker recovery password. |
| OSDBitLockerStartupKey | Specifies instead of generating a random startup key for the key management option “Startup Key on USB only”, the Enable BitLocker task sequence action will use the value as the startup key. The value must be a valid, Base64-encoded BitLocker startup key. |
Task Sequence Built-in Variables
Task sequence built-in variables (built-in variables) are produced by the underlying task sequence engine and their associated values are generally read-only. Built in variables provide information about the environment where the associated task sequence is running. The values associated with a built-in variable are available in the task sequence environment throughout the entire task sequence. Typically, built-in variables are initialized before any task sequence steps are run in the task sequence. For example, the built-in variable _SMSTSLogPath is used to set the path that Configuration Manager 2007 components use to write log files while the task sequence runs; any task sequence step can access this environment variable.
The following list describes the Configuration Manager 2007 built-in variables available for use within a Configuration Manager 2007 task sequence:
|
Built-in Variable Name
|
Description
|
| _SMSTSAdvertID | Stores the current running task sequence advertisement ID. It uses the same format as a Configuration Manager 2007 software distribution advertisement ID. If the task sequence is running from a stand-alone media, this variable is un-defined. Example: "ABC20001" |
| _SMSTSBootImageID | Stores the Configuration Manager 2007 boot image package ID if there is a boot image package associated with the current running task sequence. The variable will not be set if there is no Configuration Manager 2007 boot image package associated. Example: "ABC00001" |
| _SMSTSClientGUID | Stores the value of Configuration Manager 2007 client GUID. This variable is not set if the task sequence is running through a stand-alone media. Example: "0a1a9a4b-fc56-44f6-b7cd-c3f8ee37c04c" |
| _SMSTSCurrentActionName | Specifies the name of currently running task sequence step. This variable will be set before the task sequence manager runs each individual step. Example: "run command line" |
| _SMSTSDownloadOnDemand | Set to "true" if the current task sequence is running in download on demand mode which means the task sequence manager downloads content locally only when it needs to access the content. |
| _SMSTSInWinPE | This variable is set to "true" when the current task sequence step is running in the Windows PE environment and set to "false" if not. You can test this task sequence variable to determine the current operating system environment. |
| _SMSTSLastActionRetCode | Stores the return code returned by the last action that was run. Example: "0" |
| _SMSTSLastActionSucceeded | The variable is set to "true" if the last action is succeeded and to "false" if the last action failed. If the last action is skipped because the step is disabled or the associated condition is evaluated to false, this variable is not reset which means it still holds the value for the previous action of the last action. |
| _SMSTSLaunchMode | Specifies the task sequence launch method. The task sequence can have the following values: -
"SMS" - specifies that the task sequence is launched using the Configuration Manager 2007 client.
-
"UFD" - specifies that the task sequence is launched using USB media.
-
"CD" - specifies that the task sequence is launched using CD/DVD sets.
-
"PXE" - specifies that the task sequence is launched from PXE
|
| _SMSTSLogPath | Stores the full path to the log directory. This is specified by the TSM and can be used to determine where actions should be logged. This value cannot be set when no hard drive is available. |
| _SMSTSMachineName | Stores and specifies the computer name. Stores the name of the computer that the task sequence will use to log all status messages. To change the computer name in the new operating system use the OSDComputerName variable. Example: "ABC" |
| _SMSTSMediaType | Specifies the type of media that will be used to initiate the installation. Examples of types of media are Boot Media, Full Media, and PXE. |
| _SMSTSMP | Stores the name or IP address of a Configuration Manager 2007 management point. |
| _SMSTSMPPort | Stores the management point port number of a Configuration Manager 2007 management point. Example: "80" |
| _SMSTSOrgName | Stores the branding title name which will be displayed in task sequence progress UI dialog. Example: "XYZ Organization" |
| _SMSTSPackageID | Stores the current running task sequence ID. This ID uses the same format as a Configuration Manager 2007 software package ID. Example: "HJT00001" |
| _SMSTSPackageName | Stores the current running task sequence name specified by the Configuration Manager 2007 administrator when the task sequence is created. Example: "Deploy xpsp2 task sequence" |
| _SMSTSRunFromDP | Set to "true" if the current task sequence is running in run from distribution point mode, which means the task sequence manager will obtain required packages from distribution point shares. |
| _SMSTSSiteCode | Stores the site code of the Configuration Manager 2007 site. Example: "ABC" |
| _SMSTSType | Specifies the type of the current running task sequence. It can have following values: "1" - indicates the generic task sequence. "2" - indicates the operating system deployment task sequence. |
| _SMSTSUseCRL | Specifies if the task sequence uses the certificate revocation list when using SSL to communicate with the management point. |
| _SMSTSUserStarted | Specifies whether a task sequence is started by a user. This variable will only be set if the task sequence is started from the Configuration Manager 2007 client. For example, if _SMSTSLaunchMode is set to "SMS". The variable can have following values: - "true" - specifies that the task sequence is manually started by a user from client RAP.
- "false" - specifies that the task sequence is initiated automatically by the Configuration Manager 2007 scheduler.
|
| _SMSTSUseSSL | Specifies if the task sequence uses SSL to communicate with the Configuration Manager 2007 management point. If your site is running in native mode set the value to "true". |
| SMSTSErrorDialogTimeout | Specifies that a dialog indicating an error occurred. The dialog will be dismissed automatically in 15 minutes by default. Users can set this task sequence variable to control the timeout value in seconds. |
| SMSTSRebootDelay | Specifies how many seconds to wait before the computer will reboot. The task sequence manager will display a notification dialog before reboot if this variable is not set to 0. Examples: "0" "30" |
| SMSTSRebootMessage | Specifies the message to display in the shutdown dialog box when a reboot is requested. If this variable is not set, then a default message will be shown. Examples: This computer is being rebooted by the task sequence manager. |
| SMSTSRebootRequested | Indicates that a reboot is requested after completing the current task sequence step. If a reboot is needed, simply set this variable to "true" and the task sequence manager will restart the machine after this task sequence step. The task sequence does not support an individual task sequence step to reboot the computer. The task sequence step must set this task sequence variable if it requires a reboot to complete the task sequence step. After the computer is rebooted, the task sequence will continue running from the next task sequence step. |
| SMSTSRetryRequested | Requests a retry after the completion of the current task sequence step. If this task sequence variable is set, the SMSTSRebootRequested must also be set to "true". After the computer is rebooted, the task sequence manager will rerun the same task sequence step. |
See Also