cancel
Showing results for 
Search instead for 
Did you mean: 

Permissions with EVPM - Enterprise Vault 9

lukassc
Level 5
Partner

Hi!

I need to assign permissions to severals Groups (AD) to severals Vaults. And I need to do it with one single script.

Enterprise\Group1 --> Read permissions to Vault1

Enterprise\Group2 --> Read permissions to Vault2

Any ideas? I think it only allow you to run the script for a single user or all user. This is not the case.

Thx

1 ACCEPTED SOLUTION

Accepted Solutions

JesusWept3
Level 6
Partner Accredited Certified

really?
errr well i guess it'd be something like "myFile,bat" with the followingc

c:\Program files (x86)\Enterprise Vault\evpm.exe -e myExchServer -m mailbox@domain.com -f myEVPMFile1.ini
c:\Program files (x86)\Enterprise Vault\evpm.exe -e myExchServer -m mailbox@domain.com -f myEVPMFile2.ini

https://www.linkedin.com/in/alex-allen-turl-07370146

View solution in original post

7 REPLIES 7

JesusWept3
Level 6
Partner Accredited Certified

http://www.symantec.com/business/support/index?page=content&id=TECH69114

 

[Directory] 
DirectoryComputerName=evserver01
SiteName=mySite

[ArchivePermissions]
ArchiveName = user1
GrantAccess = read, MYDOMAIN\userGroup1

[ArchivePermissions]
ArchiveName = user2
GrantAccess = read, MYDOMAIN\UserGroup2
https://www.linkedin.com/in/alex-allen-turl-07370146

JesusWept3
Level 6
Partner Accredited Certified

and just as a matter of interest, even if you did have to split it out in to multiple EVPM scripts, why is that an issue?

https://www.linkedin.com/in/alex-allen-turl-07370146

lukassc
Level 5
Partner

Not working, only give permissions to the first Vault. The rest remain the same.

JesusWept3
Level 6
Partner Accredited Certified

then split it out in to different EVPM's and have a batch file run them
also remember they only need to be run once and not daily, only to be reapplied if someone has manually removed them from the VAC or zapped the archive permissions

https://www.linkedin.com/in/alex-allen-turl-07370146

lukassc
Level 5
Partner

So, one .ini for each permission... Ok, an example of the batch?

JesusWept3
Level 6
Partner Accredited Certified

really?
errr well i guess it'd be something like "myFile,bat" with the followingc

c:\Program files (x86)\Enterprise Vault\evpm.exe -e myExchServer -m mailbox@domain.com -f myEVPMFile1.ini
c:\Program files (x86)\Enterprise Vault\evpm.exe -e myExchServer -m mailbox@domain.com -f myEVPMFile2.ini

https://www.linkedin.com/in/alex-allen-turl-07370146

Rob_Wilcox1
Level 6
Partner

So, the original script *does* work...

 

My script is this:

 

 

[Directory]
directorycomputername = evsql.ev.local
sitename = ev01
 
[ArchivePermissions]
ArchiveName = adele.reinhardt
GrantAccess = read, ev\vaultadmin
 
[ArchivePermissions]
ArchiveName = andrea.mathis
GrantAccess = read, ev\ann.sneed
 
And I see it processing as follows:
 
C:\Program Files\Enterprise Vault>evpm -e
 
Please enter an Exchange Server name: dc
 
Please enter the service mailbox alias: ev-sysmbx
 
Please enter the ini file name and location: c:\program files\enterprise vault\pstin_1.ini
c:\program files\enterprise vault\teste.ini
 
 
Creating privileged MAPI session ...
 
Parsing input file: c:\program files\enterprise vault\teste.ini
Processing input file
 
Processing permissions for the archive: adele.reinhardt
 
Processing permissions for the archive: andrea.mathis
 
The *trick* is that if you are then checking permissions in the VAC, either :
 
a/ right click 'Exchange Mailbox' (under Archives) and choose Refresh
or
b/ close and re-open the VAC.
 
Then when you check permissions on the archive, they show correctly for each of the archives that I touched.
 
Hope that helps,
 
Working for cloudficient.com