Exchange 2010/2013 Deletes the default database

Source: Internet
Author: User
Tags search mailbox adsi edit

Exchange 2010/2013 installs the mailbox service role by default with a database of "Mailbox database xxxxxxxx"

If you need to delete, you first need to create a new database, and then migrate the system mailbox (approval assistant, Federation), Discovery Search mailbox from your own database to the new database before you can delete it.

Gets the user mailbox in the specified data
Get-mailbox-database DBName

Gets the archive mailbox in the specified data
Get-mailbox-database dbname-archive

Gets the quorum mailbox in the specified data
Get-mailbox-database dbname-arbitration

----------------------

Migrating Discovery Search Mailboxes

View Discovery Search Mailboxes
get-mailbox-filter {recipienttypedetails-eq "Discoverymailbox"} to get the mailbox name

Create a migration request
new-moverequest-identity " Discoverysearchmailbox { XXXXX } "-targetdatabase dbname

Migration Complete Delete Request
Get-moverequest-movestatus Completed | Remove-moverequest (also possibly completedwithwarning)

Verify
Get-mailbox-filter {recipienttypedetails-eq "Discoverymailbox"} | Select Name,database

-----------------------

Migrating system mailboxes (approval assistant, Federation)

View Mailbox Name
get-mailbox-arbitration | Select Name,database

Create a migration request
new-moverequest-identity "systemmailbox{xxxxxx}"-targetdatabase DBName
new-moverequest-identity "migration. xxxxxx"-targetdatabase DBName
new-moverequest-identity "Federatedemail. xxxxxx"-targetdatabase DBName

Migration Complete Delete Request
Get-moverequest-movestatus Completed | Remove-moverequest (also possibly completedwithwarning)

Verify
get-mailbox-arbitration | Select Name,database

------------------------

Exchange 2013 Delete Database warning

delete database "Mailbox database xxxxxx "Monitoring of mailbox objects failed. Exception: The Active Directory operation on the DC failed. This error cannot be retried. Additional information: Access denied. Active Directory Response: 00000005:secerr:dsid-031520b2, Problem 4003 (insuff_access_rights), data 0.  

All monitoring mailboxes can be viewed through the Exchange PowerShell command
Get-mailboxdatabase | Get-mailboxstatistics |? {$_. Displayname-like "*healthmailbox*"} | FT displayname,totalitemsize,database

You can manually delete a monitored mailbox object that comes with a database
Log on to the DC to open ADSI edit
Default Naming Context
All monitoring mailbox objects are visible in Microsoft Exchange System Objects-Monitoring mailboxes


Right-click Property view
Determine whether an object belongs to a deleted database through HomeMDB and whencreated
HomeMDB value is empty, and whencreated corresponds to the time that the mailbox role is installed, you can delete


Exchange 2010/2013 Deletes the default database

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.