locked
Cannot remove disconnected mailbox after moving user to new datastore RRS feed

  • Question

  • I am apparently not alone in this particular issue.  I'm in the process of breaking down a datastore with a very large number of mailboxes into a much more easily managed configuration of many more datastores with fewer mailboxes in them.  The problem that has reared its extremely ugly head is this...I can't remove the DISCONNECTED mailboxes from the old datastore because the mailbox GUID is associated with an active user, who, by the way has their perfectly usable active and connected mailbox in ANOTHER datastore.

    Can someone assist with this? 

    Thanks,

    Jim

    Oh, almost forgot...Exchange 2007.
    Thursday, August 27, 2009 8:24 PM

Answers

All replies

  • Have you run the clean-mailboxdatabase command against those stores?
    http://technet.microsoft.com/en-us/library/bb124076.aspx

    Thursday, August 27, 2009 10:05 PM
  • To delete (purge) the disconnect mailboxes from a database, you need to run the following command from your Exchange Management Shell:

    Get-MailboxStatistics -database "server\database" | where {$_.disconnectdate -ne $null} | foreach {Remove-mailbox -database $_.database -storemailboxidentity $_.mailboxguid}

    This command first retrieves all disconnected mailboxes from your server\database, and then runs the Remove-mailbox command for every mailbox. To verify that only the disconnected mailboxes will be removed, you run the following command first:

    Get-MailboxStatistics -database "server\database" | where {$_.disconnectdate -ne $null}

     

    Reference



    Vinod |CCNA|MCSE 2003 +Messaging|MCTS|ITIL V3|
    Friday, August 28, 2009 12:22 PM
  • Hi Jim,
     

    Looks like that you encounter a problem document in following KB:

     

    The Exchange Management Console crashes when you redraw a mailbox in the Recipient Configuration node in Exchange 2007

    http://support.microsoft.com/default.aspx?scid=kb;EN-US;940757

     

    Note: Please understand that the Rollup actually corrects a problem where the Exchange management Console crashes when it finds these mailboxes. The fix for the stub has been pushed out to the next version of Exchange.

     

    For your reference:

     

    http://social.technet.microsoft.com/Forums/en-US/exchangesvrgeneral/thread/ea05084d-c3fc-43f2-a2ea-a43936af6993

     

    Mike Shen 

    TechNet Subscriber Support in forum

    If you have any feedback on our support, please contact tngfb@microsoft.com  

    • Marked as answer by Mike Shen Friday, September 4, 2009 9:30 AM
    Monday, August 31, 2009 10:15 AM