Avatar of masterofall
Flag for United States of America asked on

Disconnected mailboxes in Exchange 2010 server after moving to new database

I moved some mailboxes from one database (let call it database 1) into smaller databases. The mailboxes are in the new databases and working fine but the mailboxes name are still listed under 'Recipient cOnfiguratio/Disconnected Mailbox' with the old database 1 name,

All database were backed up last night.

I just changed the orginal database to keep deleted mailboxes for 1 day (it was 30.)

Enable background database maintenance is (24  7 ESE scanning) is checked on the orginal database

How do I tell the server to purge the copies in database 1 immediately?
ExchangeActive DirectoryWindows Server 2008

Avatar of undefined
Last Comment
Manpreet SIngh Khatra

8/22/2022 - Mon
Sushil Sonawane

Refer below link to change policy for deleted mailbox item.


After change the Keep deleted mailboxes for (days) to 1 day . run  Exchange run the "Database Maintenance", the mailbox will be deleted. And Event ID 9532 will be recored.
 "The mailbox has been removed from mailbox database"
If the mailbox is not be deleted, the Event ID 9533 will also be recored.

For more info refer below link :

Manpreet SIngh Khatra

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

If there are some mailboxes, I'd assume you're talking of 25-50 mailboxes and not more.

If that be the count, go to disconnected mailboxes, select all of them - right click and purge.

You're worries are over in 2minutes :)


1 - Exchange_Geek, it was more that 50 mailboxes and I did not get the purge option.

2- I used the link provided by randy and used this version of the command without the confirm:$false and ended up answering A as confirmation of delete for every mailbox to be deleted.  A did not act as answer ALL.

#Remove all SoftDeleted disconnected mailboxes from a Database
$Mailboxes = Get-MailboxStatistics -Database "Database-01" | where {$_.DisconnectReason -eq “SoftDeleted”}
$Mailboxes | foreach {Remove-StoreMailbox -Database $_.database -Identity $_.mailboxguid -MailboxState SoftDeleted}
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
Manpreet SIngh Khatra

So is the command executed and mailboxes removed

- Rancy