The Nickname Cache in Outlook – Get to Know your .NK2 file

2009 May 27

Have you ever wondered where Outlook stores data it uses to auto-complete email addresses when you are typing in the To or Cc field?  Microsoft stores this data in a file with the extension .NK2.  The file is stored in each user’s profile in drive:\Documents and Settings\user name\Application Data\Microsoft\Outlook.  Note that this may be a hidden folder, so you may need to change your view settings to see the file.  The file should be named outlook profile name.nk2.

Every time you enter a new email address when composing an email that address will be added to the nk2 file so that the next time you type the name, the auto-complete feature will try to guess what you are typing and fill in the details for you.  Very handy.

There are a couple of things that you may be thinking you’d like to do with this information.

1) Move the data from computer to computer

2) Edit the entries in the file

3) Reset the file so that is starts from scratch

4) Turn Auto-complete off

All of these are simple enough to do.

1) Move the data from computer to computer.

The file is profile specific, so you need to be sure that the profile exists on both machines.  Once that is done, it’s simply a matter of copying the file from one machine to the other.  Again, the location of the file is in:

drive:\Documents and Settings\user name\Application Data\Microsoft\Outlook\outlook profile name.nk2

If you have a new outlook profile that is the destination for the file, just rename the file to the new profile name.  This means that you can copy the same file to multiple users, just rename the file for each profile.

2) Edit the entries in the file.

This is a little trickier because Microsoft does not want you to do this, and I’d recommend making a backup copy of the file before messing around with it.  There are several utilites you can download that will let you edit the file.  Nk2View is a decent one, and is free.  Nk2Info is also free and claims to be able to repair the nk2 file.  Ingressor offers a commercial application to manage and repair the nk2 file.

You can easily remove an entry from the list – simply start typing the name you want to remove, then when the name appears in the suggestion list, highlight it using your arrow keys, then press the delete key to remove it.

3) Reset the file so that all entries are removed.

Microsoft describes the process here.  Basically, you can either flat out delete the file (make sure Outlook is closed first) or you can rename it so that you have a backup.  If the file does not exist it will be recreated when Outlook is restarted.

4) Turn Autocomplete off.

If you don’t want outlook to suggest names for you, you can turn this feature off.  In Outlook:

  • Go to Tools, then Options
  • From the Options tab, choose the E-mail options button
  • Click Advanced E-mail options
  • Uncheck “Suggest names while completing To, Cc, and Bcc fields.

Add to Del.cio.us RSS Feed Add to Technorati Favorites Stumble It! Digg It!
    www.sajithmr.com

Blog Traffic Exchange Related Posts
  • POP vs IMAP I get asked this a lot - what is the difference between POP and IMAP, and why would I want one over the other? To put it simply, IMAP stores email on your mail server, POP stores email on your local email client. IMAP is better for a TON of......
  • Outlook for the iPhone? eWeek is reporting that a Microsoft Executive, Stephen Elop, while speaking at the Web 2.0 Expo hinted that Microsoft will eventually release a version of the Office suite for mobile devices, specifically the iPhone.  I think this is important for a couple of reasons.  It further emphasizes MS' current move......
  • Clear the page file on Shutdown in XP This is one of those tweaks for XP that is useful if you have users that have a lot of sensitive information on their machines and you want to be sure that none of that information is left in the Page File forever.  It's not a panacea, but is extra......
  • Gmail Calendar and Contacts Sync to Outlook You would think this would be easy, right?  Well it is.  Sort of. Google in their infinite wisdom provides an application to sync your Google Calendar to Outlook, but not your contacts.  I hope this on the way, but for now you need to use a third party app to......
  • Outlook Secure Temporary File Folder Symptom - can't open attachments to emails. This is one of the things about Micrsoft that will eventually push me over the edge. A few months back, my CFO called me in to his office saying he couldn't open attachments from an email in Excel.  I poked around a bit,......
Blog Traffic Exchange Related Websites
  • Outlook archive error message Saw this today.... "Error while aging folder "Inbox" in store "Personal Folders". File access is denied. You do not have the permission required to access the file C:\WINDOWS\Application Data\Microsoft\Outlook\archive.pst." It was on an older Outlook 98/Windows 98 system, but it was something that might be applicable to others as well.......
  • WordPress Plugins These Wordpress plugins are offered by the Blog Traffic Exchange. Enjoy Related Websites / Related Posts Cloud based multi-site related posts plugin. Traffic balancing algorithm to ensure equality based on traffic. Randomization to spread the effect. New traffic opportunities every 24 hours. Increase your traffic today, join the Blog Traffic......
  • How to Remove APCProtect | APCProtect Removal Guide APCProtect is the latest rogue antivirus product in the wini family of rogue security sotware. It is generally pushed through sites that claim in order to view a video you need to install a video codec update or flash player update. This "update" is actually the loader for apcprotect. Once......
  • How to Remove Windows Enterprise Suite | Removal Guide Windows Enterprise Suite is a rogue antivirus application that is made to look like and mimic the actions of legitimate security applications, but it is likely the cause of more problems on your system than it solves. It seems to be made by the same group as volcano security suite......
  • Open Office Would you like to have an office suite of software, similar to Microsoft Office and compatible with it's file formats, but without the price tag? OK, so that's a no-brainer; of course you would. Well, Open Office is exactly that. It's open source software that is 100% free to download......
No comments yet

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS