Scripting ADMT v3.1 CreateObject Fails


have been trying create scripts admt v3.1.  running script on windows server 2008 x64 domain controller. when try instantiate admt.migration object syntax set objmigration = createobject("admt.migration" ) receive following error: activex component can't create object: 'admt.migration'.  have made sure c:\windows\admt\admtscript.dll has been registered regsvr32.exe, no luck.

any appreciated.

 

hi,

 

thank update.

 

before going further, share me command line how run admt vbscripts , screenshot of error message reported script or windows script host?(please send tfwst@microsoft.com )

 

according error message “activex component can’t create object: admt.migration”, should make sure “c:\windows\admt\admtscript.dll " valid dll or ocx file”. admt v3.1 32bit application. if use 64bit version script host c:\windows\system32\cscript.exe, face problems create 32bit activex objects, such admt v3.1 active objects. therefore, use 32bit version script host c:\windows\syswow64\cscript.exe launch admt scripts on windows server 2008 64bit edition.

c:\windows\syswow64\cscript.exe migrate.wsf

 

if not use above command, please try it?

 

note: command requires run under administrator full privilege. therefore, need either disable uac, or open command prompt windows run administrator.

 

regards,


nick gu - msft


Windows Server  >  Migration



Comments

Popular posts from this blog

server manager error: ADAM.events.xml could not be enumerated.

Cannot access Anywhere Access using domain name?

WMI Failure: Unable to update Local Resource Group