Exchange 2003 2007 

Exchange Articles, News and Discussions
Welcome to Exchange 2003 2007  Sign in | Join | Help
in Search

AD and Exchange InterOrg Migration - A Real World Example Part 1


In part one of this two part series I will discuss the  process of installing configuring running the Active Directory Migration Tool V3 (ADMT) with the objective of performing and Exchange Interorg migration which is what I was outline in the second part to this series. 

At least once in the life of a IT Administrator you will be faced with the situation of an Active Directory and Exchange Inter-org migration, this could be because a company is taking over another company, a business unit needs to be migrated into your AD forest/Exchange Org. For someone who has not performed this type of migration before it might seem like a daunting task, but if you follow the steps outlined in my article there is not much that can go wrong
 
The following is high level overview of the of steps that should be taken in order, to perform a success fully inter-org AD migration. 

  •  Pre Migration steps
    •  Check/Raise domain functional level of target domain
    •  Setup trust relationship between forests
    •  Install ADMT 3.0
    •  Grant appropriate administrative privileges
    •  Setup & configure Password Export Server (PES)
  •  Perform migration  

A few important notes before I get started:

  • if you are performing Migrations from an NT 4.0 domain please read The Active Directory Migration Tool’s help guide, section Configure the Source and Target Domains to migrate SID History as there are additional steps that need to be performed for migration from an NT 4.0 domain
  • Decrypt any files in the source domain that have been encrypted with EFS or access will be lost.
  • The time should be synchronized in each forest
  • Do regular backups and have a recovery plan


Check/Raise domain functional level of target domain
To perform domain migrations the target domain should be in at least Windows 2000 Native Domain functional level. You should check and change if required by following the steps below:
Open Active Directory Domains and trusts for your target domain | Right click on the domain (in my case NewDomain.Local) | select Raise Domain Functional Level, I have chosen to raise domain to Windows Server 2003 domain functional level (see figure 1) 


Figure 1 “Raise Domain Functional Level: Windows Server 2003”

Setup trust relationship between forests 

This involves creating a one way trust relationship in which the source domain trusts the target domain. 

To begin open Active Directory Domains & Trusts for your target domain Right click properties on your target domain (in my example NewDomain.local) | Select the Trusts tab | Click New Trust (figure 2)

- At the Trust Name window enter the DNS name of the source domain, Next (figure 3)
- At the Direction of Trust window select One-way incoming, Next (figure 4)
- At the Sides of Trust window select Both this domain and the specified domain  (figure 5)


Figure 2 “Domain & Trusts NewDomain.local properties”


Figure 3  ”Trust Name DNS name of source domain”


Figure 4 “Direction of Trust: One-way incoming”


Figure 5 “Sides of trust window: Both this domain and the specified domain”

Install ADMT 3.0 

The ADMT 3.0 install process is fairly straight forward and you should be fairly right to go with the defaults, unless you want to import data from an Existing ADMT 2.0 database or run centralized databases with multiple ADMT consoles hosted in SQL 2000/2005, instead of the default Microsoft SQL Server Desktop Edition (WMSDE). In Figure 6 I have selected Use Microsoft SQL Server Desktop Edition (Windows) In figure 7 I have chosen not to import data from a previous ADMT V2 database


Figure 6 “ADMT V3 Install User SQL Server Desktop Edition”


Figure 7 “Import data from and ADMT v2 database”

Grant appropriate administrative privileges

To successfully perform migrations & migrate SIDHistory the account performing these migrations should be a member of at least the Builtin\Administrators group in the source domain and Domain Admins group of the target domain.For the purposes of this exercise I will run the migration as the administrator in the target domain


Password Export Server (PES)

This service needs to be installed on a DC source domain and is required if you intend on also migrating passwords with accounts into the target forest. The Servie requires an Encryption key that is generated in the target domain, to export this key from the target domain the following ADMT syntax is used, admt can be found in the following location (C:\WINDOWS\ADMT)

admt key /option:create /sourcedomain: SourceDomain /keyfile:KeyFilePath /keypassword:{password|*}

It is recommended that the PES Encryption key is created to floppy
 
Before you install the service on the source domain you will need to create an account that will be used for the PES Service to run under, this should be an account in the target domain, and will require the Log on as a service right in the source domain To install password Export Service in Source Domain, perform the following procedure:

Insert the floppy containing the PES Encryption key generated in the target domain into the DC in source domain that the service will be installed in .
Login to this DC/PES server, and execute the following msi C:\WINDOWS\ADMT\PES\Pwdmig.msi
You will first need to specify the path to the PES key you generated earlier (If it is anything other than the default A: ) see Figure 8 below.

Next you will need to specify the password you created on the key, figure 9 

The final Window you need to enter data into is the specify a service account window, figure 10 below.


Figure 8  “The ADMT Password Migration DLL – Specify encryption file Window”


Figure 9 “ADMT Password Migration DLL – Specify encryption key password”


Figure 10 “Specify the account the ADMT Password Migration DLL service will run under”

Now that the PES service has been installed and configured in the source domain, we can move on the next task performing the migration. 

Perform the migration

**Before getting started one tip for large migrations, users should be migrated in batches, each batch should contain users from the same business units, and/or users that access the same resources, this particularly important when migrating users who share Exchange resources such as delegates to mailboxes. 

To begin the AD account migration process Launch the Active directory Migration tool in the target domain,  in the console window that opens up right click on Active Directory Migration Tool and select User Account Migration Wizard, this will launch the User Account Migration Wizard

The first window of significance that you will see is the Domain Selection window (figure 11 below) were you specify the source domain and domain controller then the target domain and domain controller.


Figure 11 “the ADMT User Migration Wizard’s Domain Selection Window”

The next window the User Selection Option window(figure 12 below), gives you the choice of choosing users from a selection window or to read the users out of an include file, I am going to go with the first option Select users from domain.


Figure 12 “ADMT User Migration Wizard’s User Selection Option window”

In the User Selection window (figure 13 below) you will need to click add to  specify the users you wish to migrate, by clicking on the advanced button you can search for as well as select multiple users in the source domain.


Figure 13 the ADMT User Migration Wizard’s User Selection window

You should now see the Organizational User Selection Window (figure 14 below), here you specify the OU you would like accounts to be migrated into.


Figure 14 “the ADMT User Migration Wizard’s Organizational Unit selection window”

The Password Options window, asks questions regarding the migration of passwords for the migration, the most obvious selections are to Migrate passwords but not for existing users as seen in figure 15 below, additionally you will need to specify the DC that has the Password Export Server Service installed on it.


Figure 15 – ADMT User Account Migration Wizard’s – Password Options Window.

The next window the Account Transition Options window (figure 16 below), is where you specify the various options in regard to the status of the source and target accounts, in most migrations the Target Account State would be set to Target same as source, there may be  reasons such as migration of accounts into a resource forest where you would want accounts to be disabled, or if you wanted to control when users could login to target domain. 

In the Source Account Disabling Options section of the window, you use these checkboxes if you wanted accounts to either be disabled once the account had been migrated or after a specified number of days.
Note the Migrate User SIDs to target domain checkbox, this is required to successfully migrate exchange mailboxes to a separate forest and therefore will be required.


So what is SID History
SID History is an attribute and is not normally populated, but it is populated on the target account by tools like ADMT during migration, this attribute is populated with is the SID of the source account, and allows the target account to access resources in the source domain as if it were the original account, in affect like having two SIDs. The SID History attribute is also used by the Exchange Migration Wizard to determine the account an exchange mailbox should be linked to during the Exchange mailbox migration process.

To use SID History the target domain must be in native mode!


Figure 16 “ADMT User Account Migration Wizard’s Account Transition Options Window”

Note: one little quirk with ADMT, all accounts that are migrated to the target domain are set “User must change password at next logon”, when these accounts are created in the target domain, regardless of the option you chose in figure 16 above. I am assuming this is a security measure.

The next window you see will depend if you have previously created the group that is required in the source domain to migrate SIDs, if not created this security group SourceDomainName$$$ in my case OLDDOMAIN$$$ a window (figure 17 below) will be displayed asking if I want this group to be created in order for user SIDs to be migrated to the target domain.


Figure 17 “ADMT User Migration Wizard error/prompt create group for migration of SIDs”

Next you will be prompted (figure 18 below) to enter the account for a user with appropriate rights to the source domain so that SID history will be migrated, because we have a trust relationship in place in which the source domain trusts the target domain and the administrator account from the target domain is a member of the the local admins group in the source domain, you can either specify  the administrator in the target domain or the source domain.


Figure 18 “ADMT User Account Migration Wizard’s Specify User Account”

On the User Options window (figure 19 below) go with the defaults, this will ensure Profile translation is performed, groups that users are members of are migrated and permissions/group membership is retained.


Figure 19 “ADMT User Account Wizard’s User Options window” 

If you want to exclude any specific user object attributes/properties from being migrated, the Object Property Exclusion window (figure 20 below) is where you would exclude them, I am sticking with the default and migrating all User Objet attributes.


Figure 20 “ADMT User Migration Wizard’s Object Property Exclusion window”

The final window with options is the Conflict Management window (figure 21 below) and gives the administrator the option not to migrate an object if a conflict is found in the target domain, or to migrate and merge conflicting objects if a conflict is found. Again I am going with the default, which is not to migrate the source object if a conflict is detected.


Figure 21 “ADMT User Migration Wizard’s Conflict Management window”

If you are happy with the options you selected then proceed with the migration by clicking on the finish button at the Completing the User Account Migration Wizard.
The migration progress window (figure 22 below) will display progress of the migration in real time and alert you of any errors.


Figure 22 “ADMT User Migration Wizard’s Migration Progress window”

Once complete click on the view log button to view any migration anomalies and follow them up before proceeding finally check your migrated accounts in the target domain.
I hope you have learnt something out of this article, my following article will wrap this series up by outlining the inter-org exchange mailbox migration process. 

I encourage you to post any questions comments or suggestions, till next time.

 

    Published Sunday, July 30, 2006 11:18 AM by Ben Hoffman

    Comment Notification

    If you would like to receive an email when updates are made to this post, please register here

    Subscribe to this post's comments using RSS

    Comments

     

    jazman27 said:

    Hi Ben,

    Very nice article, just what I was looking for as we need to do this for a customer.

    Just one question, does the tool copy across folder and file access permissions if the directory structure on the target server is configured exactly the same as the source server and the data has been copied across BEFORE starting the migration?

    Thanks,
    Mark Acutt
    August 3, 2006 7:56 PM
     

    Ben Hoffman said:

    Hi Mark,

    Yes it can did you use Robo copy and preserve the security information? if so then the Security Translation Wizard in ADMT can be used to translate ACLs.

    If not then you might want to look for a util or create a script to attempt to reapply your original ACLs, and then run the Security Translation Wizard.
    August 3, 2006 11:58 PM
     

    subject: exchange said:

    I hope you all have the time to read The Biggest List Ever!

    Proving Which Spam Filters work...
    August 5, 2006 6:20 AM
     

    James said:

    Where can I find part 2 of this article?

    April 8, 2007 5:57 AM
     

    Exchange Guy said:

    Part 2 showing the Exchange Migration Wizard steps would be awesome!

    April 11, 2007 4:49 AM
     

    ExchangeIS : AD and Exchange InterOrg Migration - A Real World Example Part 1 said:

    May 15, 2007 10:21 AM
     

    Feeds said:

    In part one of this two part series I will discuss the process of installing configuring running the

    May 15, 2007 10:23 AM
     

    WindowsIS said:

    DHCP in Windows Server is one of those little thought about services that do not get much attention unless you are setting up a new DHCP server, configuring a DHCP scope, or migrating to another physical server. So just how do you go about migrating a

    June 12, 2007 11:16 AM
     

    PJR said:

    I gather Part 2 never got published then - shame as that's the part I need to refer to the most

    June 21, 2007 7:40 PM
     

    Scott said:

    I would love to see Part 2 as well.  It is like a cliff hanger.  I was already to see the part about Exchange and bam...the end.

    July 6, 2007 2:34 PM
     

    Chris said:

    WOW, this is exactly what I'm doing too...I want part 2 as well!!

    The Exchange stuff doesn't seem too difficult. I just don't know how to uninstall Exchange after you've migrated mailboxes and PF. (To uninstall properly you must transfer the 1st Exchange server roles :(

    Oh well...

    July 21, 2007 6:38 AM
     

    Carlos said:

    Very Nice.

    If you can post the include file it will be helpful and complete.

    Thank You

    Carlos

    September 10, 2007 6:34 PM
     

    Michael Adrian said:

    I've installed and configure ADMT v3 many times to migrate users accounts and passwords form Windows 2000 Server to Windows Server 2003 and I had no problem until one day I've discoverd an error:

                    WRN1:7874 Disabled the "password never expires" account

                    option for account 'CN=Test User'.

    When migrating accounts with ADMT v3 I noticed that the target account automatically receives the 'User must change password at next logon'.

    How can I fix this error?

    November 8, 2007 5:42 PM
     

    WindowsIS said:

    Windows Server 2008 Active Directory Domain Services ADDS Setup walkthrough: The release of Windows Server 2008 has brought about some new options when promoting a server to be a Domain Controller. This article will step you though these advanced options

    March 18, 2008 8:19 AM
     

    ExchISFeeds said:

    In part one of this two part Read More......( read more )

    April 1, 2008 9:35 AM
     

    WindowsIS said:

    The release of Windows Server 2008 has introduced many new features; one of the most interesting features from a security perspective is the ability to promote a Domain Controller as a Read Only Domain Controller RODC.

    April 14, 2008 9:35 AM
     

    WindowsIS said:

    Windows Server 2008 Features: Windows Server 2008 ships with many new features and improvements that takes Windows Server to a new level making it the most flexible and feature rich server platforms on the planet.

    April 18, 2008 6:47 AM
     

    NetMoneyFAQ said:

    In the beginning blogging & internet marketing of websites can be a hard slog, putting in hours and not getting the readership and rewards you aspire to, which is why I decided to share with the blogging universe a few of the secrets that over time has

    April 20, 2008 10:04 AM
     

    feedNetMoney said:

    In the beginning blogging & internet marketing of websites can be a hard slog, putting in hours and

    April 20, 2008 1:07 PM
     

    webmonkey said:

    Is there a part 2 as promised?....PLEASE let there be a part 2 - if there is can anyone post a link?

    June 27, 2008 9:05 AM
     

    Muhammad said:

    We are all waiting for part 2...... plz

    August 15, 2008 12:42 AM
     

    Mohammed Rafique said:

    Awesome posting:- Spoon feeding :)

    Please update with part 2 of InterOrg migration... we all are waiting for the same....

    Thanks in Advance :P

    December 22, 2008 7:37 AM
     

    Migar buzones de exchange | hilpers said:

    January 18, 2009 5:35 AM
     

    BES Migration - Port3101.org : Your BES Connection said:

    May 30, 2009 4:11 PM
     

    Dav Wang said:

    Where is the part 2

    June 18, 2010 8:43 AM

    Leave a Comment

    (required) 
    (optional)
    (required) 
    Submit

    This Blog

    Syndication

    News

    About ExchangeIS


    <script type="text/javascript" src="http://technorati.com/embed/zmyi3iatks.js"> </script>

    ExchangeIS Privacy Policy Powered by Community Server (Commercial Edition), by Telligent Systems