In Microsoft System Center Configuration Manager 2007 SP2, hard-link migration maintains user state data on the Windows-based computer when the old operating system is removed and the new operating system is installed. It is best suited to scenarios where the operating system is being upgraded on a computer. Using a hard-link migration store improves migration performance, enables new migration options, and reduces hard-disk utilization and deployment costs. User State Migration Tool (USMT) 4.0 is included in Configuration Manager 2007 SP2 and supports hard-link migration storage for user state migration. For more information about supported operating systems and other requirements of USMT 4.0, see Requirements (

The information in this topic applies only to Configuration Manager 2007 SP2.

Hard-link user state migration is enabled by using the Set Task Sequence Variable task sequence action. The variables described in the following table are required for hard-link state migration.

Task Sequence Variable Description and Settings


Defines the path to the user state store. The path must be on a local drive.


Specifies that the store will be migrated by using a hard link. Must include /nocompress /hardlink.


Specifies that the store will be migrated by using a hard link. Must include /nocompress /hardlink.

How to Use Hard Link Migration

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

  2. Right-click the task sequence that will include the capture of a user state with hard links, and then select Edit.

  3. In the Task Sequence Editor, select a task sequence step before the Capture User State Storage step, click Add, navigate to General, and then click Set Task Sequence Variable. Add a Task sequence variable and Value for hard-link migration. Repeat for each task sequence variable.

  4. In the Task Sequence Editor, after the Restore User State step, click Add, navigate to General, and then click Run Command Line action. Type the following in the Run Command Line action:

    • Type .\%PROCESSOR_ARCHITECTURE%\usmtutils.exe /rd %OSDStateStorePath% in the Command line field.

    • Select the Package check box.

    • In the Select a Package dialog box, browse to the USMT 4.0 package, and then click OK.

See Also