Announcements‎ > ‎

Disable throttling on Exchange 2007 / 2010

posted Nov 5, 2015, 6:17 AM by Kevin Melillo   [ updated Nov 5, 2015, 6:42 AM ]
Speed
When migrating using GAMME from an Exchange 2007 / 2010 server, there may be throttling on the connections during migration.  The most common indicator of this, is the following error in the GAMME logs.

Failed with 0x80070036, last successful line = 220.

Once this message occurs, you may see a large part of the migration fail, often ending the migration way below the 100%.  In order to alleviate this issue, you must create a policy on the Exchange Server that disables the throttling, and then assign that policy to the user that is connecting for the migration.  



Create and Assign Throttling Policy

How to create and assign a user based throttling policy in Exchange 2010 and Exchange 2007

Use the following steps to create and assign a new throttling policy, replacing <PolicyName> with the new policy name, and replacing <PolicyAdmin> with the Exchange Server 2010 service account:

Log in to the Exchange Server as the Administrator account

Open the Exchange Management Shell
From the Start menu, go to Start > Programs > Microsoft Exchange Server 2010 > Exchange Management Shell.

The location may be different if running Exchange 2007.

Create the Policy
At the command prompt, type the following command
New-ThrottlingPolicy <PolicyName> [Press Enter]

For our migration purposes, it would look like this:
New-ThrottlingPolicy MigrationPolicy [Press Enter]

Set the Policy for No Limits
At the command prompt, type the following command, all on one line.
Set-ThrottlingPolicy <PolicyName> -RCAMaxConcurrency $null -RCAPercentTimeInAD $null -RCAPercentTimeInCAS $null -RCAPercentTimeInMailboxRPC $null -EWSMaxConcurrency $null -EWSPercentTimeInAD $null -EWSPercentTimeInCAS $null -EWSPercentTimeInMailboxRPC $null -EWSMaxSubscriptions $null -EWSFastSearchTimeoutInSeconds $null -EWSFindCountLimit $null [Press Enter]

For our migration purposes, it would look like this:
Set-ThrottlingPolicy MigrationPolicy -RCAMaxConcurrency $null -RCAPercentTimeInAD $null -RCAPercentTimeInCAS $null -RCAPercentTimeInMailboxRPC $null -EWSMaxConcurrency $null -EWSPercentTimeInAD $null -EWSPercentTimeInCAS $null -EWSPercentTimeInMailboxRPC $null -EWSMaxSubscriptions $null -EWSFastSearchTimeoutInSeconds $null -EWSFindCountLimit $null [Press Enter]

Set the Account to use Policy
Ar the command prompt, type the following command:
Set-Mailbox "<PolicyAdmin>" -ThrottlingPolicy <PolicyName> [Press Enter]

For our migration purposes, it would look like this:
Set-Mailbox "email_admin" -ThrottlingPolicy MigrationPolicy [Press Enter]