Why doesn't AutoArchive work? I ran it and nothing was archived; all of the folders in the archive.pst are empty.
Archiving has always caused a lot of confusion among users because Outlook archives items based on the last modified date, which may or may not be the received date (or start or completed date). This works well, for the most part, until you import messages or edit older messages, both of which changes the last modified date. If you wanted to archive by the received date (or start, or completed date) you either needed to move the mail yourself (move, not copy, or the modified date changes!) or use a 3rd party archiving tool.
Use AutoArchive to Automatically Cleanup the Deleted Item and Junk Email Folders
The default setting for AutoArchive is to use either the received/competed/start date or the modified date, whichever is later. The modified date is the received date or the completed date, unless you do something that affects the modified date after receiving a message or marking a task complete. Import & Export, copying, and editing items are among the things that will change the modified date.
Enable Archiving by Received Date
With the release of the Outlook 2010 April 26 2011 hotfix, users can now archive by the received date. This also supported in Outlook 2007, with a hotfix released in December 2010. It is not supported in earlier versions of Outlook.
These hotfixes support the ArchiveIgnoreLastModifiedTime registry setting, which lets you use the received, start, or completed dates as the archive date.
After installing the hotfix, you need to add the following value to the registry
Outlook 2016, Outlook 2019, Outlook 365 (subscription):
HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Preferences
DWORD Value: ArchiveIgnoreLastModifiedTime
Value data: 1
Outlook 2013:
HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Preferences
DWORD Value: ArchiveIgnoreLastModifiedTime
Value data: 1
Outlook 2010:
HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Preferences
DWORD Value: ArchiveIgnoreLastModifiedTime
Value data: 1
In Outlook 2007, you'll add the value to this key
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Preferences
DWORD Value: ArchiveIgnoreLastModifiedTime
Value data: 1
With this value set to 1, you'll be able to archive based on the received, completed, or end date of an Outlook item:
- Email message: uses the received date.
- Calendar item: uses the actual date that an appointment, event, or meeting is scheduled for.
- Task: uses the completed date. Note that Tasks that are not marked as completed are not archived, and Tasks that are assigned to other users are archived only if the status is completed.
- Note: uses the last modified date and time.
- Journal entry: uses the date the journal entry was created.
Note that Contacts are never archived in any version of Outlook.
Do It For Me
If you don't want to edit the registry yourself, we have reg files you can download and run. Be sure to choose the correct one for your version of Outlook.
Outlook 2016, 2019, 365 Outlook 2013 Outlook 2010 Outlook 2007
If you use an older version of Outlook, you can use a utility to archive the messages.
More Information
Description of the Outlook 2010 hotfix package (outlook-x-none): April 26, 2011
How to change the criteria that Outlook 2010 uses to archive different item types
Description of the Office Outlook 2007 hotfix package (Outlook-x-none.msp): December 14, 2010
Housekeeping and Message Management tools for Outlook
Configuring Outlook's AutoArchive settings tutorial
How to Automatically Empty Deleted Item Folder
Create an Outlook rule to expire mail after a certain number of days
Archiving Tools for Exchange Server
How to read items archived using AutoArchive
Sorry to resurrect an old thread, but the Outlook key doesn't exist on this system I'm looking at (Office 2013 Standard) under HKEY_CURRENT_USER\Software\Microsoft\Office\15.0.
Please see screenshot attached.
I tried adding it and the Preferences subkey under it with the ArchiveIgnoreLastModifiedTime value = 1, but it didn't work.
There's a key called User Settings that has various Outlook related keys under it, but I'm not sure those would work.
Thoughts?
Archiving by receive date is failing (Outlook 2010, Windows 7). In my scenario, I'm trying to archive emails dated ('receive date') over 3 years from today's date (I have added the registry entry regarding 'modified date' you mentioned earlier). The PST file is large (just under 50gb) and has about 280k+ items in it and after the archive operation completed, I did search on the original PST file for 'receive date' more than 3 years ago and over 73k items were still found. (!?)
No items are flagged (I saw a post on a online support forum that suggested that making sure items are not 'flagged')
I was considering creating a rule to move the messages, but I need the folder structure maintained (and archiving does that)
Can't move the items from the search results, since the folder structure wouldn't be maintained
Not sure what to try here - am I stuck trying to write VBA code to accomplish this?
Have you found a way to use the ArchiveIgnoreLastModifiedTime for Outlook 2019?
The same key for 2016 should work for 2019 - it uses version 16.0 keys too.
An important information for you: when using Outlook 2013 (and Exchange server) you have to change cache-mode from 12 months to "all", so that all mails get cached locally. In my case it was necessary. Without this trick archiving didn't work (although I had modified registry).
Correct, if you are using the Outlook archive function, you need the messages stored locally, archive won't move messages on the server to a local pst. If you have an online archive mailbox, it archives from the server to a mailbox on the server.
hi diane,
I know this is a long thread, but unfortunately I'm still struggling with this issue.
I did download the hotfix, but when I try to install it, they said "The expected version of the product was not found on the system".
What is that mean? whereas clear I use Microsoft Office Outlook 2007.
Maybe you had an answer of my issue.
Thanks
That message usually means a later update was installed that includes the hotfix, which is to be expected if you have Outlook 2007 fully up to date.
Did you set the reg key and restart Outlook?
What about Outlook 2013?
It applies to 2013 too - the same key is used ot change the behavior, except it's 15, not 14.
Thanks, Diane! Very well written. I was stumped why auto archive was not working on my (recently imported) emails, the registry fix worked great!