17.25. Creating a Mailbox Store


You want to create a mailbox store. The primary reason for creating additional mailbox stores is to decrease the size of the individual stores while supporting many users on one server.


Using a graphical user interface

  1. Open the Exchange System Manager (ESM) snap-in.

  2. In the left pane, browse to the server and storage group where you want to create a new mailbox store.

  3. Right-click on the storage group and select New Mailbox Store.

  4. Enter a name for the store, configure the settings on each tab, and click OK.

  5. When prompted to mount the store, click Yes.

Using VBScript

' This code creates a Mailbox Store.
strServer  = "<Exchange Server>"          ' e.g., ExchServer2
strSGName  = "<Storage Group Name>"       ' e.g., SG1
strMailStoreName = "<MailBox Store Name>"  ' e.g., DB1
' ------ END CONFIGURATION ---------
' Find Storage Group URL
strSearch = "CN=" & strSGName  & ","
set objSrv = CreateObject("CDOEXM.ExchangeServer")
objSrv.DataSource.Open strServer
for each strSg in objSrv.StorageGroups
   if (instr(1,strSg,strSearch,1)>0) then strSGUrl = strSg   
' Generate Mailbox Store URL
strMBUrl = "LDAP://CN=" & strMailStoreName & "," & strSGUrl
' Create/configure Mailbox Store and save it
set objMb = CreateObject("CDOEXM.MailBoxStoreDB")
objMb.DataSource.SaveTo strMBUrl
' Mount DataBase
Wscript.Echo "Successfully created mailbox store."


Mailbox stores, which are also called mailbox databases, are where mailboxes ...

Get Windows Server Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.