question

GaryLeung-0465 avatar image
0 Votes"
GaryLeung-0465 asked KyleXu-MSFT commented

Decommission of Exchange 2010 server

We're currently using Exchange Online but were informed we should not decommission our last Exchange server if we run Azure AD connect in our network. I spun up a new VM and installed Exchange 2016 on it and migrated all the mailboxes from the 2010 server. I'm at the point where I want to get rid of the 2010 server but when I try to uninstall via Control Panel, I get the following messages:

Uninstall cannot continue. Database 'Mailbox Database': This mailbox database contains one or more mailboxes, mailbox plans, archive 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 mailbox plans in this database, run the command Get-MailboxPlan. To get a list of archive mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -Archive. To get a list of all arbitration mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -Arbitration. To disable a non-arbitration mailbox so that you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID>. To disable an archive mailbox so you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID> -Archive. Arbitration mailboxes should be moved to another server; to do this, run the command New-MoveRequest <parameters>. If this is the last server in the organization, run the command Disable-Mailbox <Mailbox ID> -Arbitration -DisableLastArbitrationMailboxAllowed to disable the arbitration mailbox. Mailbox plans should be moved to another server; to do this, run the command Set-MailboxPlan <MailboxPlan ID> -Database <Database ID>.

Uninstall cannot continue. Database 'Public Folder Database': The public folder database "Public Folder Database" contains folder replicas. Before deleting the public folder database, remove the folders or move the replicas to another public folder database. For detailed instructions about how to remove a public folder database, see http://go.microsoft.com/fwlink/?linkid=81409&clcid=0x409.

On the Exchange 2010 server when I run Get-Mailbox -Database "Mailbox Database" I get nothing in return
On the Exchange 2010 server when I run Get-Mailbox -Database "Mailbox Database" - Arbitration I get nothing in return
On the Exchange 2010 server when I run Get-Mailbox -Database "Mailbox Database" - Archive I get nothing in return

What else am I missing?

As far as the public folders, I really don't need to move them to another server since we're not using them. Is there another way to delete the Public Folder database?


office-exchange-server-administration
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

KyleXu-MSFT avatar image
0 Votes"
KyleXu-MSFT answered KyleXu-MSFT commented

@GaryLeung-0465

Try to run command below to check again:

 Get-MailboxDatabase -Server exch2010 | Get-Mailbox
 Get-MailboxDatabase -Server exch2010 | Get-Mailbox -Archive
 Get-MailboxDatabase -Server exch2010 | Get-Mailbox -Arbitration

About Public Database, you need to delete public folder first, then delete public folder database:

Delete all public folder under "Default Public folders". You need to delete it from parent patch, such as if you want to delete pf01, you need to click on Default Public folders:
94663-qa-kyle-14-02-18.png

Then you can delete the public folder database:
94589-qa-kyle-14-05-16.png


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I was able to delete the public folder database but the mailbox database is still giving that message.

I tried your commands and again, not output was returned on all of them.

0 Votes 0 ·

Ok I did some digging around and found this command to run on the Exchange 2010:

dsquery domainroot -attr -limit 0 > c:\results.txt

When I opened that up and filtered it, I found some SystemMailboxes whose HomeMDB still points to the 2010 Database.

I assume I can safely delete those accounts? I do see them in ADUC.

0 Votes 0 ·

Each mailbox database has a related system mailbox. I think, it was the system mailbox that you find:
95535-qa-kyle-16-51-37.png

If you still cannot uninstall the Exchange 2010, you can try to remove it from ADSI directly, nut it isn't suggested and supported.
How many database on your Exchange 2010, which one is cannot be deleted?

0 Votes 0 ·

Any update about this thread now?

0 Votes 0 ·