Microsoft KB Archive/937537

= You find that several custom attributes are missing when you use ADMT to migrate users between two forests =

Article ID: 937537

Article Last Modified on 6/7/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
 * Microsoft Windows Server 2003, Web Edition

-



SYMPTOMS
When you use the Active Directory Migration Tool (ADMT) to migrate users between two forests, several custom attributes of the user object may not be migrated.



CAUSE
This problem occurs if the SystemPropertiesToExclude variable in the Windows Management Instrumentation (WMI) namespace ADMT.Migration object contains the attributes that you want to migrate to the destination forest.

The attributes that are contained inside the SystemPropertiesToExclude variable are not migrated, even though the ADMT user interface displays all the attributes that you want to migrate.



RESOLUTION
To resolve this problem, find the attributes that are included in the SystemPropertiesToExclude variable by using a script, and then exclude the attributes that you want to migrate from the SystemPropertiesToExclude variable. To do this, follow these steps:  Click Start, point to Programs, point to Accessories, and then click Notepad.  Copy and then paste the following code into a new Notepad document. Then, save the code to a file name that has a .vbs extension, such as DisplayExclusionList.vbs. List Exclusionlist

Set o = CreateObject(&quot;ADMT.Migration&quot;) WScript.Echo o.SystemPropertiesToExclude Note This script lists the attributes that are not migrated.  Double-click the .vbs file to run the script. Verify that the custom attributes that were not migrated are included in the output that is displayed. Run the following script after you make sure that only the custom attributes that you do not want to migrate are included in the SystemPropertiesToExclude variable. To do this, follow these steps:   Copy and then paste the following code into a new Notepad document. Then, save the code to a file name that has a .vbs extension, such as ExclusionList.vbs. Set o = CreateObject(&quot;ADMT.Migration&quot;) o.SystemPropertiesToExclude = &quot;,<Attribute2>,<Attribute3>&quot; Note Replace,  , and any other attributes that are listed with the attributes that you do not want to migrate. </li> Double-click the .vbs file to run the script.</li></ol> </li> Run ADMT.</li></ol>

Keywords: kbtshoot kbexpertiseadvanced kbprb KB937537

-

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

© Microsoft Corporation. All rights reserved.