You are currently offline, waiting for your internet to reconnect

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

Support for Windows Server 2003 ended on July 14, 2015

Microsoft ended support for Windows Server 2003 on July 14, 2015. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

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:
  1. Click Start, point to Programs, point to Accessories, and then click Notepad.
  2. 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.
    Set o = CreateObject("ADMT.Migration")WScript.Echo o.SystemPropertiesToExclude
    Note This script lists the attributes that are not migrated.
  3. Double-click the .vbs file to run the script.
  4. Verify that the custom attributes that were not migrated are included in the output that is displayed.
  5. 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:
    1. 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("ADMT.Migration")o.SystemPropertiesToExclude = "<Attribute1>,<Attribute2>,<Attribute3>"
      Note Replace Attribute 1, Attribute2, and any other attributes that are listed with the attributes that you do not want to migrate.
    2. Double-click the .vbs file to run the script.
  6. Run ADMT.

Note: Running on a x64 Sytem (e.g. Windows Server 2008 R2) these scripts needs to be executed with a 32bit version of cscript.exe located in c:\windows\syswow64

e.g. c:\windows\SysWOW64\cscript.exe DisplayExclusionList.vbs



Properties

Article ID: 937537 - Last Review: 11/18/2011 09:58:00 - Revision: 1.2

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

  • kbtshoot kbexpertiseadvanced kbprb KB937537
Feedback
FirePV = 1; var varClickTracking = 1; var varCustomerTracking = 1; var Route = "76500"; var Ctrl = ""; document.write(" by $index" class="col-sm-6 col-xs-24 ng-scope"> España - Español
Paraguay - Español
Venezuela - Español
0&did=1&t=">amp;did=1&t=">tion () { return Math.floor(Math.random() * 16).toString(16); })).replace("R", (8 | Math.floor(Math.random() * 3)).toString(16)); var m = document.createElement("meta"); m.content = guid; m.name = "ms.dqid"; document.getElementsByTagName("head")[0].appendChild(m); >