Results 1 to 1 of 1

Thread: Script to migrate user profiles to a new domain

  1. #1
    Moderator holger's Avatar
    Join Date
    Mar 2010
    Location
    Cologne, Germany
    Posts
    24

    Thumbs up Script to migrate user profiles to a new domain

    A common task in migration scenarios is to migrate the user profiles from one domain to another. This task requires a change in the permissions of each user profile. The old user account's permissions need to copied to the new user account to ensure that the user keep his settings and data.
    Profile Migrator 1.1 adds the option run scripts before and after every user profile migration. The script provided here leverages this feature to modify the permissions on the migrated user profile after each profile migration.

    Usage:
    • Unpack the script from the attached archive file.
    • Download SetACL and store it in the same location as the script.
    • Create a text file with mappings of old and new user names (one mapping per line) in the following format:
      OldDomain\OldUser:NewDomain\NewUser
    • Add the following post script call to your migration project:
      C:\DirectoryOfScript\UserDomainMigration.cmd %PM_VAR_USERNAME% %PM_VAR_USERNAME% %PM_VAR_TARGETPATH% c:\DirectoryOfMappingFile\MappingFile.txt
    • Run the migration.

    The script is described in detail in this blog article.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •