Use an Option File

Applies To: Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)

You can use option files to specify one or more parameters for migration tasks. An option file eliminates the need to provide parameters each time that you run a task from the command line.

You have two options to create an option file. You can:

  • Create a single option file that contains sections for each type of migration task.

  • Create separate option files with unique settings for each type of migration task.

The Migration section in the option file specifies parameters that apply to all tasks. Subsequent sections specify parameters that are task specific.

Use the following option file as a reference to customize the option file for your migration.

[Migration]

IntraForest=No

**SourceDomain=**SourceDomainName

**SourceOu=**SourceOuPath

**TargetDomain=**TargetDomainName

**TargetOu=**TargetOuPath

**PasswordOption=**Complex

PasswordServer=""

PasswordFile=""

ConflictOptions=Ignore

UserPropertiesToExclude=""

InetOrgPersonPropertiesToExclude=""

GroupPropertiesToExclude=""

ComputerPropertiesToExclude=""

[User]

DisableOption=EnableTarget

SourceExpiration=None

MigrateSIDs=Yes

TranslateRoamingProfile=No

UpdateUserRights=No

MigrateGroups=No

UpdatePreviouslyMigratedObjects=No

FixGroupMembership=Yes

MigrateServiceAccounts=No

UpdateGroupRights=No

[Group]

MigrateSIDs=Yes

UpdatePreviouslyMigratedObjects=No

FixGroupMembership=Yes

UpdateGroupRights=No

MigrateMembers=No

DisableOption=EnableTarget

SourceExpiration=None

TranslateRoamingProfile=No

MigrateServiceAccounts=No

[Security]

TranslationOption=Add

TranslateFilesAndFolders=No

TranslateLocalGroups=No

TranslatePrinters=No

TranslateRegistry=No

TranslateShares=No

TranslateUserProfiles=No

TranslateUserRights=No

**SidMappingFile=**SidMappingFile

You can comment out options by a adding a semicolon at the beginning of a line.

Note

When a parameter is not specified, the default setting is used.