When you migrate AD objects with VBScript and you receive the following error:

C:\Admin\scripts\ADMTExclusion.vbs(1, 1) Microsoft VBScript runtime error: Activ eX component can't create object: 'ADMT.Migration'

Solution

Run the command from the following directory

C:\Windows\SysWOW64>

Suppose

C:\Windows\SysWOW64>cscrip.exe hello.wsf

or

C:\Windows\SysWOW64>cscrip.exe hello.vbs

 

 

 

Fix for “C:\Admin\scripts\ADMTExclusion.vbs(1, 1) Microsoft VBScript runtime error: Activ eX component can’t create object: ‘ADMT.Migration'”

Leave a Reply

Your email address will not be published. Required fields are marked *

*