Subscribe to Windows IT Pro
June 30, 2010 09:00 PM

Outlook 2010 AutoComplete Cache and Suggested Contacts

Windows IT Pro
InstantDoc ID #125525
Rating: (70)

Outlook provides a cache of email addresses as you use them in new email messages. This cache, sometimes called a nickname cache, is intended to improve user productivity. As you type an address in an email address field, Outlook lists possible addresses matching the letters you’ve entered. Figure 1 shows an example of this feature.

Figure 1: An example of suggested email addresses in Outlook as you type
Figure 1: An example of suggested email addresses in Outlook as you type

Historically, Outlook stores this cache in a local, profile-specific file with the extension .nk2. Also, Stephen Griffin of Microsoft, who also maintains MFCMAPI, posted a document outlining the interaction between Outlook 2003 and 2007 with the .nk2 file; see  "The Nickname Cache."

Outlook 2010 changes the location of the AutoComplete Cache. It’s no longer an .nk2 file but is now a hidden folder within an Exchange Mailbox or a .pst file, depending on the account type in Outlook. The principle is the same, of course; however, with the nickname cache in the mailbox, the content now travels with the user. When you recreate a user’s profile on another workstation, their nickname cache is unaffected. With Outlook 2003 or 2007, the nickname cache would be recreated as the user began sending new email messages.

Outlook 2010 also adds a folder to Contacts labeled Suggested Contacts. Addresses get added to this folder as you send or reply to messages addressed to recipients who don’t already exist in your address book (aka your Contacts folder). That sounds very simliar to the AutoComplete process! AutoComplete is a productivity enhancement that shows an address as you start to type a common recipient address so you can select the address instead of typing it. Suggested Contacts are addresses that you might consider adding to your Contacts, and Outlook makes it easier to do so. You can double-click an entry in Suggested Contacts and a Contact Form opens that allows you to fill in more information and then save it to your Contacts Folder. Figure 2 shows the Suggested Contact folder with a few recently used recipients.

Figure 2: The Suggested Contacts folder
Figure 2: The Suggested Contacts folder

Over the years, Microsoft has fielded numerous requests for formal, supported access to the AutoComplete cache. Third-party companies even produced rudimentary .nk2 file editors. Suggested Contacts is a way for administrators and users to control AutoComplete cache contents directly through the Outlook interface. Addresses added to Suggested Contacts are used for AutoComplete and addresses entered as recipients of email messages that do not reside in the user’s Contacts folder are added to Suggested Contacts. You can copy and paste contacts from a contacts folder to Suggested Contacts to add their addresses to your AutoComplete cache.

Administrators or users could pre-populate the Suggested Contacts folder with commonly used company addresses to improve messaging productivity. AutoComplete has evolved from a productivity enhancement to a functional feature. In a future Outlook Tips and Techniques column, I’ll look at how to turn off AutoComplete functionality and give you some reasons why you might want to do so.

Related Content:

ARTICLE TOOLS

Comments
  • ToJoBe
    11 days ago
    May 15, 2012

    Hi William. Thank you for the informative article.

    I have migrated users from Exchange/Outlook 2007 organization to a user account/resource account model using Exchange/Outlook 2010. In the course of migrating autocomplete is wiped, perhaps due to the change in format from nk2 to the dat model. For whatever reason, the autocomplete sort of starts from scratch. I've used a script to move sent item values to suggested contacts, but there are issues related to that (I won't go into them here)

    I have a couple of questions. How is the Stream_Autocomplete_0_XXXXX.dat filename derived? Is it possible for me to use the old nk2 file as a basis for the dat file? I'm suggesting that if I can understand how the user's Stream_Autocomplete filename is created I can rename the nk2 file using that information post-migration.

    Not sure if that makes sense, but if you could shed some light on the origins of the 2010 cache file name and if you think my crazy scheme will work, I'd be grateful.

    Thanks again for your help. I appreciate it a lot.

    Tom

  • joebrady84
    4 months ago
    Jan 05, 2012

    Here's a Powershell script that loops through SentItems and inserts all email addresses in the Suggested Contact folder (which means the addresses will show up in the autocomplete list)

    http://blog.degree.no/2012/01/outlook-adding-all-emails-in-sent-items-to-autocomplete-list/

    Worked fine for me - WIndows7, Outlook 2010

  • Bath
    1 year ago
    Feb 26, 2011

    Use this hand and FREE NK2 Outlook rebuild tool.

    http://www.outlooktip.com/install-outlook-nk2-autocache/

    It works great.

  • Koch
    2 years ago
    Aug 18, 2010

    Before 2010, it was easy to migrate a user's nickname file to another computer or even Outlook profile by copying/renaming the NK2 file. I like that the AutoComplete Cache follows the user's mailbox, but what if you wanted to backup the data because it was missing one day (presumed corrupt)?

  • 2 years ago
    Jul 31, 2010

    This is great news! We've always been surprised how much users rely on the autocomplete feature rather than saving addresses to their contacts. We have always made a point to migrate the nk2 file when we conduct a migration. Do you know if there is a provision to import the contents of an nk2 file into the hidden folder used in Outlook 2010?

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.