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

Article: 100016639
Last Published: 2021-08-10
Ratings: 7 0
Product(s): Enterprise Vault

Problem

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

Solution

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

[Directory]
DirectoryComputerName = Vaultserver_that_hosts_directoryservice
Sitename = sitename_from_admin_console

[Mailbox]
DistinguishedName = /o=organization/ou=mailboxou/cn=Recipients/cn=mailboxcname

[Folder]
Name = Mailboxroot
Zap = True

 
Open a command window and browse to the following folder  \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)

 
Notes: 

To find DistinguishedName (DN), follow the steps below:
 
1. Via the Administration 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  ArchiveID in the blank field and choose Find
4. The DN will be listed in the results
 
Alternate method for finding the DN can be done through SQL using the steps below:

1. On the SQL server where the EnterpriseVaultDirectory database resides, run query below:

USE EnterpriseVaultDirectory
SELECT  LegacyMbxDN 
FROM ExchangeMailboxEntry 
WHERE MbxAlias = 'users mailbox alias'
 
4. The LegacyMbxDN column 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
 
 
 
 

 

Was this content helpful?