Microsoft KB Archive/329271

= Event ID 10008 Messages Are Logged When You Use the Mailmig.exe Command-Line Utility to Migrate Lotus Notes Users to Exchange 2000 =

Article ID: 329271

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Exchange 2000 Server Standard Edition

-



This article was previously published under Q329271



SYMPTOMS
When you use the Mailmig.exe command-line utility to migrate Lotus Notes users to Exchange 2000, the migration may fail and you may receive output similar to the following: Opening the control file control.txt. Parsing the control file control.txt for keywords and values. ---   Keyword found: Mode, = Notes. Keyword found: File, = c:\program files\exchsrvr\bin\. Keyword found: ExchStoreDN, = CN=Mailbox Store (),CN=First Storage Group,CN=,CN=Servers,CN=NYC,CN=Administrative Groups,CN=Smith(Exchange),CN=Smith (Exchange),DC=AC,DC=LP,DC=ACML,DC=com. Keyword found: Container, = OU=Users,DC=AC,DC=LP,DC=ACML,DC=com. Keyword found: IniFile, = C:\Lotus\Notes\notes.ini. Keyword found: POName, = DOM1//ACMC. Keyword found: DocLinkConversion, = RTF. Keyword found: NTAccounts, = Random. Keyword found: ExchStore, = Mailbox Store (). Keyword found: Home-Server, = . ---   Import Mode = Lotus Notes. Invalid Server specified or you do not have the permissions required to complete the operation. ---   Unnecessary keyword 'POName,' found in control file. The keyword will be ignored. Unnecessary keyword 'Home-Server,' found in control file. The keyword will be ignored. Unnecessary keyword 'Container,' found in control file. The keyword will be ignored. Unnecessary keyword 'NTAccounts,' found in control file. The keyword will be ignored. Unnecessary keyword 'IniFile,' found in control file. The keyword will be ignored. Unnecessary keyword 'DocLinkConversion,' found in control file. The keyword will be ignored. Unnecessary keyword 'ExchStore,' found in control file. The keyword will be ignored. ---   Errors were encountered during this migration. See the Event Log for details. Additionally, the following event ID messages are logged in the Application event log in Event Viewer: Event Type: Error

Event Source: MSExchangeMig

Event ID: 10053

Description: Invalid Server specified or you do not have the permissions required to complete the operation.

-and-

Event Type: Warning

Event Source: MSExchangeMig

Event Category: None

Event ID: 10008

Description:Unnecessary keyword 'Accounts,' found in control file. The keyword will be ignored.

-and-

Event Type: Warning

Event Source: MSExchangeMig

Event Category: None

Event ID: 10008

Description: Unnecessary keyword 'PostOffice,' found in control file. The keyword will be ignored.

-and-

Event Type: Warning

Event Source: MSExchangeMig

Event Category: None

Event ID: 10008

Description: Unnecessary keyword 'Container,' found in control file. The keyword will be ignored.

-and-

Event Type: Warning

Event Source: MSExchangeMig

Event Category: None

Event ID: 10008

Description: Unnecessary keyword 'NTAccounts,' found in control file. The keyword will be ignored.

-and-

Event Type: Warning

Event Source: MSExchangeMig

Event Category: None

Event ID: 10008

Description: Unnecessary keyword 'Port,' found in control file. The keyword will be ignored.



CAUSE
This problem may occur if you use the Mailmig.exe command-line utility and if the NTAccounts parameter is set to NO in the control file.



WORKAROUND
To work around this problem, use the graphical user interface (GUI) version of the Migration Wizard instead of the Mailmig.exe command-line utility. To start the Migration Wizard GUI, click Start, point to All Programs, point to Microsoft Exchange, and then click Migration Wizard.

If you have already created new user accounts in the Microsoft Active Directory directory service for the accounts that you want to migrate, follow these steps:
 * 1) In the control file, set the NTaccount parameter to RANDOM.
 * 2) Click Start, click Run, and then type Mailmig.exe.
 * 3) Click OK.
 * 4) Wait for the Migration Wizard to create new accounts.
 * 5) After the Migration Wizard has completed, use the Active Directory Cleanup Wizard (ADClean) to merge the accounts.

For additional information about the ADClean utility, click the following article number to view the article in the Microsoft Knowledge Base:

270655 XADM: ADClean Command Line Options



MORE INFORMATION
If the migrated users are from Lotus Notes contacts and if these contacts were members of distribution lists (DLs) before the migration, the DL memberships are not retained when you run the Migration Wizard. To retain the DL memberships, use ADClean to merge the Windows NT user accounts with the Lotus Notes contacts. After you run ADClean, rerun the Mailmig.exe command-line utility. After you do so, mailbox-enabled accounts are created and mail and data are moved from Lotus Notes to Exchange 2000.

You can use the Mailmig.exe command-line utility to script the migration of users of Lotus Notes to Exchange 2000. When you use this method, you can specify the user accounts that will be migrated in a control file. When you do so, you can prevent a bulk migration. However, Microsoft recommends that you use the GUI version of the Migration Wizard. If you must use the Mailmig.exe command-line utility, you can use the following command line to migrate from Lotus Notes to Exchange 2000, where  is the name of the control file:

mailmig.exe /c:migrate.txt /a:user.id /P:abc

The following text is an example of a control file that can be used for Lotus Notes migrations:

Mode,Notes

File,c:\temp

ExchStoreDN,CN=Mailbox Store (Server1),CN=First Storage Group,CN=InformationStore,CN=Server1,CN=Servers,CN=First Administrative Group,CN=Administrative Groups,CN=Sabbath,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=test,DC=com

Container,OU=Migration,DC=test,DC=com

INIFile,f:\lotus\notes\notes.ini

POName,exfor_lab1/lcxfor

SchdStart,19980101000000

EmailStart,19980101000000

DocLinkConversion,OLE

NTAccounts,Random

ExchStore, Mailbox Store (Server1)

Home-Server, Server1

Note: You must make sure that the  parameter is used in the control file. Use ADSI Edit to verify that you are using the correct value for the Mailbox Store distinguished name (also known as DN) in the  parameter. This value is required if you have more than one mailbox store on the server.

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, or both Windows and Exchange 2000 Server. 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. Verify that the NTAccounts parameter is set to RANDOM. See the sample control file that is described earlier in this article for an example. By default, this parameter is included. This parameter creates a new Windows NT user account and it mailbox-activates the account to allow migration to complete successfully. If the NT Accounts parameter already exists in Active Directory, if you use the NO parameter, the migration fails.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

