Export (0) Print
Expand All
Expand Minimize

Run Command Line Task Sequence Action Variables

Updated: December 1, 2008

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

The task sequence variables govern how the task sequence action operates. The task sequence action reads and uses the variables that you mark as input variables. Alternatively, you can use the Set Task Sequence Variable action or the TSEnvironment COM object to set the variables at runtime. Only the task sequence action marks variables as output variables, which are read by actions that occur later in the task sequence.

Run Command Line Task Sequence Action

 

Action Variable Name Description

SMSTSDisableWow64Redirection

(input)

By default, when running on a 64-bit operating system, the program in the command line is located and run using the WOW64 file system redirector so that 32-bit versions of operating system programs and DLLs are found.  Setting this variable to “true” disables the use of the WOW64 file system redirector so that native 64-bit versions of operating system programs and DLLs can be found.  This variable has no effect when running on a 32-bit operating system.

WorkingDirectory

(input)

Specifies the starting directory for a command-line action.

noteNote
The specified directory name must not exceed 255 characters.

Examples:

  • "C:\"

  • "%SystemRoot%"

SMSTSRunCommandLineUserName

(input)

Specifies the account by which the command line will be run.   The value is a string of the form username or domain\username. This task sequence variable is only available in Configuration Manager 2007 R2

SMSTSRunCommandLinePassword

(input)

Specifies the password for the account specified by SMSTSRunCommandLineUserName. This task sequence variable is only available in Configuration Manager 2007 R2

See Also

For additional information, see Configuration Manager 2007 Information and Support.
To contact the documentation team, email SMSdocs@microsoft.com.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft