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.

Restore User State Task Sequence Action

Action Variable Name Description

OSDStateStorePath

(input)

The UNC or local pathname of the folder from which the user state should be restored.

OSDMigrateContinueOnRestore

(input)

Specifies that the user state restoration should continue even if some files cannot be restored.

Valid values:

"true" (default)

"false"

OSDMigrateEnableVerboseLogging

(input)

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)

OSDMigrateLocalAccounts

(input)

Specifies whether the local computer account should be restored.

Valid values:

"true"

"false" (default)

OSDMigrateLocalAccountPassword

(input)

If “OSDMigrateLocalAccounts” is “true,” this variable must contain the password to be assigned to all local accounts that are migrated. Because the same password is assigned to all migrated local accounts, it should be considered a temporary password that will be changed later by some method other than Configuration Manager 2007 operating system deployment.

OSDMigrateAdditionalRestoreOptions

(input)

Specifies additional user state migration tool (USMT) command line options that will be used when restoring 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.

_OSDMigrateUsmtRestorePackageID

(input)

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

See Also