Export (0) Print
Expand All

Migrate User Accounts

Published: June 17, 2009

Updated: June 29, 2010

Applies To: Windows 7

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 cannot specify users in the migration XML files or using the Config.xml file.

To migrate all user accounts and user settings

  1. Log on to the source computer as an administrator, and specify the following in a Command-Prompt window:

    scanstate \\fileserver\migration\mystore /i:miguser.xml /i:migapp.xml /o

  2. Log on to the destination computer as an administrator.

  3. Do one of the following:

    • If you are migrating domain accounts, specify:

      loadstate \\fileserver\migration\mystore /i:miguser.xml /i:migapp.xml

    • If you are migrating local accounts along with domain accounts, specify:

      loadstate \\fileserver\migration\mystore /i:miguser.xml /i:migapp.xml /lac /lae

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

  1. Log on to the source computer as an administrator, and specify:

    scanstate \\fileserver\migration\mystore /ue:*\* /ui:domain1\user1 /ui:domain2\user2 /i:miguser.xml /i:migapp.xml /o

  2. Log on to the destination computer as an administrator.

  3. Specify the following:

    loadstate \\fileserver\migration\mystore /i:miguser.xml /i:migapp.xml

Migrate two domain accounts (User1 and User2) and move User1 from the FarEast domain to the FarWest domain

  1. Log on to the source computer as an administrator, and type the following at the command-line prompt:

    scanstate \\fileserver\migration\mystore /ue:*\* /ui:fareast\user1 /ui:fareast\user2 /i:miguser.xml /i:migapp.xml /o

  2. Log on to the destination computer as an administrator.

  3. Specify the following:

    loadstate \\fileserver\migration\mystore /mu:fareast\user1:farwest\user2 /i:miguser.xml /i:migapp.xml

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft