How to remove (zap) Enterprise Vault (EV) properties from Archive-Enabled Exchange mailboxes

Article:TECH35614  |  Created: 2010-01-03  |  Updated: 2014-08-05  |  Article URL
Article Type
Technical Solution


Enterprise Vault (EV) properties assigned to a mailbox may need to be removed (zapped) from Archive-Enabled Exchange mailboxes.


In order to remove EV properties from vault enabled mailboxes, modify the script below to match the particular DirectoryComputerName, SiteName and Mailbox DistinguishedName. Edit the file in Notepad and save in UNICODE format, with an .ini extension.  

DirectoryComputerName = Vaultserver_that_hosts_directoryservice
Sitename = sitename_from_admin_console

DistinguishedName = /o=organization/ou=mailboxou/cn=Recipients/cn=mailboxcname

Name = Mailboxroot
Zap = True

Open a command window and browse to the following folder \Program Files\Enterprise Vault  (or \Program Files (x86)\Enterprise Vault) on the EV server, Run Enterprise Vault Policy Manager (EVPM) make sure to be logged on as the Vault Service Account (VSA). The syntax for EVPM follows:
EVPM [-?] [-e Exchange Server computer name ] [-m service mailbox] [-f Initialization file location and name]
Parameter Meaning
-? Prints usage to screen
-e The Exchange Server computer name
-f The initialization file location and name
-m The name of the Enterprise Vault service mailbox(this can be found on the settings tab of the archive task properties)

To find the DistinguishedName (DN), follow the steps below:
1. In the Admin Console, go to the properties of the users' archive and copy the ArchiveID listed on the Advanced tab to the clipboard
2. Hold down ctrl + shift | Right-click on Archives | Find Archives and Folders option
3. Paste the ArchiveID in the blank field and choose Find
4. The DN will be listed in the results
An alternate method for finding the DN can be done through SQL using the steps below:
 1. On the SQL server where the EV database resides on, expand the EnterpriseVaultDirectory database | Tables
 2. Right click on dbo.ExchangeMailboxEntry, and choose Open Table (Sql 2008, select top 200 rows)
 3. Run the query below to find the user: 
select * from exchangemailboxentry where mbxalias = 'users mailbox alias'
 4. The LegacyMbxDN colum contains the DN that needs to be used
Additional Notes:  
* If EVPM is run without any parameters, it prompts for each one.
* The mailbox that has been zapped will need to be enabled again as it will show up as "New" when running the Enable Mailbox wizard.
* Zapping a mailbox removes all customized archiving settings from the root of the mailbox and any folders within the mailbox; if EVPM has been used to apply customized archiving settings for different folders in user mailboxes, those settings will need to be re-applied via EVPM again after zapping the mailbox using the above method.
* This applies only to Exchange archiving

Legacy ID


Article URL

Terms of use for this information are found in Legal Notices