Migrate User Accounts

By default, all users are migrated. The only way to specify which users to include and exclude is on the command line by using the User options. You can't specify users in the migration XML files or by using the Config.xml file.

To migrate all user accounts and user settings

Links to detailed explanations of commands are available in the Related articles section.

  1. Sign into the source computer as an administrator.

  2. Enter the following ScanState.exe command line in a command prompt window:

    ScanState.exe \\server\share\migration\mystore /i:MigDocs.xml /i:MigApp.xml /o
    
  3. Sign into the destination computer as an administrator.

  4. Enter one of the following LoadState.exe command lines in a command prompt window:

    • If you're migrating domain accounts, enter:

      LoadState.exe  \\server\share\migration\mystore /i:MigDocs.xml /i:MigApp.xml
      
    • If you're migrating local accounts along with domain accounts, enter:

      LoadState.exe  \\server\share\migration\mystore /i:MigDocs.xml /i:MigApp.xml /lac /lae
      

      Note

      You do not have to specify the /lae option, which enables the account that was created with the /lac option. Instead, you can create a disabled local account by specifying only the /lac option, and then a local administrator needs to enable the account on the destination computer.

To migrate two domain accounts (User1 and User2)

Links to detailed explanations of commands are available in the Related articles section.

  1. Sign into the source computer as an administrator.

  2. Enter the following ScanState.exe command line in a command prompt window:

    ScanState.exe \\server\share\migration\mystore /ue:*\* /ui:contoso\user1 /ui:fabrikam\user2 /i:MigDocs.xml /i:MigApp.xml /o
    
  3. Sign into the destination computer as an administrator.

  4. Enter the following LoadState.exe command line in a command prompt window:

    LoadState.exe  \\server\share\migration\mystore /i:MigDocs.xml /i:MigApp.xml
    

To migrate two domain accounts (User1 and User2) and move both accounts from the Contoso domain to the Fabrikam domain

Links to detailed explanations of commands are available in the Related articles section.

  1. Sign into the source computer as an administrator.

  2. Enter the following ScanState.exe command line in a command prompt window:

    ScanState.exe \\server\share\migration\mystore /ue:*\* /ui:contoso\user1 /ui:contoso\user2 /i:MigDocs.xml /i:MigApp.xml /o
    
  3. Sign into the destination computer as an administrator.

  4. Enter the following LoadState.exe command line in a command prompt window:

    LoadState.exe  \\server\share\migration\mystore /mu:contoso\user1:fabrikam\user1 /mu:contoso\user2:fabrikam\user2 /i:MigDocs.xml /i:MigApp.xml
    

Identify users

ScanState syntax

LoadState syntax