Video Screencast Help
Give us your opinion and win with Symantec! Please help us by taking this survey to tell us about your experience with Symantec Connect, so that we can continue to grow and improve.  Take the survey.

Checking for Do Not Archive flag - VBScript

Created: 30 Sep 2012 • Updated: 01 Oct 2012
Rob.Wilcox's picture
0 0 Votes
Login to vote

I wrote this little script using CDO against Outlook 2003.  It will scan a named Exchange Server through every mailbox and every folder in every mailbox, looking for the Enterprise Vault flag 'Do Not Archive'.

Someone people use the Outlook Add-in and 'inadvertently' set the flag - so running this script will show which folders out there have this flag set.

Unfortunately, because it uses CDO you do get the annoying 'address book' pop-up issue that is a security measure on Microsoft's part.

I will work on a better version that doesn't use CDO :)