Archiving mailboxes that are hidden from the Global Address List (GAL)

  • Modified Date:
  • Article ID:000031333


Enabling AND Archiving mailboxes that are hidden from the Global Address List (GAL)



When a mailbox is hidden from the Global Address List (GAL), Enterprise Vault (EV) will not allow the mailbox to be enabled for archiving.  This is expected behavior.

To change the default behavior, perform the following:

Change the value of MbxExchangeState for every hidden mailbox record in the table ExchangeMailboxEntry located in the EnterpriseVaultDirectory database by executing the following query from Microsoft SQL Server:

USE EnterpriseVaultDirectory
UPDATE ExchangeMailboxEntry
SET MbxExchangeState = '0' WHERE MbxExchangeState = '2'

After completing this, the hidden mailboxes will now be listed in the window Select the mailboxes that are to be enabled of the Enable mailboxes for Archiving wizard.

IMPORTANT: Each time the Provisioning Task is run (EV7 and later versions) or the Synchronization process is executed (EV6 and earlier versions), the MbxExchangeState value of all hidden mailbox records is changed back to "2".  Therefore, each time you wish to enable newly hidden mailboxes, it will be necessary to repeat the above step.  The Provisioning Task and Synchronization process are run twice per day by default, and according to the schedule set.


To then archive the newly enabled hidden mailboxes by a "Run Now" command on the archiving task, ensure to repeat the SQL statement above IF the Provisioning Task has been run since the statement was last run. In short, the Archiving Task needs to find the value of MbxExchangeState to be 2 in order to perform "Run Now" archiving against a hidden mailbox.

To then archive the newly enabled hidden mailboxes by scheduled archiving:

Create the following registry value on the EV server:

Location: HKLM\Software\KVS\Enterprise Vault\Agents
DWORD Value: ProcessHiddenMailboxes
Value data: 1

Restart each Exchange Mailbox Archiving Task to apply this change.

Location on a 64bit server is HKLM\Software\Wow6432node\KVS\Enterprise Vault\Agents

Note: This registry setting ONLY works for scheduled archiving, as the processes of "Run Now" archiving and Enabling Mailboxes for Archiving require the MbxExchangeState value to be set to 0.  This registry value can be set once and left; and all future scheduled archiving runs can archive hidden mailboxes as long as it is set.

Warning: Incorrect use of the Windows registry editor may prevent the operating system from functioning properly. Great care should be taken when making changes to a Windows registry. Registry modifications should only be carried-out by persons experienced in the use of the registry editor application. It is recommended that a complete backup of the registry and workstation be made prior to making any registry changes.


Terms of use for this information are found in Legal Notices.



Did this article answer your question or resolve your issue?


Did this article save you the trouble of contacting technical support?


How can we make this article more helpful?

Email Address (Optional)