Outlook – outlook Auto-Archive settings stored

autoarchivemicrosoft-outlook-2010

I'm trying to document the process for setting up a new workstation, and part of that is setting auto-archive up for Outlook. I'd like to know where the Auto-Archive settings are stored in order to tell if a user switching to a new workstation will have previous settings restored just by migrating their PST or OST files.

My understanding is that different Outlook settings are stored in different places. The 2 aforementioned files, the user's AppData folder, and possibly other places.

I'm using Outlook 2010 (v14)

Best Answer

I'd like to know where the Auto-Archive settings are stored

They are stored in the registry.

Auto archive is a purely Outlook feature (i.e. the settings are not stored in the mailbox), and the settings are not exposed in the object model. The settings are stored in the registry, however, so it is possible to read the information from there. Note though, that this is completely unsupported (just as we do not support modifying an Outlook profile in the registry). Having said this, most of the settings have remained the same since Outlook 2003 (probably earlier, but I haven’t tested any earlier clients), and so long as you are just looking to read the settings (not set them), then this can be fairly easily done.

Most of the auto archive settings for a profile will be found in the registry key HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\<PROFILE>\0a0d020000000000c000000000000046, where <PROFILE> is the profile name. The values in this key are undocumented, so you’ll have to do your own investigation as to what they do (an easy way of doing this is to change your auto archive settings, and see what has changed in the registry).

The source link includes a script to report some of the auto archive settings.

Source Outlook: how to programmatically read auto archive settings