ADMT Guide: Migrating and Restructuring Active Directory Domains
Microsoft Corporation
Published: June 2014
Author: Justin Hall
Editors: Jim Becker, Margery Spears
Abstract
This guide explains how to use the Active Directory® Migration Tool to migrate users, groups, standalone managed service accounts, and computers between Active Directory domains in different forests (interforest migration) or between Active Directory domains in the same forest (intraforest migration). It also shows how to use ADMT to perform security translation between different Active Directory forests.
Information in this document, including URL and other Internet Web site references, is subject to change without notice. Unless otherwise noted, the example companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted herein are fictitious, and no association with any real company, organization, product, domain name, e-mail address, logo, person, place, or event is intended or should be inferred. Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in, or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation.
Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property.
© 2014 Microsoft Corporation. All rights reserved.
Active Directory, Microsoft, Windows, and Windows Server are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.
The names of actual companies and products mentioned herein may be the trademarks of their respective owners.
Contents
ADMT Guide: Migrating and Restructuring Active Directory Domains
Interforest Active Directory domain restructure
Intraforest Active Directory domain restructure
Active Directory Migration Tool
TargetRDN, TargetSAM, and TargetUPN fields
Active Directory Migration Tool versions and supported environments
Support for Windows Server features
Best Practices for Active Directory Migration
Best Practices for Using the Active Directory Migration Tool
Best Practices for Performing User and Group Account Migrations
Best Practices for Performing Computer Migrations
Best Practices for Rolling Back a Migration
Interforest Active Directory Domain Restructure
Checklist: Performing an Interforest Migration
Overview of Restructuring Active Directory Domains Between Forests
Process for Restructuring Active Directory Domains Between Forests
Background Information for Restructuring Active Directory Domains Between Forests
Planning to Restructure Active Directory Domains Between Forests
Determining Your Account Migration Process
Using SID History to Preserve Resource Access
Using SID Filtering When Migrating User Accounts
Assigning Object Locations and Roles
Developing a Test Plan for Your Migration
Managing Users, Groups, and User Profiles
Attributes that are always excluded by the system
System attribute exclusion list
Planning for a user profile migration
Creating an End-User Communication Plan
Scheduling and support information
Preparing the Source and Target Domains
Installing 128-Bit High Encryption Software
Establishing Required Trusts for Your Migration
Establishing Migration Accounts for Your Migration
Configuring the Source and Target Domains for SID History Migration
Configuring the Target Domain OU Structure for Administration
Installing ADMT in the Target Domain
Prerequisites for installing ADMT
Detach an Existing Database File from a Previous Version of ADMT and SQL Server
Reconfiguring a Database Installation with Admtdb.exe
Reuse an Existing ADMT Database from a Previous Installation
Enabling Migration of Passwords
Initializing ADMT by Running a Test Migration
Identifying Service Accounts for Your Migration
Transitioning Service Accounts in Your Migration
Migrating Accounts While Using SID History
Migrating Managed Service Accounts
Remigrating User Accounts and Migrating Workstations in Batches
Translating local user profiles
Migrating workstations in batches
Remigrating user accounts in batches
Remigrating all global groups after user account migration
Remigrating All Global Groups After All Batches Are Migrated
Migrating Accounts Without Using SID History
Migrating Managed Service Accounts
Translating Security in Add Mode
Remigrating User Accounts and Migrating Workstations in Batches
Translating local user profiles
Migrating workstations in batches
Remigrating user accounts in batches
Remigrating all global groups after user account migration
Remigrating All Global Groups After All Batches Are Migrated
Translating Security in Remove Mode
Migrating Workstations and Member Servers
Migrating Domain and Shared Local Groups
Translating Security on Your Member Servers
Decommissioning the Source Domain
Intraforest Active Directory Domain Restructure
Checklist: Performing an Intraforest Migration
Overview of Restructuring Active Directory Domains Within a Forest
Restructuring Active Directory Domains Within a Forest
Background Information for Restructuring Active Directory Domains Within a Forest
Assigning resource access to groups
Preparing to Restructure Active Directory Domains Within a Forest
Evaluate the New Active Directory Forest Structure
Identify and evaluate the OU structure of the target domain
Assign Domain Object Roles and Locations
Create an End-User Communication Plan
Scheduling and support information
Create Migration Account Groups
Installing ADMT in the Target Domain
Prerequisites for installing ADMT
Detach an Existing Database File from a Previous Version of ADMT and SQL Server
Reconfiguring a Database Installation with Admtdb.exe
Reuse an Existing ADMT Database from a Previous Installation
Plan for Service Account Transitioning
Example: Preparing to Restructure Active Directory Domains
Migrating Domain Objects Between Active Directory Domains
Migrating Managed Service Accounts
Migrating OUs and Subtrees of OUs
Migrate Workstations and Member Servers
Example: Restructuring Active Directory Domains
Completing Post-Migration Tasks
Examine Migration Logs for Errors
Translate Security on Member Servers
Translate Security by Using a SID Mapping File
Decommission the Source Domain
Example: Completing Post-Migration Tasks
Configure a Preferred Domain Controller
Rename Objects During Migration
Troubleshooting ADMT Installation Issues
Troubleshooting User Migration Issues
Troubleshooting Group Migration Issues
Troubleshooting Service Account Migration Issues
Troubleshooting Managed Service Account Migration Issues
Troubleshooting Computer Migration Issues
Troubleshooting Password Migration Issues
Troubleshooting Security Translation Issues
Troubleshooting Intraforest Migration Issues
Troubleshooting ADMT Log File Issues
Troubleshooting ADMT Command-Line Issues
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
To obtain a downloadable version of this guide in .doc format, see ADMT Guide: Migrating and Restructuring Active Directory Domains (http://go.microsoft.com/fwlink/?LinkId=191734).
As part of deploying the Active Directory® directory service or Active Directory Domain Services (AD DS), you might choose to restructure your environment for the following reasons:
∙?To optimize the arrangement of elements within the logical Active Directory structure
∙?To assist in completing a business merger, acquisition, or divestiture
Restructuring involves the migration of resources between Active Directory domains in either the same forest or in different forests. After you deploy Active Directory or AD DS, you might decide to further reduce the complexity of your environment by either restructuring domains between forests or restructuring domains within a single forest.
You can use the Active Directory Migration Tool (ADMT) to perform object migrations and security translation as necessary so that users can maintain access to network resources during the migration process. The latest version of ADMT 3.2 is available on Microsoft Connect (http://go.microsoft.com/fwlink/?LinkId=401534) and it supersedes all previous versions. It runs on all versions of Windows Server and can migrate objects to and from any Active Directory environment. All previous versions of ADMT have been removed from the Microsoft Download Center.
In this guide
∙?Best Practices for Active Directory Migration
∙?Interforest Active Directory Domain Restructure
∙?Intraforest Active Directory Domain Restructure
∙?Appendix: Advanced Procedures
The following sections explain the main migration scenarios for using ADMT. After you determine the appropriate scenario for your environment, follow the steps later in this guide for that scenario.
You might perform an interforest restructure for business changes, such as mergers or acquisitions or divestitures, in which your organizations have to combine or divide resources. As part of the restructuring process, when you migrate objects between forests both the source and target domain environments exist simultaneously. This makes it possible for you to roll back to the source environment during the migration, if necessary.
Splitting or cloning forests—for example, to accommodate divestiture of an organization—is not supported. For more information, see Restructuring Limitations (http://go.microsoft.com/fwlink/?LinkId=121736).
When you restructure domains in a forest, you can consolidate your domain structure and reduce administrative complexity and overhead. Unlike the process for restructuring domains between forests, when you restructure domains in a forest, the migrated accounts no longer exist in the source domain. Therefore, rollback of the migration can only occur when you carry out the migration process again in reverse order from the previous target domain to the previous source domain.
The following table lists the differences between an interforest domain restructure and an intraforest domain restructure.
The following terms apply to the Active Directory domain restructure process.
Migration The process of moving or copying an object from a source domain to a target domain, while preserving or modifying characteristics of the object to make it accessible in the new domain.
Domain restructure A migration process that involves changing the domain structure of a forest. A domain restructure can involve either consolidating or adding domains, and it can take place between forests or in a forest.
Migration objects Domain objects that are moved from the source domain to the target domain during the migration process. Migration objects can be user accounts, service accounts, groups, or computers.
Source domain The domain from which objects are moved during a migration. When you restructure Active Directory domains between forests, the source domain is an Active Directory domain in a different forest from the target domain.
Target domain The domain to which objects are moved during a migration.
Built-in accounts Default security groups that have common sets of rights and permissions. You can use built-in accounts to grant permissions to any accounts or groups that you designate as members of these groups. Built-in account SIDs are identical in every domain. Therefore, built-in accounts cannot be migration objects.
You can use ADMT to migrate objects in Active Directory forests. This tool includes wizards that automate migration tasks, such as migrating users, groups, service accounts, computers, and trusts and performing security translation.
You can perform ADMT tasks by using the ADMT console, a command line, or a script. When you run ADMT at the command line, it is often more efficient to use an option file to specify command-line options. You can use the ADMT option file reference in the following example to assist you in creating option files. Examples of command-line syntax are provided for each task that you must perform to restructure the domains within the forest.
The following listing shows common options that apply to several migration tasks. Each type of migration task has a section that lists options that are specific to that task. The section name corresponds to the task name when you run ADMT at the command line. You can comment out items with a semicolon. In the following listing, the default values are commented out.
[Migration]
;IntraForest=No
;SourceDomain="source_domain_name"
;SourceOu="source_ou_path"
;TargetDomain="target_domain_name"
;TargetOu="target_ou_path"
;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.txt"
When you run ADMT at the command line, you do not have to include an option in your command if you want to accept the default value. In this guide, however, tables that list possible parameters and values are provided for reference. The tables list the command-line equivalent of each option that is shown in the corresponding ADMT console procedure, including those options for which you accept the default value.
You can copy the option file reference into Notepad and save it by using a .txt file name extension.
As an example, to migrate a small number of computers, you might type each computer name at the command line, using the /N option, and then list other migration options within an option file as follows:
ADMT COMPUTER /N "<computer_name1>" "<computer_name2>" /O:"<option_file>.txt"
Where <computer_name1> and <computer_name2> are the names of computers in the source domain that you are migrating in this batch.
When you migrate a large number of users, groups, or computers, it is more efficient to use an include file. An include file is a text file in which you list the user, group, and computer objects that you want to migrate, with each object on a separate line. You must use an include file if you want to rename objects during the migration.
You can list users, groups, and computers together in one file, or you can create a separate file for each object type. Then, specify the include file name with the /F option, as follows:
ADMT COMPUTER /F "<includefile_name>" /IF:YES /SD:"<source_domain>” /TD:"<target_domain>" /TO:"<target_OU>"
To specify the names of users, groups, or computers, use one of the following conventions:
∙?The Security Accounts Manager (SAM) account name. To specify a computer name in this format, you must append a dollar sign ($) to the computer name. For example, to specify a computer with the name Workstation01, use Workstation01$.
∙?The relative distinguished name (also known as RDN), for example, cn= Workstation01. If you specify the account as a relative distinguished name, you must specify the source organizational unit (OU).
∙?The canonical name. You can specify the canonical name as DNS domain name/ou_path/object_name or ou_path/object_name, for example, Asia.trccorp.treyresearch.net/Computers/Workstation01 or Computers/Workstation01.
The following sections describe the fields of an include file and provide examples for each field:
The SourceName field specifies the name of the source object. You can specify either an account name or a relative distinguished name. If you only specify source names, it is optional to define a header on the first line in the file.
The following example illustrates a header line that specifies the SourceName field. The example also shows a source object name that is specified in several formats. The second line specifies an account name. The third line specifies a relative distinguished name.
SourceName
name
CN=name
You can use the TargetName field to specify a base name that is used to generate a target relative distinguished name, a target SAM account name, and a target user principal name (UPN). The TargetName field cannot be combined with other target name fields that are described later in this section.
Note
The target UPN is generated only for user objects, and only a UPN prefix is generated. A UPN suffix is appended using an algorithm that depends on whether a UPN suffix is defined for the target OU or the target forest. If the object is a computer, the target SAM account name includes a "$" suffix.
The following example of input generates the target relative distinguished name, target SAM account name, and target UPN as "CN=newname", "newname," and "newname" respectively.
SourceName,TargetName
oldname, newname
You can use the TargetRDN, TargetSAM, and TargetUPN fields to specify the different target names independently of each other. You can specify any combination of these fields in any order.
TargetRDN specifies the target relative distinguished name for the object.
TargetSAM specifies the target SAM account name for the object. For computers, the name must include a "$" suffix to be a valid SAM account name for a computer.
TargetUPN specifies the target UPN for the object. You can specify either just the UPN prefix or a complete UPN name (prefix@suffix). If the name that you specify contains a space or a comma, you must enclose the name in double quotation marks (" ").
SourceName,TargetRDN
oldname, CN=newname
SourceName,TargetRDN,TargetSAM
oldname, "CN=New RDN", newsamname
SourceName,TargetRDN,TargetSAM,TargetUPN
oldname, "CN=last\, first", newsamname, newupnname
Note
A comma within the CN value must be preceded with an escape ("\") character or the operation will fail, and ADMT will record an invalid syntax error in the log file.
SourceName,TargetSAM,TargetUPN,TargetRDN
oldname, newsamname, newupnname@targetdomain, "CN=New Name"
Use the following format in an include file to rename computer, user, or group objects during migration:
∙?Use SourceName, TargetRDN, TargetSAM, and TargetUPN as column headings at the top of the include file. SourceName is the name of the source account, and it must be listed as the first column heading. The TargetRDN, TargetSAM, and TargetUPN column headings are optional, and you can list them in any order.
∙?You must specify the account name as user name, relative distinguished name, or canonical name. If you specify the account name as a relative distinguished name, you must also specify the source OU.
The following are examples of valid include files in which the rename option is used:
SourceName,TargetSAM
abc,def
This include file entry changes the TargetSAM account name for user "abc" to "def." The TargetRDN and the TargetUPN, which are not specified in this include file, do not change as a result of the migration.
SourceName,TargetRDN,TargetUPN
abc,CN=def,def@contoso.com
This include file entry changes the TargetRDN for user abc to CN=def and the TargetUPN to def@contoso.com. The TargetSAM for user abc does not change as a result of the migration.
Important
You must specify CN= before using an RDN value.
You can exclude objects from migration by using an exclude file. An exclude file is a text file that lists the SAMAccountName attribute of the objects that you want to exclude. For example, to exclude the following managed service accounts, create a text file:
MSA_USER5$
MSA_USER6$
Then, specify the name of the exclude file when you run the admt command. For example:
admt managedserviceaccount /ef:”exclude file name”
Optionally, you can exclude specific accounts by using the /en parameter:
admt managedserviceaccount /en:”managed service account 1” “managed service account 2”
The sample scripts that are provided in this guide refer to the symbolic constants that are defined in a file named AdmtConstants.vbs. The listing that follows shows the ADMT constants Microsoft Visual Basic® Scripting Edition (VBScript) file. The constants are also provided in the ADMT installation folder, in the TemplateScript.vbs file, in the %systemroot%\WINDOWS\ADMT directory.
To use the sample scripts in the guide, copy the ADMT constants VBScript file into Notepad and save it as AdmtConstants.vbs. Be sure to save it in the same folder where you plan to save the sample scripts that are provided in this guide.
Option Explicit
'----------------------------------------------------------------------------
' ADMT Scripting Constants
'----------------------------------------------------------------------------
' PasswordOption constants
Const admtComplexPassword = &H0001
Const admtCopyPassword = &H0002
' Note that the following constant cannot be specified alone.
' It must be specified along with admtComplexPassword or admtCopyPassword.
Const admtDoNotUpdatePasswordsForExisting = &H0010
' ConflictOptions constants
Const admtIgnoreConflicting = &H0000
Const admtMergeConflicting = &H0001
Const admtRemoveExistingUserRights = &H0010
Const admtRemoveExistingMembers = &H0020
Const admtMoveMergedAccounts = &H0040
' DisableOption constants
Const admtLeaveSource = &H0000
Const admtDisableSource = &H0001
Const admtTargetSameAsSource = &H0000
Const admtDisableTarget = &H0010
Const admtEnableTarget = &H0020
' SourceExpiration constant
Const admtNoExpiration = -1
' Translation Option
Const admtTranslateReplace = 0
Const admtTranslateAdd = 1
Const admtTranslateRemove = 2
' Report Type
Const admtReportMigratedAccounts = 0
Const admtReportMigratedComputers = 1
Const admtReportExpiredComputers = 2
Const admtReportAccountReferences = 3
Const admtReportNameConflicts = 4
' Option constants
Const admtNone = 0
Const admtData = 1
Const admtFile = 2
Const admtDomain = 3
Const admtRecurse = &H0100
Const admtFlattenHierarchy = &H0000
Const admtMaintainHierarchy = &H0200
ADMT v3.2 can be downloaded from Microsoft Connect (http://go.microsoft.com/fwlink/?LinkId=401534). If necessary, join the Azure Active Directory Customer Connection program to obtain access to the download package.
ADMT v3.2 has recently been updated and re-released. All previous versions of ADMT are deprecated. The version remains v3.2 because it’s functionally the same as its predecessor (that is, there are no new features). This final release includes various bug fixes and can be used with all supported Windows operating systems and versions of Windows Server Active Directory:
∙?The server where you install ADMT can run any supported version of Windows Server, including Windows Server 2012 R2 and Windows Server 2012.
∙?The source and target domain controllers must be writeable, but they can run any supported version of Windows Server with a user interface (not Server Core), including Windows Server 2012 R2 and Windows Server 2012.
∙?The source and target domains must be at Windows Server 2003 domain functional level or higher.
∙?The computers that can be migrated can run any supported version of Windows, including Windows 8.1.
∙?You can use any version of SQL Server for the ADMT database.
No versions of ADMT can be installed on a read-only domain controller (RODC) or a Server Core installation. An RODC cannot be used as a source or target domain controller for migration.
In addition, ADMT provides the following support for these Active Directory features:
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
To ensure that your migration process is as seamless as possible, follow these best practice recommendations:
∙?Best Practices for Using the Active Directory Migration Tool
∙?Best Practices for Performing User and Group Account Migrations
∙?Best Practices for Performing Computer Migrations
∙?Best Practices for Rolling Back a Migration
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
∙?Perform regular backups of domain controllers in both the source and target domains throughout the course of the migrations. If you are migrating computers that contain file shares to perform security translation, we recommend that you also back up those computers throughout migrations.
∙?Before you begin a migration, perform a test migration by creating a test user, adding the test user to the appropriate global groups, and then verifying resource access before and after migration.
∙?Test your migration scenarios in a test environment before migrating objects in the production environment.
∙?Have a recovery plan, and ensure that your recovery plan works during the test phase of your migration.
∙?Decrypt files that have been encrypted by means of Encrypting File System (EFS). Failure to decrypt encrypted files will result in loss of access to encrypted files after migration. Be sure to communicate to end users that they must decrypt any encrypted files or they will lose access to those files.
∙?Ensure that the system time is synchronized in each domain from which objects are migrated. Kerberos authentication fails if time is skewed.
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
∙?Perform regular backups of domain controllers in both the source and target domains throughout the course of the migrations. If you are migrating computers that contain file shares to perform security translation, we recommend that you also back up those computers throughout migrations.
∙?We recommend that you migrate users in batches. A batch size of 100 users helps to keep the migration process manageable.
∙?Always administer changes to user accounts and group accounts in the source domain during the migration process.
∙?Use the Migrate and merge conflicting objects option on the Conflict Management page of the User Account Migration Wizard and the Group Account Migration Wizard to remigrate users and groups as often as necessary throughout the migration. Administering changes in the source domain and then using the Migrate and merge conflicting objects option during migration ensures that all changes that are made to an object in the source domain are reflected after it has been migrated to the target domain.
∙?To maintain access to resources, ensure that group membership adheres to the following guidelines:
∙?Use global groups to group users.
∙?Use local groups to protect resources.
∙?Place global groups into local groups to grant members of the global groups access to a resource.
∙?Adhere to the guidelines in the following table when you translate user profiles.
Important
It is important to verify that local profile translation has succeeded before users attempt to log on to the target domain. If users log on to the target domain by using their new target accounts and their profiles have not translated successfully, those users must be migrated again from the source domain to the target domain. For more information about the steps to follow if local profile translation fails, see Troubleshooting Security Translation Issues.
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
∙?Perform regular backups of domain controllers in both the source and target domains throughout the course of the migrations. If you are migrating computers that contain file shares to perform security translation, we recommend that you also back up those computers throughout the migration.
∙?Verify that workstations and member servers have restarted immediately after you join them to the target domain. The Active Directory Migration Tool (ADMT) automates the restart of workstations and member servers, but you use the Minutes before computers restart after wizard completion option in the Computer Migration Wizard to select the amount of time that passes before the computer is restarted. Computers that do not restart after migration are in an indeterminate state.
∙?Communicate to end users that their computers must be connected to the network at the time that their computer is scheduled to be migrated.
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
∙?Roll back user and group accounts that have been migrated between forests by enabling the accounts in the source domain (if they were disabled during the migration), verifying that the accounts have access to resources in the source domain, and then verifying that logon scripts and user profiles work as configured in the source domain.
∙?Roll back resources that have been migrated between forests by changing the domain membership of servers and workstations and then restarting them. Log on to the resources in the source domain to ensure that the resources are accessible.
∙?Roll back accounts and resources that have been migrated within a forest by migrating the objects back from the target domain to the source domain. Accounts and resources that are migrated within a forest are moved and not copied. Therefore, they do not continue to exist in the source domain.
Note
To ensure a successful rollback of an intraforest migration, do not attempt to delete the objects in the target domain and then restore them in the source domain. You will not be able to recover the objects in the source domain because they are automatically deleted by the cross-domain move proxy if a restore is attempted.
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
Restructuring Active Directory domains between forests involves relocating objects from source domains in one forest to target domains in another forest. You might have to restructure Active Directory domains between forests to:
∙?Migrate a pilot domain into your production environment.
∙?Merge users and resources with another organization because of a corporate merger and the need to consolidate the two information technology (IT) infrastructures.
∙?Relocate users and resources on a regular basis because of a planned multiforest deployment.
∙?Remove objects from your forest because of a divestiture to another organization or to merge later into a new or existing forest for that organization.
In this section
∙?Checklist: Performing an Interforest Migration
∙?Overview of Restructuring Active Directory Domains Between Forests
∙?Restructuring Limitations
∙?Planning to Restructure Active Directory Domains Between Forests
∙?Preparing the Source and Target Domains
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
Migrating Active Directory domains between forests (interforest migration) involves relocating objects from source domains in one forest to target domains in another forest. You might have to restructure Active Directory domains between forests for the following reasons:
∙?To migrate a pilot domain into your production environment
∙?To merge your Active Directory forest with the forest of another organization and consolidate the two information technology (IT) infrastructures
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
When you restructure domains between forests, you can reduce the number of domains in your organization, which helps to reduce the administrative complexity and associated overhead costs of your Active Directory environment. Restructuring domains involves copying accounts and resources from a source domain to a target domain in a different Active Directory forest. The source and target domains must be at least at a Windows Server 2003 functional level.
If your organization has recently merged with another organization or information technology (IT) infrastructure, you can restructure domains to consolidate accounts and resources between the two infrastructures.
In this section
∙?Process for Restructuring Active Directory Domains Between Forests
∙?Background Information for Restructuring Active Directory Domains Between Forests
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
Restructuring Active Directory domains between forests involves planning and preparing for the domain restructure for your organization. It also entails successfully migrating accounts and resources to an Active Directory domain in another forest. The following figure shows the process for restructuring Active Directory domains between forests.
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
The migration process between forests is not considered to be destructive because the migration objects continue to exist in the source domain until the source domain is decommissioned. Because the source and target domain environments exist simultaneously during the migration, you have the option to roll back to the source environment if migration fails for any reason, for example, if a particular object does not migrate or access is not maintained or preserved in the target domain after you perform the migration. You can use the Active Directory Migration Tool (ADMT) to migrate accounts and resources between domains while preserving user and object permissions. During the interforest restructure process, users have continuous access to required resources. Furthermore, you can move users, groups, and resources independently of each other.
The remaining sections in this topic explain the account and resource migration process .
Restructuring accounts between Active Directory forests involves the copying of users, groups, and local profiles from the source domain to the target domain, while preserving the access rights and attributes of those objects.
When user accounts are migrated between Active Directory domains in different forests, the original account remains in place in the source domain and a new account is created in the target domain. Because the security identifier (SID) of a security principal (user or group) always contains an identifier for the domain in which the security principal is located, a new SID is created for the user in the target domain. Because ADMT can migrate the SID of the original security principal to the security principal in the target domain, you do not have to perform additional tasks to ensure resource access unless you are using SID filtering between the forests.
If you are using Group Policy to manage folder redirection or software distribution, ensure that these policies continue to apply when you migrate user accounts to a new forest. Also, if you are using a Group Policy object (GPO) to grant or deny remote access in the source domain and not the target domain, ADMT cannot determine which remote access to assign to the user.
If you are using Group Policy to manage folder redirection, Offline Files does not work after the user account is migrated to a new forest. Offline Files stores the SID of the user as owner; the SID changes when the user account is migrated. To restore ownership of Offline Files, use the ADMT Security Translation Wizard to replace the permissions on the files and folders on the client computer that contains the offline files cache.
To ensure that users continue to have access to Offline Files after you migrate user accounts to the target domain, you can do the following:
1. Translate security on client computers to update the Offline Files.
2. If the SID history of the user account was not migrated to the target domain, translate security on the server that hosts redirected folders.
If you are using folder redirection, one of the following occurs:
∙?If the folder redirection path is different in the new environment, users can access the folder if the SID history of the user account was migrated to the target domain. The folder redirection extension copies the files from the original location in the source domain to the new location in the target domain. SID history enables the user account to access the source folders.
∙?If the folder redirection path is the same in the new environment, users cannot access the redirected folder because folder redirection will check ownership of the redirected folder and fail. You must then translate security on the redirected folder on the server.
If you are using Group Policy to manage software installation and the Windows Installer package requires access to the original source for operations such as repair and remove, you must translate security on the software distribution point after you migrate users to ensure that software installation continues to function properly in the target domain.
Active Directory domains include three types of resources:
∙?Workstation accounts
∙?Member server accounts
∙?Resources on member servers
The migration of workstations and member servers is a straightforward process. The local groups that you create to assign permissions to users are located in the local Security Accounts Manager (SAM) database, and they are moved when you move the server. You do not have to reconfigure access control lists (ACLs) so that users can access resources after the migration.
To migrate domain controllers between domains, remove Active Directory Domain Services (AD DS) from the domain controller, migrate it as a member server to the target domain, and then reinstall AD DS.
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
Completing the necessary planning tasks before you begin your migration helps ensure that users can continue to log on to the network and access resources during the migration. Planning your domain restructure involves the following:
∙?Determining your account migration process
∙?Assigning object locations and roles
∙?Developing a test plan
∙?Creating a rollback plan for use if the migration fails
∙?Managing users, groups, and user profiles
∙?Creating an end-user communication plan
To prepare for the restructuring process, the Active Directory deployment team must obtain the necessary design information from the Active Directory design team.
The following illustration shows the steps involved in planning to restructure Active Directory domains between forests.
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
With the Active Directory Migration Tool (ADMT), you can use security identifier (SID) history to maintain resource permissions when you migrate accounts. However, if SID filtering is enabled between your source and target domains and you do not trust the administrators in the source domain, you cannot disable SID filtering. Nor can you use SID history to enable access to resources in the source domain. In this case, you must use a different migration process.
You can choose one of the following three methods to migrate accounts between forests while maintaining user rights to access resources in the source domain:
∙?Migrate user accounts while using SID history for resource access. With this method, you remove SID filtering on the trusts between the domains to enable users to access resources in the source domain by means of their SID history credentials.
∙?If you have a forest trust in place, you remove SID filtering on the forest trust. (You can also override the forest trust by creating an external trust so that the domain that holds the resources trusts the target domain and then removing SID filtering on the external trust.)
∙?If you do not have a forest trust in place, you establish external trusts between the source and target domains. You then have to remove SID filtering on the external trusts.
For more information about this process, see Migrating Accounts While Using SID History, later in this guide.
∙?Migrate all users, groups, and resources to the target domain in one step. For more information about this process, see Migrating Accounts While Using SID History, later in this guide.
∙?Migrate user accounts without using SID history for resource access, but translate security for all resources before the migration process to ensure resource access. For more information about migrating accounts without using SID history, see Migrating Accounts Without Using SID History, later in this guide.
To determine which account migration process is best for your organization, you must first determine if you can disable SID filtering and migrate accounts while using SID history for resource access. You can safely do this if the administrators of the source domain fully trust the administrators of the target domain. You might disable SID filtering if one of the following conditions applies:
∙?The administrators of the trusting domain are the administrators of the trusted domain.
∙?The administrators of the trusting domain trust the administrators of the trusted domain and are confident that they have secured the domain appropriately.
If you disable SID filtering, you remove the security boundary between forests, which otherwise provides data and service isolation between the forests. For example, an administrator in the target domain who has service administrator rights or an individual who has physical access to a domain controller can modify the SID history of an account to include the SID of a domain administrator in the source domain. When the user account for which the SID history has been modified logs on to the target domain, it presents valid domain administrator credentials for, and can obtain access to, resources in the source domain.
For this reason, if you do not trust the administrators in the target domain or do not believe that the domain controllers in the target domain are physically secure, enable SID filtering between your source and target domains, and migrate user accounts without using SID history for resource access.
The following illustration shows the decision process involved in determining which migration process is appropriate for your organization.
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
The best practice for granting access to resources is to use global groups to arrange users, and domain local groups to protect resources. Place global groups into a domain local group to grant the members of the global group access to the resource. A global group can only contain members from its own domain. When a user is migrated between domains, any global groups to which the user belongs must also be migrated. This ensures that users can continue to access resources that are protected by discretionary access control lists (DACLs) referring to global groups. After migrating an account and maintaining the security identifier (SID) history of the source domain account, when a user logs on to the target domain, both the new SID and the original SID from the SID history attribute are added to the access token of the user. These SIDs determine the local group memberships of the user. The SIDs of the groups of which the user is a member are then added to the access token, together with the SID history of those groups.
Resources within the source and target domains resolve their access control lists (ACLs) to SIDs and then check for matches between their ACLs and the access token when granting or denying access. If the SID or the SID history matches, access to the resource is granted or denied, according to the access specified in the ACL. If the resource is in the source domain and you have not run security translation, it uses the SID history of the user account to grant access.
You can also preserve the original SID for global groups and universal groups in the SID history of the global group or universal group in the target domain. Because local group memberships are based on SIDs, when you migrate the SID to the SID history of the global group or universal group in the target domain, the local group memberships of the global group or universal group are preserved automatically.
SID history is used for the following:
∙?Roaming user profile access
∙?Certification authority access
∙?Software installation access
∙?Resource access
If you are not using SID history for resource access, you still have to migrate SID history to facilitate access to those items.
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
For a domain-to-domain trust, security identifier (SID) filtering does not allow for the use of SIDs from outside the trusted domain to enable access to any resource within the trusting domain. For a forest-to-forest trust, SID filtering does not allow for the use of SIDs from any domain outside the trusted forest to enable access to any resource within any domain in the trusting forest.
You can enable the SID of a user in a different forest to access a resource within a forest that has SID filtering enabled by translating security on the resource to include the user SID in the permission list.
SID filtering is applied by default when a forest trust is established between two forest root domains. Also, SID filtering is enabled by default when external trusts are established between domain controllers that are running Windows 2000 Service Pack 4 (SP4) or later. This prevents potential security attacks by an administrator in a different forest.
Because SID filtering does not apply to authentication within a domain, it is also possible to allow access to resources by means of SID history, if the resource and the account are in the same domain. To allow users or groups to access a resource by using SID history, the forest in which the resource is located must trust the forest in which the account is located.
For more information about SID-history-based attacks and SID filtering, see Configuring SID Filtering Settings (http://go.microsoft.com/fwlink/?LinkId=73446).
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
Create an object assignment table that lists the roles and locations for all the objects that you are migrating. Create one table for account objects, such as users, groups, and service accounts, and one table for resource objects, such as workstations, profiles, and domain controllers. In your tables, list the source and target locations for all objects to be migrated.
Before you create your account object assignment table, determine whether the domain organizational unit (OU) structures for the source and target domains are the same. If they are not the same, you must identify the source and target OU in your object assignment tables.
For a worksheet to assist you in creating an account object assignment table, see "User and Group Object Assignment Table" (DSSREER_1.doc) in the Job_Aids_Designing_and_Deploying_Directory_and_Security_Services download of the Job Aids for Windows Server 2003 Deployment Kit (http://go.microsoft.com/fwlink?LinkId=14384).
The following illustration shows an example of an object assignment table for users and groups.
To create a resource object assignment table, identify the source and target OU for each object and note the physical location and role in the target domain. For a worksheet to assist you in creating a resource object assignment table, see "Resource Object Assignment Table" (DSSREER_2.doc) in the Job_Aids_Designing_and_Deploying_Directory_and_Security_Services download of the Job Aids for Windows Server 2003 Deployment Kit (http://go.microsoft.com/fwlink?LinkId=14384).
The following illustration shows an example of a resource object assignment table.
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
The Active Directory Migration Tool does not include a test migration option. However, you can develop a test plan to systematically test each object after it is migrated to the new environment and identify and correct any problems that might occur. Testing to verify that your migration is successful helps ensure that users who are migrated from the source to the target domain are able to log on, access resources based on group membership, and access resources based on user credentials. Testing also helps ensure that users are able to access the resources that you migrate.
After your testing is complete, you can proceed with migrating small pilot groups and then gradually increase the size of each batch of migration objects in your production environment.
Use the following process to test the migration of your account object and resource objects:
1. Create a test user in the source domain. Include this test user with your migrations.
2. Join that user to the appropriate global groups to enable resource access.
3. Log on to the source domain as the test user, and verify that you can access resources as appropriate.
4. After you migrate the user account, translate the user profile, and migrate the workstation of the user, log on to the target domain as the test user, and verify that the user has retained all necessary access and functionality. For example, you might test to verify that:
∙?The user can log on successfully.
∙?The user has access to all appropriate resources, such as file and print shares; access to services such as messaging; and access to line-of-business (LOB) applications. It is especially important to test access to internally developed applications that access database servers.
∙?The user profile was successfully translated, and the user retains desktop settings, desktop appearance, shortcuts, and access to the My Documents folder. Also, verify that applications appear in and start from the Start menu.
You cannot migrate every user property when you migrate user accounts. For more information about user properties that cannot be migrated, see Migrate User Accounts, later in this guide.
After you migrate resources, log on as the test user in the target domain, and verify that you can access resources as appropriate.
If any steps in the test process fail, identify the source of the problem, and determine whether you can correct the problem before the object has to be accessible in the target domain. If you cannot correct the problem before access to the object is required, roll back to your original configuration to ensure access to the user or resource object. For more information about creating a rollback plan, see Creating a Rollback Plan, later in this guide.
As part of your test plan, create a migration test matrix. Complete a test matrix for each step that you complete in the migration process. For example, if you migrate 10 batches of users, complete the test matrix 10 times, once for each batch that you migrate. If you migrate 10 member servers, complete the test matrix for each of the 10 servers.
For a worksheet to assist you in creating a test matrix, see Migration Test Matrix (DSSREER_3.doc) in the Job_Aids_Designing_and_Deploying_Directory_and_Security_Services download of the Job Aids for Windows Server 2003 Deployment Kit (http://go.microsoft.com/fwlink?LinkId=14384).
The following illustration shows an example of a completed migration test matrix.
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
Reduce the risk of disrupting end users in your organization by establishing a rollback plan. In general, it is possible to isolate and resolve any problems that occur during each phase of the migration. However, it is important to analyze potential risks and identify the levels of user impact and downtime that might necessitate rolling back the migration. You might be required to roll back your migration if any of the following occur:
∙?Users cannot log on to their accounts after migration.
∙?Users cannot access resources after migration.
∙?User migration is incomplete; for example, passwords did not migrate.
∙?User migration was successful, but user workstation migration or local profile translation failed.
If user impact or downtime reaches a level that you have defined as unacceptable in your organization, you can implement your rollback plan and continue to operate in your premigration environment. Because the source domain remains intact during the restructure, you can restore the original environment by completing a few key steps.
To roll back to the premigration environment after migrating account objects:
1. Enable the user accounts in the source domain (if you disabled the accounts during the migration process).
2. Notify the users to log off from the target domain.
3. Notify the users to log on to the source domain.
4. Verify that users can access resources.
5. Verify that the logon scripts and user profiles for users work as configured in the source domain.
The rollback process for resource objects is similar to that for account objects. To roll back to the premigration environment after migrating resource objects:
1. Change the domain membership for the server or workstation to the source domain.
2. Restart the server or workstation.
3. Log on as a user and verify that you can access the resource.
Note
If you have to modify objects, such as member servers or domain controllers, to migrate them to the target domain, back up all the data before you make the modifications and perform the migration.
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
You must define how the objects that you are migrating are to be administered during the interforest restructure process. By establishing administrative procedures for migration objects, you can preserve the objects both in the source domain and the target domain. Consequently, you can fall back to the premigration environment if the restructure process is not successful.
Plan for the administration and management of the following types of account migration objects:
∙?User accounts, including security identifiers (SIDs)
∙?Global group membership
∙?User profiles
During the migration process, user accounts exist in both the source and the target domains. Administer changes to user accounts in the domain in which the user object is active. Continue to administer changes to group memberships in the source domain while the migration is taking place. Use the Migrate and merge conflicting objects option in the Active Directory Migration Tool (ADMT) to remigrate user accounts as often as necessary during the migration process. This ensures that changes that are made to the account in the source domain are propagated to the account in the target domain. This operation merges the existing account and the new account so that administration of the object can continue in the source domain for the duration of the migration process.
The Migrate and merge conflicting objects option applies the following guidelines when an account is migrated:
∙?If you change an attribute in the target domain and it is not used in the source domain, it is not overwritten with the NULL value from the source domain.
∙?If you change an attribute in the target domain and it is used in the source domain, it is overwritten with the value from the source domain.
∙?If the user has group memberships, the memberships are merged from the source memberships and the target memberships.
If this is not the desired behavior, you can configure ADMT to exclude attributes from being migrated, so that attributes in the target domain are retained.
For example, suppose that after migrating a user, you set attributes on the new user object in the target domain, such as a telephone number or office number. You remigrate the user by using the Migrate and merge conflicting objects option in ADMT, and the new information is retained in the target domain. If you changed the group memberships for the user in the source domain, the changes are propagated to the target domain when you perform the remigration.
Some attributes are excluded from the migration. These attributes include the following:
∙?Attributes that are always excluded by the system
∙?Attributes that are in the system attribute exclusion list
∙?Attributes that are configured by the administrator to be excluded
Some attributes are always excluded from the migration by ADMT and cannot be configured to be migrated. This protects system-owned attributes. These attributes include the following:
∙?Object globally unique identifier (GUID)
∙?SIDs (Although SIDs can be added to the SID history of the object in the target domain.)
∙?LegacyExchangeDN
∙?objectSid
∙?sAMAccountName
∙?Rid
∙?pwdLastSet
∙?userPassword
∙?member
∙?userPrincipalName
∙?manager
∙?managedBy
∙?isCriticalSystemObject
∙?legacyExchangeDN
∙?lastLogonTimestamp
∙?dNSHostName
∙?msDS-AuthenticatedAtDC
The first time that you run an ADMT user migration, ADMT generates a system attribute exclusion list, which it stores in its database. The system attribute exclusion list contains two attributes by default: mail and proxyAddresses. ADMT also reads the schema in the target domain, and adds any attributes to the list that are not part of the base schema. Attributes in this list are excluded from migration operations even if the attribute is not specified in the attribute exclusion list. An administrator can change the system attribute exclusion list only by using a script. This protects attributes that are important in order for server-based applications, such as Microsoft Exchange, to work. If the target domain schema is further extended after ADMT has generated the list, administrators must manually add the new attributes to the list, unless they are certain that copying the values of these attributes from the source domain will not interfere with server-based applications. For more information about creating a script to exclude system attributes, see article 937537 (http://go.microsoft.com/fwlink/?LinkId=207024) in the Microsoft Knowledge Base.
Administrators can define a list of attributes that are excluded from each migration. This is called an attribute exclusion list. By default, when using the ADMT console, state information for attributes that are configured to be excluded is stored in the user interface (UI) and included in the exclusion list for the next migration. Scripting and command-line attributes do not have state information. Therefore, they are not stored in the UI. These attributes must be added to the attribute exclusion list for each migration operation, either by means of the attribute name or by means of an option file.
Continue to administer the groups in the source domain during the migration process. Remigrate groups as often as necessary by using the Migrate and merge conflicting objects option in ADMT. This ensures that changes made to group memberships in the source domain are propagated to the groups in the target domain.
User profiles store user data and information about the desktop settings of the user. User profiles can either be roaming or local. The migration process is different for local and for roaming profiles.
Profile translation is one type of security translation, and profiles are translated during the migration process. If you perform security translation in add mode, the SIDs in the target and the source domains both have access to the profile. Therefore, if you have to roll back to the source environment, the SID in the source domain can use the profile. If you perform security translation in replace mode, you must retranslate the profile by using a SID mapping file (undoing the security translation) to roll back to the source environment.
Important
If you have to roll back to your original configuration, notify users that profile changes made in the target domain are not reflected in the source domain.
Some organizations might choose not to migrate user profiles. Other organizations might choose to replace users’ workstations during the user account migration process, and use a tool such as the User State Migration Tool (USMT) to migrate user data and settings to the users' new computers. The following table summarizes the migration requirements for user profiles.
A roaming profile location is configured for a domain user account, and specified in the following way:
\\host.name.fqdn\ProfileShare\<profilename>
Typically <profilename> is replaced with %username%. Thus the actual location of a roaming profile for user RoamUserX is:
\\host.name.fqdn\ProfileShare\RoamUserX
The roaming profile folder (in this example, RoamUserX) is created at the time of first logon for RoamUserX, and the actual profile data is stored within that folder.
Beginning with Windows Vista, a change was made to profiles that made them incompatible with previous versions of Windows. To differentiate the new profiles, a .V2 extension was added to all roaming profiles for users on computers running Windows Vista and later.
The location of a roaming profile for the same user RoamUserX for a computer that runs Windows Vista or later is:
\\host.name.fqdn\ProfileShare\RoamUserX.V2
This version can co-exist with a roaming profile for an earlier version of Windows.
ADMT distinguishes the two different profile folder names.
In order to migrate a roaming profile folder using ADMT, the default access control list of the folder needs to be modified. By default, when a user logs on and the roaming profile folder and contents are created, the <profilename> or <profilename>.V2 folders are given the following ACLs:
∙?SYSTEM – Full Control
∙?user_name - Full Control
∙?Owner = user_name
Therefore, only the owner of the profile, and the local system on which the share resides, are able to access the <profilename> or <profilename>.V2 folder. When the folder is assigned those default permissions, ADMT cannot access the folder for security translation.
To configure the folder permissions in order to allow ADMT to migrate the roaming profile, you can enable a Group Policy setting for the domain:
Computer Configuration\Policies\Administrative Templates\System\User Profiles\Add the Administrators security group to the roaming user profiles
If this setting enabled and propagated before the first logon of the user (before the roaming profile is created), then the roaming profile directory will have an added permission that grants Full Control to members of the Administrators group of the share host (host.name.fqdn in this example).
After this setting is enabled, migrations can be performed as long as the user who runs ADMT is included in the Administrators group of the share.
The user who runs ADMT user needs Full Control access on the roaming profile folders. To achieve that, you can try one of the following options:
1.
2. Create a script (for example, using Windows PowerShell) that performs that following:
a. Executes as SYSTEM on the share computer (host.name.fqdn in the example)
b. Adds the Administrators security group to the ACL set of the profile folders – propagating to all subfolders and files
c. Adds the Administrators security group with Full Control to the ACL set of the profile folders and have the permission inherited to all subfolders and files.
3. Create a script (for example, using Windows PowerShell) that performs that following:
a. Runs in the context of each roaming user (for example, as a logon task).
b. Adds the Administrators security group with Full Control to the ACL set of the profile folders and have the permission inherited to all subfolders and files.
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
Develop a plan to inform all affected users about the upcoming account migration, to ensure that they understand their responsibilities, the impact of the migration, and who to contact for help and support.
Before you begin the user migration process, send a notice to all users who are scheduled to be migrated. Because you typically migrate users in batches of approximately 100 users at a time, it is also helpful to send a final notice to the users in each batch two to three days before their batch is scheduled. If your organization maintains an intranet, publish the account migration schedule and the information that is contained in the user mail on an easily accessible Web page.
Include the following information in your end-user communication.
Alert users to the fact that their user accounts are scheduled to be migrated to a new domain. Point users to a Web page or internal resource where they can find additional information and view a migration schedule.
Inform users of their new domain name. Be sure to let them know that their account passwords will not change. Let users know that the original domain account will be disabled immediately following the migration and the disabled account will be deleted after a specified period of time. This is not necessary if the users log on with user principal names (UPNs).
Make sure that users understand that when their account is migrated, they might be unable to access some resources, such as Web sites, shared folders, or resources that individuals in their group or division do not widely use.
Provide information to users about whom to contact for assistance in regaining access to required resources.
Make sure that users understand that during the migration process they will be unable to log on to the domain or access e-mail or other resources. Be sure to specify the period of time for which they will be unable to log on.
Alert users to any steps that they must complete before the migration process begins. For example, they must decrypt files encrypted by means of Encrypting File System (EFS). Failure to decrypt encrypted files will result in loss of access to encrypted files following the migration.
Users must also ensure that their computers are connected to the network when their account is scheduled to be migrated.
Describe other changes that users can expect to experience after the migration, such as changes in use of smart cards, secure e-mail, or instant messaging, if applicable.
Provide information about where users can go to find more information For example, they can visit an internal Web site where you post information about the migration. Also, provide information about whom to contact if a user has a conflict with the date scheduled for the migration.
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
Before you begin to migrate your accounts from the source domain to the target domain, you have to prepare the source and target domains for the migration. The following illustration shows the tasks that are required to prepare the domains for the interforest domain restructure process.
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
The computer on which the Active Directory Migration Tool (ADMT) is installed requires 128-bit high encryption. This encryption is standard on computers that are running Windows 2000 Server Service Pack 3 (SP3) or later.
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
Before you can migrate accounts and resources from a source domain to a target domain in a different Active Directory forest, you must ensure that the appropriate trusts exist between the forests. Trust relationships between the forests that you are restructuring makes it possible for the Active Directory Migration Tool (ADMT) to migrate users and service accounts and translate local user profiles from the source domains to the target domains. In addition, depending on how trust relationships are configured, users in the source domain can access resources in the target domain. Moreover, users in the target domains can access resources in the source domain that have not yet been migrated.
To migrate users and global groups, you must establish a one-way trust between the source domain and the target domain, so that the source domain trusts the target domain.
To migrate resources or translate local profiles, you must do one of the following:
∙?Create a one-way trust between the source domain and the target domain.
∙?Create a two-way trust between source and target domains.
For more information about creating trusts, see Creating Domain and Forest Trusts (http://go.microsoft.com/fwlink/?LinkId=77381).
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
To migrate accounts and resources between forests, you must establish migration accounts and assign the appropriate credentials to those accounts. The Active Directory Migration Tool (ADMT) uses the migration accounts to migrate the objects that you identify. Because ADMT requires only a limited set of credentials, creating separate migration accounts helps you to simplify administration. If the migration tasks for your organization are distributed across more than one group, it is helpful to create a migration account for each group involved in performing the migration.
To simplify administration, create a single account in the source domain and a single account in the target domain for all objects, with the required credentials to modify the objects, such as users, managed service accounts, global groups, and local profiles, to be migrated by that account. For example, a migration account that you use to migrate user accounts along with the security identifier (SID) history, global groups along with SID history, computers, and user profiles has local administrator or domain administrator credentials in the source domain. The migration account also has delegated permission on the user, managed service account, group, and computer organizational units (OUs) in the target domain, with the extended right to migrate SID history on the user OU. The user must be a local administrator on the computer in the target domain on which ADMT is installed. A migration account that you use to migrate workstations and domain controllers must have local administrator or source domain administrator credentials on the workstations or the account must have source domain administrator credentials on the domain controller, or both.
In the target domain, it is necessary to use an account that has delegated permissions on the computer OU and the user OU. You might want to use a separate account for the migration of workstations if this migration process is delegated to administrators that are in the same location as the workstations.
The following table lists the credentials that are required in the source and target domains for different migration objects.
The following procedures provide examples for creating groups or accounts to migrate accounts and resources. Procedures differ according to whether a one-way trust or a two-way trust exists The procedure for creating migration groups when a one-way trust exists is more complex than the procedure for when a two-way trust exists. This is because, with a one-way trust, you must add the migration group to the local Administrators group on local workstations.
The sample procedure for creating migration groups when a one-way trust exists involves creating separate groups for migrating accounts and resources. However, you can combine acct_migrators and res_migrators into one group, if you do not need to separate them to delegate different sets of permissions.
To create an account migration group when a one-way trust exists in which the source domain trusts the target domain
To create a resource migration group when a one-way trust exists in which the source domain trusts the target domain
To create a resource migration account when a two-way trust exists between the source and target domains
ADMT also includes database administration roles that you can use to assign a subset of database permissions to users who perform specific migration tasks. The database administration roles and the migration tasks that they can perform are listed in the following table.
Users who are assigned the role of SQL Server sysadmin hold all ADMT database administration roles. They have the credentials to do the following:
∙?Display database roles and users who hold those roles
∙?Add groups or users to roles
∙?Remove groups or users from roles
By default, the local Administrators group is assigned the role of sysadmin and can perform all ADMT database functions.
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
You can manually configure the source and target domains to migrate the security identifier (SID) history before you begin an interforest migration, or you can allow the Active Directory Migration Tool (ADMT) to configure the domains automatically the first time that it runs.
To configure the source and target domains manually, complete the following procedures:
∙?Create a local group in the source domain to support auditing.
∙?Enable TCP/IP client support on the source domain primary domain controller (PDC) emulator.
Note
If you are migrating from a domain with domain controllers that run Windows Server 2003 or later to another domain with domain controllers that run Windows Server 2003 or later, the TcpipClientSupport registry entry does not have to be modified.
∙?Enable auditing of account management in the source and target domains. For Windows Server 2008 and later, you need to also enable auditing for directory service access in order to migrate users with SID history between forests.
To create a local group in the source domain to support auditing
To enable TCP/IP client support on the source domain PDC emulator
To enable auditing in Windows Server 2008 and later domains
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
The Active Directory design team creates the organizational unit (OU) structure for the target domain. This team also defines the groups that are responsible for the administration of each OU and the membership of each group. You can use that information and the following procedure to configure the target domain for administration.
To configure the target domain OU structure for administration
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
ADMT requires a SQL Server database instance to be previously installed. You can run any version of SQL Server.
∙?Detach an Existing Database File from a Previous Version of ADMT and SQL Server
∙?Reconfiguring a Database Installation with Admtdb.exe
∙?Reuse an Existing ADMT Database from a Previous Installation
ADMT can be downloaded from the Microsoft Connect (http://go.microsoft.com/fwlink/?LinkId=401534) site. It requires a preconfigured instance of SQL Server for its underlying data store. If you use SQL Server Express, the ADMT console must be installed and run locally on the server that hosts the SQL Server Express database instance. If you use a full version of SQL Server, you can install and run the ADMT console on a remote computer, and you can run multiple ADMT consoles on different remote computers.
The rest of this section covers the following installation issues:
∙?Prerequisites for installing ADMT
Before you install ADMT, complete the following prerequisite tasks:
∙?In Control Panel, use Add or Remove Programs to remove all previous versions of ADMT.
Although ADMT does not support an upgrade from a previous version, you can reuse an existing database from a previous ADMT installation, unless it is a database from ADMT v2 or ADMT v1. For more information, see Reuse an existing ADMT database from a previous installation.
∙?ADMT must not be installed on a server that runs Server Core or a read-only domain controller (RODC).
∙?Configure a SQL Server database installation with an ADMT instance. You can either download and install SQL Server Express locally or create a database instance for ADMT from an existing SQL Server database.
For more information about creating an ADMT instance on an existing SQL Server database, see Install ADMT by Reconfiguring a Database Installation with Admtdb.exe.
Download SQL Server Express, or create a new database instance on an existing SQL Server installation to use with ADMT. During the SQL Server installation, select Windows Authentication Mode. After you install SQL Server, use the following procedure to install ADMT.
Membership in Administrators, or equivalent, is the minimum required to complete this procedure. Review details about using the appropriate accounts and group memberships at Local and Domain Default Groups (http://go.microsoft.com/fwlink/?LinkId=83477).
To install ADMT
If you use SQL Server Express, the database is automatically detached when you remove ADMT. The detached SQL Server Express database can be reused as part of another ADMT installation later. In this case, ADMT automatically attaches to the existing database that you specify during installation.
You can detach the ADMT database file from a full SQL Server instance if you have another application that you want to attach to the same database. For example, if you plan to move from a full SQL Server installation to SQL Server Express, or if you have an ADMT database file from an earlier installation that you have attached to SQL Server management tools, it needs to be detached from that database before it can be consumed by ADMT.
To detach a database, you can use the SQL stored procedure:
sp_detach_db [ @dbname = ] 'dbname'
For more information about this stored procedure call, see SQL Server documentation. For more information about how to use SQL Server Management Studio to detach the database, see How to: Detach a Database (SQL Server Management Studio (http://go.microsoft.com/fwlink/?LinkId=183994).
If you experience problems with database configuration during installation, or if you specified SQL Server Express during the ADMT installation but want to switch to SQL Server (or vice versa) after installation, you can use Admtdb.exe. The command-line syntax for Admtdb.exe is in the following table.
You can run Admtdb.exe from an elevated command prompt on any server that can target the server computer that is running SQL Server to create the ADMT instance on that server computer.
To see Help for all Admtdb.exe command-line options, at the command prompt, type admtdb /?.
If you began the migration by using a local SQL Server Express database and then configured a remote instance of a SQL Server database, and you need to switch back to using a local SQL Server Express database, complete the following procedure. In this case, the ADMT database file is already attached to the SQL Express instance. Therefore, there is no need to explicitly reattach it.
If you began the migration by using SQL Server and you want to switch to SQL Server Express, see Reuse an existing ADMT database from a previous installation.
Membership in Administrators, or equivalent, is the minimum required to complete this procedure. Review details about using the appropriate accounts and group memberships at Local and Domain Default Groups (http://go.microsoft.com/fwlink/?LinkId=83477).
To reuse a local database after you configure a remote instance of a SQL Server database
If you want to use an existing (detached) database from an earlier ADMT installation with a local SQL Server instance, you can complete the following procedure.
Note
Membership in Administrators, or equivalent, is the minimum required to complete this procedure. Review details about using the appropriate accounts and group memberships at Local and Domain Default Groups (http://go.microsoft.com/fwlink/?LinkId=83477).
To use an existing (detached) ADMT database with a local SQL Server instance
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
The Active Directory Migration Tool (ADMT) uses the Password Export Server service version 3.1 (PES v3.1) to help you migrate passwords when you perform an interforest migration. PES v3.1 can be downloaded from Microsoft Connect (http://go.microsoft.com/fwlink/?LinkId=401534), the same location where you can download ADMT. The PES service can be installed on any writable domain controller in the source domain that supports 128-bit encryption.
Note
The PES service cannot be installed on read-only domain controllers (RODCs).
Because ADMT does not check all settings of the target domain password policy, users need to explicitly set their password after migration unless the Password never expires or Smartcard is required for interactive logon flags are set.
The PES service installation in the source domain requires an encryption key. However, you must create the encryption key on the computer running the ADMT in the target domain. When you create the key, save it to a shared folder on your network or onto removable media so that you can copy it to the local drive of the source domain controller where the PES service is installed. Store it in a secure location that you can reformat after the migration is complete.
You can install the PES service after you install ADMT. The following procedures explain how to install and use the PES service on computers running Windows Server 2008 or later.
Membership in Administrators, or equivalent, is the minimum required to complete this procedure. Review details about using the appropriate accounts and group memberships at Local and Domain Default Groups (http://go.microsoft.com/fwlink/?LinkId=83477).
To create an encryption key
After you create the encryption key, configure the PES service on a domain controller in the source domain.
ADMT provides the option to run the PES service under the Local System account or by using the credentials of an authenticated user in the target domain. We recommend that you run the PES service as an authenticated user in the target domain. This way, you do not have to add the Everyone group and the Anonymous Logon group to the Pre–Windows 2000 Compatible Access group.
Note
If you run the PES service under the Local System account, ensure that the Pre–Windows 2000 Compatible Access group in the target domain contains the Everyone group and the Anonymous Logon group.
To configure the PES service in the source domain
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
Start the Active Directory Migration Tool (ADMT) by running a test migration of a global group, and select the option named Migrate Group SIDs to target domain. In order to migrate security identifier (SID) history, you need to complete the preparation tasks as described in Configuring the Source and Target Domains for SID History Migration. If you did not previously configure the source and target domains to migrate the SID history, ADMT prompts you and provides an option to have the following tasks completed automatically.
∙?Creates a local group, source_domain$$$, in the source domain, which is used to audit SID history operations. Do not add members to this group; if you do, SID history migration will fail.
∙?Enables audit policies in the source and target domains.
Warning
ADMT does not automatically enable auditing for directory service access, which is required in order to migrate SID history to or from a domain that has domain controllers that run Windows Server 2008 or later.
Use the following procedure to initialize ADMT.
To initialize ADMT by running a test migration of a global group
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
This topic explains how to identify service accounts that the Active Directory Migration Tool (ADMT) will migrate to the target domain. A service account is a user account that provides a security context for applications and that is granted permission to log on as a service.
ADMT does not migrate services that run in the context of the Local System account because they are migrated when the computer is migrated. However, services that run in the context of a user account must be updated on the computer after you have completed the account migration process. ADMT also cannot migrate the Local Service or Network Service accounts because they are well-known accounts that always exist in domains.
The process of identifying, migrating, and updating services that run in the context of user accounts involves three steps. First, the administrator starts ADMT from the target Active Directory domain and runs the Service Account Migration Wizard. Second, the Service Account Migration Wizard sends an agent to a specified computer and identifies (but does not migrate) all of the services on the computer that are running in the context of a user account. Third, which can occur later in the migration process, the accounts are migrated when other user accounts are migrated with the User Account Migration Wizard.
The Service Account Migration Wizard scans an administrator-defined list of servers for services that are configured to use a domain account to authenticate. The accounts are then flagged as service accounts in the ADMT database. The password is never migrated when a service account is migrated. Instead, ADMT uses a clear-text representation of the password to configure the services after the service account migration. An encrypted version of the password is then stored in the password.txt file in the ADMT installation folder.
An administrator of a workstation or server can install any service and configure the service to use any domain account. If a malicious user who has administrator privileges configures a service to authenticate without a correct password (such as a password that does not meet complexity requirements), the service will not start. After the service account is migrated, ADMT configures the service on the workstation or the server to use the new password, and the service will now start using the user account in the target domain.
Therefore, you should include in the Service Account Migration Wizard only those servers that trusted administrators manage. Do not use the wizard to detect service accounts on computers that trusted administrators do not manage, such as workstations.
Dispatch agents to all servers that trusted administrators manage in the domain to ensure that you do not overlook any service accounts. If you miss a service account that shares an account with a service that has already been migrated, ADMT cannot synchronize the service accounts. You must manually change the password for the service account and then reset the service account password on each server that is running that service.
When the accounts that the Service Account Migration Wizard identifies in the ADMT database as running in the context of a user account are migrated to the target domain, ADMT grants each account the right to log on as a service. If the service account is assigned rights by means of its membership in a group, the Security Translation Wizard updates the account to assign those rights. For more information about running the Security Translation Wizard, see Transitioning Service Accounts in Your Migration later in this guide.
You can identify service accounts by using the ADMT snap-in, the ADMT command-line option, or a script.
To identify service accounts by using the ADMT snap-in
The wizard connects to the selected computers and then sends an agent to check every service on the remote computers. The Service Account Information page lists the services that are running in the context of a user account and the name of that user account. ADMT notes in its database that these user accounts have to be migrated as service accounts. If you do not want a user account to be migrated as a service account, select the account, and then click Skip/Include to change the status from Include to Skip.
You use Update SCM to update the Service Control Manager with the new information. Unless you have a failure in reaching a computer to update the service, the Update SCM button is not available. If you have a problem updating a service account after the account was identified and migrated, ensure that the computer that you are trying to reach is available, and then restart the Service Account Migration Wizard.
In the wizard, click Update SCM to try to update the service. If you ran the Service Account Migration Wizard previously and the Update SCM button is not available, examine the ADMT log files to determine the cause of the problem. After you correct the problem and the agent can connect successfully, the Update SCM button becomes available.
To identify service accounts by using the ADMT command-line option
To identify service accounts by using a script
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
The process of migrating account objects from a source domain to a target domain in another Active Directory forest involves first migrating service accounts and then migrating global groups. After the groups are in place in the target domain, you can migrate users according to the process that you selected, either while using the security identifier (SID) history for resource access or without using SID history for resource access. When the account object migration process is complete, you can instruct users from the source domain to log on to the target domain. The following illustration shows the process for migrating accounts between domains in different forests.
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
Begin the process of migrating objects by migrating service accounts that run as domain user accounts. For information about identifying service accounts for migration, see Transitioning Service Accounts in Your Migration. This topic does not apply to standalone managed service accounts. Standalone managed service accounts can be migrated using the Managed Service Account Migration Wizard and the Computer Migration Wizard. Group managed service accounts cannot be migrated.
To transition service accounts, use the Active Directory Migration Tool (ADMT) to complete the following tasks:
∙?Migrate the service accounts from the source domain to the target domain.
∙?Modify the services on each server in the source domain so that the services use the service account in the target domain instead of in the source domain.
You can transition service accounts by using the ADMT snap-in, the ADMT command-line option, or a script.
To transition service accounts by using the ADMT snap-in
To transition service accounts by using the ADMT command-line option
To transition service accounts by using a script
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
To preserve the memberships of global groups, you must migrate global groups before you migrate users.
Note
Do not migrate global groups during peak work hours. The global group migration process can consume a large amount of network resources and resources on the domain controller in the target domain.
Global group migration involves performing the following steps:
1. The administrator selects global group objects in the source domain.
2. A new global group object is created in the target domain, and a new primary security identifier (SID) is created for the object in the target domain.
3. To preserve resource access, the Active Directory Migration Tool (ADMT) adds the SID of the global group in the source domain to the SID history attribute of the new global group in the target domain.
After the migration, events are logged in both the source and the target domain.
Note
If the user account migration process takes place over an extended period of time, you might have to remigrate global groups from the source to the target domain. The objective is to propagate membership changes that are made in the source domain before the migration process is complete. For more information about remigrating global groups, see Remigrating All Global Groups After All Batches Are Migrated, later in this guide.
You can migrate global groups by using the ADMT snap-in, the ADMT command-line option, or a script.
To migrate global groups by using the ADMT snap-in
To migrate global groups by using the ADMT command line option
To migrate global groups by using a script
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
To migrate accounts while using the security identifier (SID) history, first migrate all the user accounts—but do not enable them in the target domain—to prepopulate the target domain and allow migration of user profiles. After all the user accounts are successfully migrated, begin migrating users in batches by migrating first the user profile, then the workstation, and then the user account. Before you migrate all user accounts, ensure that you have created test accounts that you can include in each batch to verify the success of the migration for that batch.
You cannot migrate every user property when you migrate user accounts. For example, Protected Storage (Pstore) contents for Windows NT 4.0 workstations, including Encrypting File System (EFS) private keys, are not migrated by the Active Directory Migration Tool (ADMT) when you migrate user accounts. To migrate Pstore contents, you must export and import keys during the migration process.
For clients that are running Windows 2000 Server or later, data that is protected by the Data Protection API (DPAPI) is also not migrated. DPAPI helps protect the following items:
∙?Web page credentials (for example, passwords)
∙?File share credentials
∙?Private keys that are associated with EFS, Secure/Multipurpose Internet Mail Extensions (S/MIME), and other certificates
∙?Program data that is protected by using the CryptProtectData() function
For this reason, it is important to test user migrations. Use your test migration account to identify any properties that did not migrate, and update user configurations in the target domain accordingly.
Complete the following steps to migrate user accounts to the target domain:
1. Migrate standalone managed service accounts. Standalone managed service accounts must be migrated before computers. Group managed service accounts cannot be migrated.
2. Migrate all the user accounts with the account enabled in the source domain, disabled in the target domain, with complex password selected, and with no attributes migrated.
3. Translate local user profiles for a batch of users.
4. Migrate workstations in batches that correspond to the user account batches.
5. Before you migrate the batch of user accounts, verify that local profile and workstation migration succeeded for all users in the batch. Do not migrate any user account for which profile or workstation migration failed. This will result in users overwriting their existing profiles when they log on to the target domain.
6. Remigrate user accounts in batches with the account set to expire in the source domain in seven days, the target account enabled, with password migration selected, and all attributes migrated.
7. After each batch, remigrate all global groups to update any group membership changes.
8. Notify users in the batch to log on to the target domain.
9. After all users are migrated, run a final global group migration to update any group membership changes.
Migrating user accounts in batches helps you to track the accounts that have been migrated and to test the success of each migration step. If the organizational unit (OU) structure for the target domain is the same as the OU structure for the source domain, migrate groups of users based on OU. If the OU structures are not the same, select an alternative way to group users based on the structure of your organization. For example, you might migrate users by business unit or by floor to enable you to consolidate help desk resources.
If you plan to retain your source domain OU structure, migrate the OUs along with the users that they contain. For example, if your source domain has a functional OU structure, and the target domain does not have an OU structure, migrate OUs from the source domain.
If you created a new OU structure in the target domain, migrate batches of users without the OUs. For example, if your source environment was a Windows NT 4.0 domain that you upgraded to a Windows Server 2003 domain, the source domain might not have an existing OU structure; therefore, you can migrate users without migrating OUs.
For more information about creating an OU structure, see Designing Organizational Units for Delegation of Administration (http://go.microsoft.com/fwlink/?LinkId=76628).
Until you migrate all user and group accounts, continue to administer global group membership in the source domain. To support a rollback strategy, manually synchronize any changes that you make to users in the target domain with the existing user accounts in the source domain. For more information about administering users and groups during the interforest restructure process, see Managing Users, Groups, and User Profiles, earlier in this guide.
If you are migrating OUs when you migrate user accounts, migrate the groups that belong to those OUs to the target domain OU during the user account migration process. When you migrate global groups by using the global group migration process, they are placed in the target OU in the target domain. If you migrate OUs from the source to the target domain, select the option to move the global groups to the target domain at the same time. This way, the groups are moved from the target OU that they were placed in during the initial global group migration to the OU in which they belong.
Using ADMT to migrate user accounts preserves group memberships. Because global groups can contain only members from the domain in which the group is located, when users are migrated to a new domain, the user accounts in the target domain cannot be members of the global groups in the source domain. As part of the migration process, ADMT identifies the global groups in the source domain that the user accounts belong to, and then determines whether the global groups have been migrated. If ADMT identifies global groups in the target domain that the migrated users belonged to in the source domain, the tool adds the users to the appropriate global groups in the target domain.
Using ADMT to migrate user accounts also preserves user passwords. After the user accounts are migrated to and enabled in the target domain, the users can log on to the target domain by using their original passwords. After they log on, the users are prompted to change the password.
If the user account migration process is successful but the password migration process fails, ADMT creates a new complex password for the user account in the target domain. By default, ADMT stores new complex passwords in the C:\Program Files\Active Directory Migration Tool\Logs\Password.txt file.
If you have a Group Policy setting on the target domain that does not allow blank passwords (the Default Domain Policy/Computer Configuration/Security Settings/Account Policies/Password Policy/Minimum password length setting is set to any number other than zero), password migration will fail for any user who has a blank password. ADMT generates a complex password for that user, and writes an error to the error log.
Establish a method for notifying users who have been assigned new passwords. For example, you can create a script to send an e-mail message to users to notify them of their new passwords.
The following illustration shows the steps involved in migrating accounts if you are using SID history for resource access.
A standalone managed service account is a domain account object that is available in the Active Directory schema beginning with Windows Server 2008 R2. A standalone managed service account can be installed on computers that run Windows 7 or Windows Server 2008 R2 or later.
Note
Group managed service accounts cannot be migrated by using ADMT.
The process for identifying and migrating managed service accounts using ADMT involves two steps:
1. Use the Managed Service Account Migration Wizard or admt managedserviceaccount command line tool to migrate managed service account objects to the target domain, as explained in this topic.
2. Use the Computer Migration Wizard or admt computer command line tool to migrate the computers that host the managed service accounts. For more information about migrating computers as part of an interforest migration, see Remigrating User Accounts and Migrating Workstations in Batches. For more information about migrating computers as part of an intraforest migration, see Migrate Workstations and Member Servers.
The managed service accounts that were migrated in the previous step and that were originally installed on the migrated computers are identified during the computer migration. After the computer migration is complete, the managed service accounts are re-installed on the computer in the target domain (unless you request to skip them). If you have run security translation on the member servers that have resources that grant permission to the managed service accounts, the accounts have the same permissions for resource access in the target domain as they had in the source domain.
Important
If you are migrating managed service accounts between domains within the same forest, run security translation on the member servers in the source domain that have resources that grant permission to the managed service accounts. Security translation is not normally necessary during an intraforest migration because a SID is moved with an account. But managed service accounts that are migrated between domains in the same forest are copied. A new account is created in the target domain and the account properties (excluding SID) are copied from the source domain. Therefore, you need to run security translation.
If the resources in the source domain that grant permission to a managed service account are hosted on the same computer as the managed service account, then you should select security translation on the appropriate resources (Files and folders, Local groups, and so on) on the Translate Objects page of the Computer Migration Wizard. If the resources are on other computers that are not being migrated, then you need to run the Security Translation Wizard on those computers and on the Security Translation Options page, select Previously migrated objects or explicitly provide the MSA accounts in a SID mapping file. For more information about translation security, see Translating Security on Your Member Servers.
To migrate managed service accounts by using the ADMT snap-in
To migrate managed service accounts by using the ADMT command-line option
For managed service accounts that are hosted on member computers in the source domain, you can include the member computer when you perform computer migration and the managed service account will be installed on the member computer in the target domain after the computer is migrated.
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
Begin the user account migration process by migrating all users. This helps you translate local profiles and ensure that users continue to have the appropriate resource access after the migration.
Note
Built-in accounts (such as Administrators, Users, and Power Users) cannot be Active Directory Migration Tool (ADMT) migration objects. Because built-in account security identifiers (SIDs) are identical in every domain, migrating these accounts to a target domain results in duplicate SIDs in a single domain. Every SID in a domain must be unique. Well-known accounts (such as Domain Admins and Domain Users) also cannot be ADMT migration objects.
The ADMT user account migration process includes the following steps:
1. ADMT reads the attributes of the source user objects.
2. ADMT creates a new user object in the target domain and a new primary SID for the new user account.
3. ADMT adds the original SID of the user account to the SID history attribute of the new user account.
4. ADMT migrates the password for the user account.
5. If ADMT identifies global groups in the target domain that the migrated users belonged to in the source domain, the tool adds the users to the appropriate global groups in the target domain.
During the migration, audit events are logged in both the source and the target domains. ADMT excludes some system attributes by design. For more information see Managing Users, Groups, and User Profiles.
You can migrate user accounts by using the ADMT snap-in, by using the ADMT command-line option, or by using a script. If you are migrating user accounts that have authentication mechanism assurance enabled, use an include file. In the include file, specify the original user principal names (UPNs) from the source domain as the target UPNs so that you can keep the authentication mechanism assurance working. For more information about using an include file, see Use an Include File.
Important
When you start a user migration with SID history from the command line or from a script, you must perform the migration on a domain controller in the target domain. It is recommended that you use a full version of SQL Server when you install ADMT on a domain controller.
To migrate the current batch of users by using the ADMT snap-in
To migrate user accounts by using the ADMT command-line option
To migrate user accounts by using a script
Applies to: Active Directory Migration Tool 3.2 (ADMT 3.2)
Remigrating user accounts and workstations in batches helps you track the migration process. For each batch of users, first translate local user profiles, and then migrate workstations. Verify that the profile and workstation migration succeeded, and then migrate the user accounts. Remigrate global groups after each batch. For more information, see Remigrating All Global Groups After All Batches Are Migrated, later in this guide.
The Active Directory Migration Tool (ADMT) translates profiles for supported computer migration objects. For a list of which operating systems are supported for computer migration objects for different versions of ADMT, see Active Directory Migration Tool versions and supported environments.
User profiles are stored locally on the workstation. When a user logs on to another workstation, he or she must create a new, unique local user profile. Translate the local user profiles for the first batch of users immediately after migrating all user accounts.
Local profiles are translated in replace mode because if you perform the profile translation in add mode, certain aspects of software installation that use Group Policy software deployment might not work. Any application that is packaged with Windows Installer version 2.0 (which is included on workstations running Windows 2000 Server Service Pack 3 (SP3) or Service Pack 4 (SP4) and Windows XP Service Pack 1 (SP1) or Service Pack 2 (SP2), as well as in many common software packages) might not function after the profile is translated. For example, the application executable files might not be removed after the last user removed the application. When the ADMT Security Translation Wizard is translating local profiles in replace mode, it reverts to add mode if a profile is locked. This might result in a successful profile translation. However, application installations might not function after the profile is translated.
Note
The night before you notify the users to log on by using their new accounts in the target domain, translate the local user profiles. Translating profiles the night before ensures that the new user profile reflects the most current user settings.
You can translate local user profiles by using the ADMT snap-in, the ADMT command-line option, or a script.
To translate local user profiles by using the ADMT snap-in
To translate local user profiles by using the ADMT command-line option
To translate local user profiles by using a script
After you migrate a batch of local user profiles, migrate the corresponding batch of user workstations. When you migrate a workstation between domains, the Security Accounts Manager (SAM) database is migrated along with the computer. Accounts in the local SAM database (such as local groups) that are used to enable access to resources always move with the computer. Therefore, these accounts do not have to be migrated.
If a workstation has managed service accounts installed and those accounts have been previously migrated, ADMT provides an option to reinstall the migrated managed service account on the migrated computer and update Service Control Manager. So that ADMT can perform this operation, the account performing the computer migration needs permissions to modify the security descriptor of the migrated managed service account.
Note
Use a low value for the RestartDelay parameter to restart workstations immediately after joining them to the target domain, or as soon as possible thereafter. Resources that are not restarted after migration are in an indeterminate state.
You can migrate workstations and member servers by using the AMDT snap-in, ADMT command-line option, or a script.
To migrate workstations by using the ADMT snap-in
To migrate workstations by using the ADMT command-line option