Moving mailboxes from Exchange 2010 to 2013 is slow, very slow.
I came across a post somewhere that had some tips.
Not all of these tips we're working for me so i picked the one that worked best for me:
The one thing that is was missing is moving an entire database with "Emergency" priority, so here's how i do it:
Get-Mailbox -Database databasename | New-MoveRequest -Priority Emergency -BadItemlimit 51 -AllowLargeDataLoss -AllowLargeItems
After this the mailboxes are distributed evenly across all databases by size and number.
Moving mailboxes from Exchange 2007 or 2010 to Exchange 2013 can often go very slowly, even when the network and server resources are fast and abundant! The Exchange Mailbox Replication Service (MRS) has extensive resource throttling enabled by default in order to prevent mailbox moves from choking out the rest of the users. Because of this you may see mailboxes with a status of RelinquishedWlmStall and if you look at the details of the Get-MoveRequestStatistics report you will see mailboxes have a lot of time sitting idle under the TotalStalledDueToWriteThrottle counter.
Microsoft tech support suggests making changes to the “MSExchangeMailboxReplication.exe.config” file located at “C:\Program Files\Microsoft\Exchange Server\V15\Bin”. The values to look at, along with their default settings are:
We typically like to set these values so that about 10 mailboxes can be moved simultaneously. The ExportBufferSizeKB we’ve used in the past is “10240”. The Exchange Mailbox Replication Service should be restarted after these changes.
The other suggestion Microsoft has made is to disable content indexing on the target database so that the search index scanner isn’t overwhelmed by all the new messages needing to be indexed. You’ll want to set it back once the migration is complete.
Set-MailboxDatabase “DB1” -IndexEnabled:$FalseIn our experience however, these first two suggestions do NOT have tremendous impact on the overall speed. The following two options have proven to be the most effective for us.
Use the “-priority emergency” parameter on the mailbox moves. This will give the move the highest priority in the MRS queue. For example:
New-MoveRequest -Identity “firstname.lastname@example.org” -TargetDatabase “DB1” -Priority emergencyIf the priority flag and the MRS config editing doesn’t make the moves fast enough for you, then disable MRS throttling altogether! To do this, change the “MRS” REG_DWORD key from 1 to 0 under this registry path:
Then restart the Exchange Mailbox Replication service. Now your mailboxes will move without any throttling policy. Once the mailbox migration is complete change the value back to 1 to re-enable MRS resource monitoring.