Using the Microsoft User State Migration Tool With ZENworks Configuration Management

0 Likes

The following topics are discussed as an alternative to ZENworks Personality Migration:



MicrosoftRegistered WindowsRegistered User State Migration Tool (USMT) migrates user files and settings. You can use USMT to perform unattended migrations and to migrate files and settings for computers with multiple users. Also, with USMT you have the ability to encrypt and compress the store. USMT is intended for administrators who are performing automated deployments.








Section 1: Installing USMT



USMT is bundled with the WindowsRegistered Automated Installation Kit (AIK) for Windows 7. You must, therefore, extract USMT from the WindowsRegistered Automated Installation Kit (AIK) and install it on a device to use USMT to migrate personalities.


Do the following to install USMT on your device:



  1. Install the WindowsRegistered Automated Installation Kit (AIK) for Windows 7.

    1. Download the KB3AIK_EN.iso from Microsoft download center.

  2. Install Windows AIK from the downloaded iso file.


  • From the Windows AIK installation directory, copy the USMT directory to a shared folder for later use.

  • Install USMT on managed devices.



The following table explains the steps to install USMT:





Task

Steps



1. Create an Action bundle in ZENworks Control Center.



  1. Log in to ZENworks Control Center, then click the Bundles tab.

  • In the Bundle list, click New, then click Bundle.

  • Select Directive bundles, then click Next.

  • Select Actions under bundle category, then click Next.

  • Fill in the necessary fields, then click Next.




2. Add the Install Directory(s) action to the Action bundle that you created.



  1. Click Add, then select Install Directory action from the list.

  • In the Install Directory dialog box, in the Source Directory field, upload the contents of USMT to the content server.

  • In the Destination Directory field, specify the path to the destination folder on the managed device.

    For example, if the Install directory that is on the C:\ drive is the destination directory, then specify the path as C:\Install.

  • Click OK to close the Select Files dialog box.

  • Click OK to close the Add Action - Install File(s) dialog box.




3. Assign the bundle to a managed device


  1. Select the newly created bundle.

  • Click Action, then select Assign to Device.

  • Select the devices to which to assign this bundle.

  • Click Next twice, then click Finish.




4. Launch the bundle



  1. Launch the bundle from the managed device.













Section 2: Example for Storing a Personality from a Windows XP device by Using USMT



The following table explains how to store personalities of users or devices that you want to migrate:





Steps

User Interface



1. Create an Action bundle


  1. Log in to ZENworks Control Center, then click the Bundles tab.

  • In the Bundle list, click New, then click Bundle.

  • Select Directive bundles, then click Next.

  • Select Actions under bundle category, then click Next.

  • Fill in the necessary fields, then click Next.




2. Add the Launch Executable action


  1. Click Add,then select the Launch Executable action from the list.

  • In the Command field under the General tab, specify the path where the scanstate.exe file is located on the managed device.

  • In the Command Line Parameters field, enter the parameter \\fileserver\migration\mystore /i:miguser.xml /i:migapp.xml /o to store the users and application personalities.

    \\fileserver\migration\mystore: Path to store the personality file.

    Note: You can also use the environment variables in the Path field.

    Eg: \\fileserver\migration\%username%

  • Click OK to close the Add Action - Launch Executable dialog box.

  • Click Next, then click Finish.




3. Assign the bundle to a managed device


  1. Select the newly created Action bundle.

  • Click Action, then select Assign to Device.

  • Select the Windows XP device to which to assign this bundle.

  • Click Next twice, then click Finish.




4. Launch the bundle


  1. Launch the bundle from the managed device.













Section 3: Example for Applying a Personality to a Windows 7 device by Using USMT



The following table explains how to apply the stored personalities of users or devices:





Steps

User Interface



1. Create an Action bundle


  1. Log in to ZENworks Control Center, then click the Bundles tab.

  • In the Bundle list, click New, then click Bundle.

  • Select Directive bundles, then click Next.

  • Select Actions under bundle category, then click Next.

  • Fill in the necessary fields, then click Next.




2. Add the Launch Executable action


  1. Click Add,then select the Launch Executable action from the list.

  • In the Command field under the General tab, specify the path where the loadstate.exe file is located on the managed device.

  • In the Command Line Parameters field, enter the parameter "\\fileserver\migration\mystore /i:miguser.xml /i:migapp.xml /o" to apply the users and application personalities.

    \\fileserver\migration\mystore: Path to the personality file.

    Note: You can even use environment variables in the path field.

    Eg: \\fileserver\migration\%username%

  • Click OK to close the Add Action - Launch Executable dialog box.

  • Click Next, then click Finish.




3. Finish with bundle creation


  1. Click Finish button to complete the bundle creation.




4. Assign the bundle to a managed device


  1. Select the newly created Action bundle.

  • Click Action, then select Assign to Device.

  • Select the Windows 7 device to which to assign this bundle.

  • Click Next twice, then click Finish.




5. Launch the bundle


  1. Launch the bundle from the managed device.












Note: For more information on the Microsoft User State Migration Tool, see the Microsoft documentation.


Labels:

How To-Best Practice
Comment List
Related
Recommended