Use the Restore User State task sequence step to initiate the User State Migration Tool (USMT) to restore user state and settings to a target computer. This task sequence step is used in conjunction with the Capture User State task sequence step.
The Restore 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. With USMT 3.0 and above, this option always decrypts the USMT state store by using an encryption key generated and managed by Configuration Manager 2007.
The Restore 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 by using the OSDMigrateAdditionalRestoreOptions task sequence variable.
|If you are using the Restore User State task sequence step for a purpose unrelated to an operating system deployment scenario, you should add the Restart Computer task sequence step immediately following the Restore User State task sequence step.|
The Restore User State task sequence action can be run only in a standard operating system and will not run in the Windows Preinstallation Environment (WinPE). For information about task sequence variables for this task sequence action, see Restore User State Task Sequence Action Variables.
You can configure the following settings:
- Specifies a short user-defined name that describes the action taken in this step.
- Specifies 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 step to use when restoring 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. You should specify a package containing the 32-bit or x64 version of USMT depending upon the architecture of the operating system to which you are restoring the state.
- Restore all captured user profiles with standard options
- Restores the captured user profiles with the standard options. To customize the options that will be restored, select Customize user profile capture.
- Customize how user profiles are restored
- Allows you to customize the files that you want to restore to the target computer. Click Files to specify the configuration files in the USMT package you want to use for restoring the user profiles. To add a configuration file, enter the name of the file in the Filename box, and then click Add. The configuration files that will be used for the operation are listed in the Files pane. The .xml file you specify defines which user file will be restored.
- Restore local computer user profiles
- Restores the local computer user (i.e. not domain user) profiles. You will need to assign new passwords to the restored local user accounts because the original local user account passwords cannot be migrated. Enter the new password in the Password box, and confirm the password in the Confirm Password box.
- Continue if some files cannot be restored
- Continues restoring user state and settings even if some files are unable to be restored. This option is enabled by default. If you disable this option and errors are encountered while restoring files, the task sequence step will end immediately with a failure and not all files will be restored.
- Enable verbose logging
- Enable this option to generate more detailed log file information. When restoring state, the log Loadstate.log is generated and stored in the task sequence log folder in the \windows\system32\ccm\logs folder by default.