Tuesday, February 16, 2010

Migrating Users from One Domain to Another Domain

STSADM Commands:

Migrate User:

Scenarios:
1> Migrating users from One domain to another Domain
2> Changing the Display name or user name or email id.

Migrating Users from one domain to another domain. This may be due to decommission of the old domain or temporary domains.
Sometimes you may need to change your display name.

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>
stsadm.exe -o migrateuser
-oldlogin
-newlogin
[-ignoresidhistory]

Stsadm.exe –o migrateuser –oldlogin xyz\Ramesh –newlogin abc\Ramesh -ignoresidhistory

By using this we can maintain the old login permissions with the new login in the migrated domain.

Stsadm.exe –o migrateuser –oldlogin xyz\Ramesh –newlogin xyz\RameshBabu –ignoresidhistory

We need to add the – ignoresidhistory must to run this command as it will ignore the previous SID history.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.