Cannot Remove unmounted Mailbox Database
I made a mistake by just remove an offline exchange 2010 server on 2008R2 and threw away the VHD as well, no backup.
I was able to install Exhange 2010 by installing a new 2008r2 server with same name. Setup /m:RecoverServer. This worked , i was able to recover it.
But it did not recover the maildatabase obviously.
So now i cannot unstall the mail database because it is dismounted, and i cannot dismount it. Also create a new one is not possible due to the unique name.
Question is, how can i create a new database with the same ID or how can i remove the database (last one in the org) while it does not exist.
Tried following via Console and PowerShell without success.
I hope someone can help me, just want to this one server out of my environment.
The mailbox database 'Mailbox Database 0146895799' cannot be deleted.
Mailbox Database 0146895799
Failed
Error:
This mailbox database contains one or more mailboxes or arbitration mailboxes. To get a list of all mailboxes in this database, run the command Get-Mailbox -Database <Database ID>. To get a list of all arbitration mailboxes in this database, run the command
Get-Mailbox -Database <Database ID> -Arbitration. Before you can remove this mailbox database, you must disable, move, or remove user mailboxes and move arbitration mailboxes.
--------------------------------------------------------
OK
--------------------------------------------------------
The operation couldn't be performed because object 'Mailbox Database 014895799' couldn't be found on
remove-mailbox *1f05a* -arbitration
Exchange can't remove the arbitration mailbox "*1f05a*" because it's the last one in the organization.
disable-mailbox -identity "Mailbox Database 014895799" -confirm
The operation couldn't be performed because object 'Mailbox Database 014895799' couldn't be found on 'xj6srvr01.domain.nl'.
[PS] C:\Windows\system32>remove-mailboxdatabase -identity "Mailbox Database 0146895799"
This mailbox database contains one or more mailboxes or arbitration mailboxes. To get a list of all mailboxes in this d
atabase, run the command Get-Mailbox -Database <Database ID>. To get a list of all arbitration mailboxes in this databa
se, run the command Get-Mailbox -Database <Database ID> -Arbitration. Before you can remove this mailbox database, you
must disable, move, or remove user mailboxes and move arbitration mailboxes.
+ CategoryInfo : InvalidOperation: (Mailbox Database 0146895799atabaseIdParameter) [Remove-MailboxDatab
ase], AssociatedUserMailboxExistException
+ FullyQualifiedErrorId : 681B336F,Microsoft.Exchange.Management.SystemConfi gurationTasks.RemoveMailboxDatabase
August 4th, 2011 10:35am
You may want to post this here:
http://social.technet.microsoft.com/Forums/en-US/category/exchangeserver/
My Blog | www.buchatech.com | www.dpm2010.com
If you found this post helpful, please give it a "Helpful" vote. If it answered your question, remember to mark it as an "Answer". This posting is provided "AS IS" with no warranties and confers no rights! Always test ANY suggestion in a test environment
before implementing!
Free Windows Admin Tool Kit Click here and download it now
May 13th, 2012 4:51pm
Moving to Exchange ForumRegards, A.Nadar, This posting is provided "AS IS" with no warranties, and confers no rights.
June 20th, 2012 5:54pm
Moving to Exchange ForumRegards, A.Nadar, This posting is provided "AS IS" with no warranties, and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
June 20th, 2012 6:06pm