Cannot remove disconnected mailbox after moving user to new datastore
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,JimOh, almost forgot...Exchange 2007.
August 27th, 2009 11:24pm
Have you run the clean-mailboxdatabase command against those stores?http://technet.microsoft.com/en-us/library/bb124076.aspx
Free Windows Admin Tool Kit Click here and download it now
August 28th, 2009 1:05am
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|
August 28th, 2009 3:22pm
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
Free Windows Admin Tool Kit Click here and download it now
August 31st, 2009 1:15pm