Microsoft KB Archive/883408

= How to run multiple instances of the Migration Wizard in Microsoft Exchange Server 2003 =

Article ID: 883408

Article Last Modified on 10/25/2007

-

APPLIES TO


 * Microsoft Exchange Server 2003 Enterprise Edition
 * Microsoft Exchange Server 2003 Standard Edition

-



SUMMARY
''A new feature in Microsoft Exchange Server 2003 lets you start multiple instances of the Migration Wizard on the same computer. By using several accounts and control files, you provide automatic input to the different instances of the Migration Wizard program.

This article describes steps to use the multiple instances feature of the Migration Wizard when you are migrating mailboxes from an Exchange Server 5.5 organization to an Exchange Server 2003 organization. This feature may speed up the migration of mailboxes to Exchange Server 2003.

''



INTRODUCTION
In Microsoft Exchange Server 2003, you can run multiple instances of the Exchange Server Migration Wizard on the same computer. You can start the Migration Wizard on any computer that has the Exchange Administration Tools installed. The Migration Wizard uses multi-threading to perform mailbox migration. Additionally, starting multiple instances of the wizard may cause faster migration of mailboxes to Exchange Server 2003.



MORE INFORMATION
You must start each instance of the Exchange Server Migration Wizard at a command prompt. Before you start an instance of the wizard, you must create a control file and an accounts file for each instance that you plan to start. You must find the following information, and then include this information in the control file:
 * The distinguished name of the destination mailbox store on the Exchange Server 2003 computer.
 * The Active Directory container where the user accounts are to be stored.

The accounts files and the control files will contain the information that is typically input when you use the graphical user interface (GUI) of the Migration Wizard.

To start multiple instances of the Migration Wizard on a computer that has the Exchange Administration Tools installed, follow these steps.

Warning If you use the ADSI Edit snap-in, the LDP utility, or any other LDAP version 3 client, and you incorrectly modify the attributes of Active Directory objects, you can cause serious problems. These problems may require you to reinstall Microsoft Windows 2000 Server, Microsoft Windows Server 2003, Microsoft Exchange 2000 Server, Microsoft Exchange Server 2003, or both Windows and Exchange. Microsoft cannot guarantee that problems that occur if you incorrectly modify Active Directory object attributes can be solved. Modify these attributes at your own risk.

 Create account files. To do this, follow these steps:  In Notepad, type, and then press ENTER.

is the user name part of a person's e-mail address. For example, the  in user@domain.com is &quot;user.&quot; Repeat step b until you have typed a manageable number of aliases in this text file. There is no limit to the number of aliases that you can type in a file. However, with a manageable number of aliases in a file, you can easily troubleshoot any issues. Save this file with a unique name. For example, &quot;accounts1.txt&quot; is a unique name. Create multiple files by repeating steps a-c until you have typed the aliases of all the users whom you want to migrate. When you save each file in step c, use a unique file name.

A sample account file may have the following entries:

  Use Active Directory Service Interfaces (ADSI) Editor to find the following: <ul> The distinguished name for the destination Exchange Server 2003 mailbox store</li> The Active Directory user accounts container</li></ul>

Note The names of the containers or folders and their paths may be different in your environment.

To use ADSI Editor, follow these steps:  Log on to a computer in the domain that has the Microsoft Windows Support Tools installed.

If the Windows Support Tools are not installed, install them from the Microsoft Windows Server CD. The file path for Windows Server 2003 is Support\Tools\Setup.msi. The file path for Windows 2000 Server is Support\Tools\Setup.exe. The Windows Server 2003 support tools can be installed only on a computer that is running Windows XP Professional or on a Windows Server 2003–based member server.</li> At a command prompt, change to the folder where the Windows Support Tools are installed. By default, the Windows Support Tools are installed in the :\Program Files\Support Tools folder.</li> Type adsiedit.msc, and then press ENTER. By default, ADSI Editor connects to the directory of the domain that you are logged on to.</li> In the left pane, expand Configuration, expand CN=Configuration, expand DC=Your_Domain_Name, expand CN=Your_Root_Domain, expand CN=Services, expand CN=Microsoft Exchange, expand CN=Your_Organization_Name, expand CN=Administrative Groups, and then expand CN=Your_Administrative_Group_Name.</li> Expand CN=Servers, expand CN=Your_Server_Name, expand CN=InformationStore, and then click CN=Your_Storage_Group_Name.</li> In the right pane, click CN=Mailbox Store .</li> Right-click the CN=Mailbox Store  object, and then click Properties.</li> In the Attributes list, double-click distinguishedName.</li> Make a note of the text in the Value box. This text is the distinguished name of the destination Exchange Server 2003 Information Store database. In step 3, you will type this text in your control files as the value for the ExchangeStoreDN variable.</li> Click Cancel two times.</li> In the left pane, expand the Domain  container.</li> Expand DC=Your_Domain_Name, expand DC=Your_Parent_Domain, and then expand DC=Your_Root_Domain container.</li> <li>Click the CN=Users container.</li> <li>Right-click the CN=Users container, and then click Properties.</li> <li>In the Attributes list, double-click distinguishedName.</li> <li>Make a note of the text in the Values box. This text is the distinguished name of the Active Directory container where the new accounts will be created. In step 3, you will type this text in your control files as the value for the Container variable.</li> <li>Click Cancel two times.</li> <li>Quit ADSI Editor.</li></ol> </li> <li>Create control files. <ol style="list-style-type: lower-alpha;"> <li>In Notepad, type the following lines of text into the opened text file, and press ENTER after each line:

Mode, Exchange

Exch55,TRUE

Postoffice,

ExchStoreDN,.

Container,.

Accounts,

TargetDC,

Note For the, type the file name of the first account file that you created in step 1.</li> <li>Save the file with a unique name, such as control1.txt.</li> <li>Repeat steps a through b until you have created as many control files as the account files that you created earlier. In each control file, replace the value of the Accounts variable with the name of one of the subsequent account files you created. Each control file is linked to a unique accounts file, on a one to one basis. They are linked by the file name in the Accounts variable. When you save each file in step b, use unique file names.

A sample control file may have the following entries:

Mode,Exchange

Exch55,TRUE

Postoffice,EX5_Server

ExchStoreDN,CN=Mailbox Store (EX03_Server),CN=First Storage Group,CN=InformationStore,CN=EX03_Server,CN=Servers,CN=First Administrative Group,CN=Administrative Groups,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=E03_Domain,DC=Main_Domain,DC=com

Container,CN=Users,DC=First Organization,DC=E03_Domain,DC=Main_Domain,DC=com

Accounts,accounts_sample.txt

TargetDC,Win2003_Server</li></ol> </li> <li>Start multiple instances of the Migration Wizard.

You can copy the account files and control files to the exchsrvr\bin folder. This action decreases path input on the command line while you are running the migration command. <ol style="list-style-type: lower-alpha;"> <li>At a command prompt, type the following command, and then press ENTER:

\exchsrvr\bin\mailmig.exe /m /c: /a:  /p:

Note For more information, see the &quot;More information about the switches in step 4a&quot; section.</li> <li>Repeat step a for each control file you created in step 2.</li></ol> </li></ol>

<div class="references_section">

For additional information about clone mode, see the Exchange Server 2003 Deployment Guide. To download the guide, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?familyid=77B6D819-C7B3-42D1-8FBB-FE6339FFA1ED

For more information about migrating mailboxes in Exchange, click the following article number to view the article in the Microsoft Knowledge Base:

328871 How to use the Exchange Migration Wizard to migrate mailboxes from an Exchange organization

More information about the switches in step 4a
The /a: switch and the /p: switch specify the credentials of the Exchange Server 5.5 user who has administrator permissions.

The /m switch runs the Migration Wizard in clone mode. Clone mode is available only in the Exchange Server 2003 version of the Migration Wizard. The target server must be Exchange Server 2003. This option is available only for Exchange-to-Exchange migrations.

In clone mode, the folderID attribute from the source account is copied to the folderID attribute of the target account. The folderID attribute enables the new accounts to access all resources that are available to the old accounts, if trusts exist between resource domains and the cloned account domain.

The /c: switch specifies that a control file is to be used.

Keywords: kbhowto KB883408

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.