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.

Capture User State Task Sequence Action

Action Variable Name Description

OSDStateStorePath

(input)

The UNC or local path name of the folder to which the user state should be saved. No default.

OSDMigrateAdditionalCaptureOptions

(input)

Specifies additional user state migration tool (USMT) command line options that are not exposed in the Configuration Manager 2007 user interface and will be used when capturing the user state. The additional options are specified in the form of a string that is appended to the automatically generated USMT command line.

Note
The USMT options specified with this task sequence variable are not validated for accuracy prior to running the task sequence.

OSDMigrateMode

(input)

Allows you to customize the files that are captured by USMT. If this variable is set to “Simple,” then only the standard USMT configuration files are used. If this variable is set to “Advanced,” then the task sequence variable OSDMigrateConfigFiles specifies the configuration files that the USMT should use.

Valid values:

"Simple"

"Advanced"

OSDMigrateConfigFiles

(input)

Specifies the configuration files used to control the capture of user profiles. This variable is used only if OSDMigrateMode is set to “Advanced”. This comma-delimited list value should be set in order to perform customized user profile migration.

Example: miguser.xml,migsys.xml,migapps.xml

OSDMigrateContinueOnLockedFiles

(input)

Allows the user state capture to proceed if some files cannot be captured.

Valid values:

"true" (default)

"false"

OSDMigrateEnableVerboseLogging

(input)

Enables verbose logging for the USMT.

Valid values:

"true"

"false" (default)

OSDMigrateSkipEncryptedFiles

(input)

Specifies whether encrypted files should be captured.

Valid values:

"true"

"false" (default)

_OSDMigrateUsmtPackageID

(input)

Specifies the package ID of the Configuration Manager 2007 package that will contain the USMT files. This variable is required.

See Also