The Set-Mailbox cmdlet takes a long time to complete configuration in an Exchange Server 2010 environment

Article ID: 2705555 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

Consider the following scenario:
  • You have a mailbox database that contains many mailboxes in a Microsoft Exchange Server 2010 environment.
  • The mailbox server that hosts the database is offline.
  • You run the Set-Mailbox cmdlet to configure the mailboxes in the mailbox database on a different mailbox server.
In this scenario, the cmdlet takes a long time to complete the configuration.


For example, you run the following cmdlet to configure the database GUID for all 100 mailboxes in a mailbox database on an Exchange Server 2010 mailbox server:
Get-mailbox -identity * | set-mailbox -database "Mailbox Database DUID" -Force:$True

It may take 45 minutes to complete the configuration if the mailbox server is offline. However, it takes only 15 to 20 seconds to complete the configuration if the mailbox server is online.

CAUSE

When Active Manager makes a remote procedure call (RPC) to the mailbox server to retrieve the status of the database, Active Manager encounters a time-out issue when the Mailbox server is offline. However, because the failure status is not cached, Active Manager continues to make an RPC to retrieve the status for each mailbox. Therefore, if there are many mailboxes in the database, this process can take a very long time.


RESOLUTION

To resolve this issue, install the update rollup that is described in the following article in the Microsoft Knowledge Base: 
2685289 Description of Update Rollup 3 for Exchange Server 2010 Service Pack 2

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about the Set-Mailbox cmdlet, go to the following Microsoft website:
Set-Mailbox
For more information about Active Manager, go to the following Microsoft website:
Understanding Active Manager

Properties

Article ID: 2705555 - Last Review: May 29, 2012 - Revision: 1.0
APPLIES TO
  • Microsoft Exchange Server 2010 Service Pack 2, when used with:
    • Microsoft Exchange Server 2010 Enterprise
    • Microsoft Exchange Server 2010 Standard
Keywords: 
kbqfe kbfix kbsurveynew kbexpertiseinter KB2705555

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com