Move Exchange 2010 Database to a new server, new location, different Domain name

Posted on 2013-01-20
Last Modified: 2013-02-08
I am looking for the best advice to this issue. We have an Exchange 2010 SP1 Server running on Server 2008 Std and we need to move the database to Exchange 2010 SP 2 running on Server 2008 R2 Ent but the domain name has changed slightly for security purposes. Either way it is not the same name. Now I already know I have to update my current system to SP2 so that is not the issue. I have found a ton of blogs discussing moving to the same domain name but I have my reservations about jumping into this head first without the complete story. The database is not huge as it only has just under 70 users. It is just a matter that we cannot loose any email that is stored. Does anyone have a suggestion as to the best way to handle this? We are in a time crunch as this has to be completed very soon.
Question by:DFGiff
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
LVL 16

Accepted Solution

Enphyniti earned 500 total points
ID: 38799602
Well you cannot move a database itself.  If they were on the same domain, you could create a new database on the new server and migrate the mailboxes, but since they are not, you have two options:
1. create a trust between the domains and migrate them.  This may be more work than option two since there a LOT of settings you need to get right.

2. Export the mailboxes from the existing server to PST.  2010 has a new tool called  New-MailboxExportRequest.  This is not limited to 2GB files like the old ExMerge tool was and will let you export to ANSI PST files.  Then just import them on the new server.  If your PST files match the email alias on the import server, you can import them with the following (see notes below)

dir \\path\to\files\*.pst | %{ New-MailboxImportRequest -Name MailboxImport -BatchName EMAIL_AUTO_IMPORT -BadItemLimit 50 -Mailbox $_.BaseName -FilePath $_.FullName}

***Important:  The UNC path above requires some special permissions.  The following will need full control via Share and NTFS permissions:
 - Exchange Trusted Subsystem

To grant rights to a server you need to modify object type to include Computers when browsing for objects.

for 70 users, that is probably your best bet and what I would do.  (PS - I don't know the mechanics behind it, but these tools seem to export/import MUCH faster than if you used outlook. )
LVL 16

Assisted Solution

Enphyniti earned 500 total points
ID: 38799606
Oh and if you want to export ALL your mailboxes, the following should work:

foreach ($i in (Get-Mailbox)) { New-MailboxExportRequest -Mailbox $i -FilePath
"\\path\to\store\files\$($i.Alias).pst" -BadItemLimit 49 -ContentFilter "(received -ge '1/1/1111') -and (received -le

Or you could do a specific OU with the following modification:

foreach ($i in (Get-Mailbox -OrganizationalUnit { New-MailboxExportRequest -Mailbox $i -FilePath
"\\path\to\store\files\$($i.Alias).pst" -BadItemLimit 49 -ContentFilter "(received -ge '1/1/1111') -and (received -le

This command along with the one in my previous post should allow you to  move 70 users over a weekend easily.
LVL 16

Assisted Solution

Enphyniti earned 500 total points
ID: 38799613
More goodies:

Keep track of progress with the following so you'll have an idea of when they are complete:

Get-MailboxExportRequest | Get-MailboxExportRequestStatistics | ft SourceAlias,Percent*,BytesTransferred*

Get-MailboxImportRequest | Get-MailboxImportRequestStatistics | ft SourceAlias,Percent*,BytesTransferred*

Get specific details of a problematic import or export:

Get-MailboxExportRequest -Identity EMAILALIAS\MailboxExport | Get-MailboxExportRequestStatistics | fl > "C:\export-request.txt"

Get-MailboxImportRequest -Identity EMAILALIAS\MailboxImport | Get-MailboxImportRequestStatistics | fl > "C:\import-request.txt"
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

LVL 49

Expert Comment

ID: 38800692
if these 2 are in the same organization just move the mailboxes from one to another. there is no need at all to export/import to PST it will cause muich more harm than good

Author Comment

ID: 38816237
Sorry for the delay. Have way to much going on right now.

Here is a little more information. Our current location is and our new location is We are keeping all of the same users and aliases but the OU's have changed.

The current machine (for what ever reason) not only has Exchange but is our DNS and DC server. The new location has DC Cluster for fail over and the Exchange server will be on a separate machine as it should. The current location is still in a workgroup environment even though AD was setup.

With this configuration is our situation looking any better or has it just gotten worse?

Another question would we be able to create a new DNS provider at the old location, pull the Exchange server, configure it to our new locations setup and "transplant" it into the new schema without trashing the whole thing?
LVL 49

Expert Comment

ID: 38816260
it doesn't answer the question are these the same forest or 2 different forests ?

also you need to pay attention clustered DCs are not supported.

since it seems that you current AD is just used for exchange why migrating to a totally new AD ? why not just fix this one
LVL 16

Expert Comment

ID: 38816760
Agreed.  Fixing AD would be your best bet.  If not, doing a migration between servers in the same forest is the next best thing.  In that regard you wouldn't have to create new users in a new OU on the new AD.  You could just move the existing ones to where you want them.

If none of that is possible, then you're looking at PST export/imports.

Featured Post

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
exchange 16 43
Outlook 2016 connecting to SBS 2011 (Exchange 2010) 2 41
search option in outlook 2016 not working? 11 83
PowerShell:  foreach where object notmatch? 17 69
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit If you want to manage em…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question