You can capture and restore the user state information by using a custom task sequence. This method is helpful with side-by-side migration and hardware upgrade deployment scenarios so that you can retain the user settings associated with the reference computer. The User State Migration Tool (USMT) version 3.0 is required to complete the necessary capture and restore steps.

Important
You must create a computer association before you can capture the user state from a reference computer. For more information about creating a computer association, use the following link: How to Create a Computer Association for a Side-by-Side Migration

Use the following procedures to capture and restore the user state.

To capture the user state

  1. In the Configuration Manager console, navigate to System Center Configuration Manager / Site Database / Computer Management / Operating System Deployment / Task Sequences.

  2. To start the New Task Sequence Wizard, right-click the Task Sequence node, and then click New - Task Sequence.

  3. To create a new custom task sequence, on the Create a New Task Sequence page, select Create a new custom task sequence.

  4. On the Task Sequence Information page, you can assign a name, version, and an optional description to the custom task sequence.

    Note
    You can associate this custom task sequence with a boot image by clicking Browse to open the Select a Boot Image dialog box, and then selecting the desired image.
  5. To add the capture step to the task sequence, edit the task sequence by right-clicking the new custom task sequence in the results pane and selecting Edit from the context menu.

  6. To create a location to store the captured user state, click Add to add the Request State Store step, and then click User State/Request State Store. This will create a UNC connection to state migration point.

  7. To add the capture step, click Add, click User State, and then click Capture User State. You can do any of the following:

    1. To specify the package that contains the USMT you will use with this task sequence step, click Browse to open the Select a Package dialog box, and then specify the USMT package. When you select a package, the selected package's ID and version information displays.

    2. To capture all the user profiles with the standard options, select Capture all user profiles with standard options.

    3. To customize the user profile capture, select Customize user profile capture, click Files to open the Configuration Files dialog box, specify the name of the configuration file you want to use, and then click Add.

    4. To delete an existing configuration file associated with this task sequence step, select the file in the Files pane, and then click Remove.

To restore the user state

  1. In the Configuration Manager console, navigate to System Center Configuration Manager / Site Database / Computer Management / Operating System Deployment / Task Sequences.

  2. To open the New Task Sequence Wizard, right-click the Task Sequence node, and then click New - Task Sequence.

  3. To create a new custom task sequence, on the Create a New Task Sequence page, select Create a new custom task sequence.

  4. On the Task Sequence Information page, specify a name, version, and an optional description to be assigned to the custom task sequence.

    Note
    You can associate this custom task sequence with a boot image by clicking Browse to open the Select a Boot Image dialog box and selecting the desired image.
  5. To add the restore step to the task sequence, edit the task sequence by right-clicking the task in the results pane, and then clicking Edit.

  6. To establish a connection to the state migration point add the Request State Store task sequence step and select Restore state from another computer.

  7. In the Task Sequence Editor, click Add - User State, and then click Restore User State.

    Important
    If you are using this task sequence step for a task unrelated to an operating system deployment scenario, you should add the Restart Computer task sequence step immediately following this task sequence step.
    1. To specify the package that contains the USMT you will use with this task sequence step, click Browse to open the Select a Package dialog box, and then specify the USMT package. When you select a package, the selected package's ID and version information displays.

    2. To restore all of the captured user profiles with the standard options, select Restore all captured user profiles with standard options.

    3. To customize the user profile restore, select Customize user profile restore, click Files to open the Configuration Files dialog box, specify the name of the configuration file you want to use, and then click Add.

    4. To delete an existing configuration file associated with this task sequence step, select the file in the Files pane, and then click Remove.

  8. To restore the local computer user profiles, select Restore local computer profiles. Specify a new password that should be assigned to the local accounts. Existing passwords for local accounts cannot be migrated, so the new password specified will be assigned to the local computer accounts.

  9. To allow the restore task sequence step to proceed if some of the selected client files cannot be restored, select the Continue if some files cannot be restored check box.

  10. To enable logging for this task sequence step, select the Enable verbose logging check box.

  11. To release the user state, add the Release State Store step by clicking Add, and then clicking User State/Release State Store.

    Important
    The task sequence action that runs prior to the Release State Store task sequence step must be successful before you can run the Release State Store task sequence step.

See Also