Export (0) Print
Expand All

How to Capture and Restore the User State

Updated: May 1, 2012

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

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.

Before you create the task sequence you must do the following:

  • Create a computer association between the reference computer and the target computer. For more information about creating a computer association, see How to Create a Computer Association for a Side-by-Side Migration.

  • Create a USMT package by using the Create Package and Program Wizard. When you run the wizard, use the following information:

    • On the Package page of the wizard, select This package contains source files and browse to the USMT folder in the WAIK folder.

      Only one USMT package is required for x64 and x86 computers, so browse to the root USMT folder. Typically the path to the USMT folder is C:\Program Files\WAIK\tools\USMT.

    • On the Program Type page of the wizard, select Do not create a program.

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.

    noteNote
    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.

    noteNote
    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.

    ImportantImportant
    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.

    ImportantImportant
    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.

How to Restore the User State Data when the Operating System Deployment Fails

If the operating system deployment fails, use the USMT 4.0 LoadState feature to retrieve the user state data that was captured during the deployment process. This includes data that is stored on a state migration point or data that is saved locally on the destination computer. For more information on this USMT feature, see LoadState Syntax.

See Also

For additional information, see Configuration Manager 2007 Information and Support.
To contact the documentation team, email SMSdocs@microsoft.com.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft