Use the Capture User State task sequence step to use the User State Migration Tool (USMT) to capture user state and settings from the computer running the task sequence. This task sequence step is used in conjunction with the Restore User State task sequence step. With USMT 3.0 and above, this option always encrypts the USMT state store by using an encryption key generated and managed by Configuration Manager 2007.

The Capture User State task sequence step can be used with the Request State Store and Release State Store task sequence steps if you want to save the state settings to or restore settings from a state migration point in the Configuration Manager 2007 site.

The Capture User State task sequence step provides control over a limited subset of the most commonly used USMT options. Additional command-line options can be specified using the OSDMigrateAdditionalCaptureOptions task sequence variable.

The Capture User State task sequence step can be run only in the full operating system and will not run in the Windows Preinstallation Environment (WinPE). For information about task sequence variables for this task sequence action, see Capture User State Task Sequence Action Variables.

You can configure the following settings:

Name

A short user-defined name that describes the action taken in this step.
Description

More detailed information about the action taken in this step.
User state migration tool package

Enter the Configuration Manager 2007 package that contains the version of USMT for this task sequence step to use when capturing the user state and settings. This package does not require a program. When the task sequence step is run, the task sequence will use the version of USMT in the package you specify. Specify a package containing the 32-bit or x64 version of USMT depending upon the architecture of the operating system from which you are capturing the state.
Note
USMT versions 2.6.1 and 3.0 are supported depending on the version of Windows you are deploying.
Capture all user profiles with standard options

Select this option to migrate all user profile information. This option is selected by default. If you select this option, but do not select the option to Restore local computer user profiles in the in the Restore User State task sequence step, the task sequence will fail because Configuration Manager 2007 cannot migrate the new accounts without assigning them passwords. Also, if you use the New Task Sequence wizard and create a task sequence to Install an existing image package, the resulting task sequence defaults to Capture all user profiles with standard options, but does not select the option to Restore local computer user profiles (i.e. non-domain accounts).You should select Restore local computer user profiles and provide a password for the account to be migrated. In a manually created task sequence, this setting is found under the Restore User State step. In a task sequence created by the New Task Sequence wizard, this setting is found under the step Restore User Files and Settings wizard page.If you have no local user accounts, this does not apply.
Customize how user profiles are captured

Select this option to specify a custom profile file migration. Click Files to select the configuration files for USMT to use with this step. You must specify a custom .xml file that contains rules that define the user state files that should be migrated.
Click here to select configuration files:

Select this option to select the configuration files in the USMT package you want to use for capturing user profiles. Click the Files button to launch the Configuration Files dialog box. To specify a configuration file, enter the name of the file on the Filename line and click the Add button.
Skip files using encrypted file system

Enable this option if you want to skip capturing files that are encrypted with the Encrypted File System (EFS), including profile files. Depending on the operating system and the USMT version, encrypted files might not be readable after you restore. For more information, see the USMT documentation.
Continue if some files cannot be captured

Enable this option to continue the migration process even if some files cannot be captured. This option is enabled by default. If you disable this option, if a file cannot be captured then the task sequence step will fail.
Enable verbose logging

Enable this option to generate more detailed log file information. When capturing state, the log Scanstate.log is generated and stored in the task sequence Log folder in the \windows\system32\ccm\logs folder by default.

See Also