Exchange Server Share

… Information sharing on Exchange Server …

Can’t see Deleted Mailbox in Disconnected Mailbox under Recipient Configuration

Sometimes when you delete/remove mailbox then you can’t see it immediately in Disconnected Mailbox option under Recipient Configuration.

What you need to do in that case?

Lets consider that we are deleting a mailbox named “Vijay Kumar” in this scenario.


When you right click on that and delete, it asks you for the confirmation. Click Yes.


Now deleted/removed mailbox should available in Disconnected Mailbox but you are unable to see.


You need to run below command to cleanup your database, like in Exchange 2003 we right click on Mailboxes and click on “Run Cleanup Agent” to see the Disconnected Mailboxes after removal of user object in Active Directory.

In Exchange 2007 you can do it with Clean-MailboxDatabase command.

Clean-MailboxDatabase “Database Name”


Now, when you click on Disconnected Mailbox then you are able to see the deleted user “Vijay Kumar” into it.


Now you have two options for Disconnected Mailbox, either re-connect it or permanently delete it.

If you want to permanently delete mailbox then you need to go through shell command.

In Exchange 2003 we do “Purge” on deleted mailbox, same in Exchange 2007 you need to run Remove-Mailbox command.

$Temp = Get-MailboxStatistics | Where{$_.DisplayName -eq “Vijay Kumar”}

Remove-Mailbox -Database ” DB Name” -StoreMailboxIdentity $Temp.MailboxGuid


This command permanently delete mailbox from the database and you can not see in Disconnected Mailbox.



Technorati Tags:

Written by Amit Tank

April 27, 2008 at 4:19 pm

8 Responses

Subscribe to comments with RSS.

  1. Hi amit,

    Is it possible to do this task in GUI after applying Exchange Sp1?


    June 7, 2008 at 10:27 pm

  2. I tried this and it did not work. We have Exchange 2007 SP1.


    June 27, 2008 at 8:09 pm

  3. It work’s for me.
    Thank you!


    July 15, 2008 at 7:02 pm

  4. It works on Exchange 2007 SP1! Thank you!

    For those who have more than one storage group – use full path to storage group in command string.

    Example: clean-mailboxdatabase “main storage gr
    oup\mailbox database”


    July 24, 2008 at 9:10 am

  5. Thank you Amit…this worked for me…


    August 26, 2008 at 9:19 pm

  6. thank’s Amit…….you are very pro.


    October 6, 2008 at 1:05 am

  7. I love you for this.

    I accidentally deleted a whole bunch of users in one go in AD, then their Mailboxes all disappeared and did not show up in “Disconnected Mailboxes” section.

    After panicing for a while I realised they still existed user the GetMailbox command, and then saw this command which made them show up in the console and let me reattach them.

    Thanks again.


    December 17, 2008 at 6:48 am

  8. Thanks a lot for this tip. I love this “Clean-Mailboxdatabase” -CMdlet. Removed mailboxes showed in the “Disconnected mailbox” and reconnect worked for me.


    January 6, 2009 at 5:24 pm

Comments are closed.

%d bloggers like this: