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.
Set o = CreateObject("ADMT.Migration")
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("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. - Double-click the .vbs file to run the script.
- 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