07-17-2008 07:33 AM
Currently, our site schedule has EV running from 6 pm until 1 am.
We have a provisioning group created and the options "Automatically enable mailboxes" and "Initially suspend archiving" are both enabled.
We created a task in Windows Scheduler which runs the following command at 5 am and 5 pm:
evpm -e titanium -f c:\tools\evault\block_folders_all.ini -m vaultadministrator
The "block_folders_all.ini" contains the following text:
[Directory]DirectoryComputerName = BRONZESitename = IMS Enterprise Vault[Mailbox]DistinguishedName = ALL[Folder]Name = InboxFiltername = DoNotArchiveOverrideArchiveLocks = True
This script is successfully running at the scheduled times, but the Inbox of new users who get added to the provisioning group is not being blocked. If I manually enter the full DN of the users in question and then run the script, the folders get blocked correctly.
How can we schedule the accounts to be automatically enabled and have those folders blocked?
07-17-2008 09:14 AM
I assume you run the Scheduled Task under the EV Service Account?
Cheers
Michel
07-17-2008 01:11 PM
As you may know, when a mailbox is provisioned to automatically enable, it will only be enabled when the archive task runs, the problem is however that when the archive task runs, it will not just enable them, it will also start archiving them as well.
Any EVPM scripts run prior to being enabled with actually be ignored, so in this case, althought you've run an EVPM script saying DoNotArchive, the enablement will clear all of those properties and begin to archive it as a regular mailbox
The best workaround is to enable the mailboxes through EVPM also and remove the Auto Enable from the provisioning group
In cases that i've dealt with we set provisioning to run at a scheduled time and shortly after the EVPM to enable them
07-18-2008 06:02 AM
Yes, the Scheduled Task is being run as the ev service account.
If the archiving begins when the archiving task is run, then what is the point of the ""Initially suspend archiving" setting? The help for that setting says "Archiving does not start until the user of a new mailbox enables archiving."