This topic is resolved
- Thu, May 25 2017 at 8:33 am #148189
I am migrating users using VBscript between two domains in the same forest. But, I am getting the following error:
ADMT.Migration.1: Unable to migrate users. Unable to connect to domain ‘MYSOURCEDOMAIN’. The specified domain either does not exist or could not be contacted.
The domain can be pinged from command line, and earlier I was able to migrate users with GUI and command prompt.
Following are the content of script file.
<Script language=”VBScript” src=”templatescript.vbs” />
<Script language=”VBScript” >
Set objMigration = CreateObject(“ADMT.Migration” )
Set objUserMigration = objMigration.CreateUserMigration
objMigration.SourceDomain = “child”
objMigration.SourceOu = “Users”
objMigration.TargetDomain = “yourdomain.com”
objMigration.TargetOu = “Students”
objMigration.PasswordOption = admtComplexPassword
objMigration.ConflictOptions = admtIgnoreConflicting
objMigration.Intraforest = True
objUserMigration.MigrateSIDs = True
objUserMigration.TranslateRoamingProfile = True
objUserMigration.UpdateUserRights = False
objUserMigration.FixGroupMembership = True
objUserMigration.MigrateServiceAccounts = False
objUserMigration.MigrateGroups = False
objUserMigration.Migrate admtData, “CN=if”
Set objUserMigration = Nothing
Set objMigration = Nothing
- This topic was modified 6 months, 3 weeks ago by Karim Buzdar.
- Fri, May 26 2017 at 9:26 am #149438
You must be logged in to reply to this topic.