{"id":629,"date":"2014-09-02T20:48:00","date_gmt":"2014-09-02T20:48:00","guid":{"rendered":"https:\/\/www.geekmungus.co.uk\/?p=629"},"modified":"2022-11-05T10:53:19","modified_gmt":"2022-11-05T10:53:19","slug":"exchange-2013-rename-remove-default-database","status":"publish","type":"post","link":"https:\/\/geekmungus.co.uk\/?p=629","title":{"rendered":"Exchange 2013 &#8211; Rename\/Remove Default Database"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">You&#8217;ve just installed your new Exchange 2013 server but there is a mailbox already there with a default name e.g. &#8220;Mailbox Database 0100716264&#8221;, if you are like me you&#8217;ll want to get rid of that and create a nice new one in a more sensible location but if you try to delete it you&#8217;ll get this message:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>&#8220;This mailbox database contains one or more mailboxes&#8230;&#8230;&#8221;<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So you need to move the mailboxes off it first, the user mailboxes are trivial, you just move them as normal, but for the rest of the mailboxes you&#8217;ll find that they are hidden or what Exchange calls arbitration mailboxes, to move these you need to do the following:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1. Create a new Mailbox database with a nice name, e.g. MBX01.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2. Open the Exchange Management Powershell and run this command to move all the user mailboxes (probably just the administrator if this is a green field setup.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Get-Mailbox \u2013Database \u201cMailbox Database 010071624\u201d | New-MoveRequest \u2013TargetDatabase \"MBX01\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">3. Now check if there are any arbitration mailboxes, which there will be:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Get-Mailbox -Arbitration<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">4. Then move them with:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Get-Mailbox -Arbitration | New-MoveRequest -TargetDatabase \"MBX01\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">5. That should be it running the below command should show no more mailboxes:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Get-Mailbox \u2013Database \u201cMailbox Database 010071624\u201d<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">6. Now delete the mailbox store from the Exchange Management GUI or powershell. You should find it deletes ok.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You&#8217;ve just installed your new Exchange 2013 server but there is a mailbox already there with a default name e.g. &#8220;Mailbox Database 0100716264&#8221;, if you are like me you&#8217;ll want to get rid of that and create a nice new one in a more sensible location but if you try to delete it you&#8217;ll get &#8230; <a title=\"Exchange 2013 &#8211; Rename\/Remove Default Database\" class=\"read-more\" href=\"https:\/\/geekmungus.co.uk\/?p=629\" aria-label=\"Read more about Exchange 2013 &#8211; Rename\/Remove Default Database\">Read more<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[],"class_list":["post-629","post","type-post","status-publish","format-standard","hentry","category-microsoft-exchange"],"_links":{"self":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/629","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=629"}],"version-history":[{"count":1,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/629\/revisions"}],"predecessor-version":[{"id":1453,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/629\/revisions\/1453"}],"wp:attachment":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=629"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=629"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=629"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}