Where is .nk2 file on Outlook 2010

Outlook 2010에서는 .nk2 파일이 사라졌습니다. (완전히 사라진 것은 아님)

.nk2(Nickname Cache File)는 사용자가 to,cc,bcc 등에 메일 주소를 적어 넣을 때, Auto-completion을 할 수 있게 도와주는 Binary local cache file입니다.

clip_image001

예전 아웃룩을 쓰던 사용자가 Outlook 2010으로 업그레이드 하는 경우

로컬에는 기존의 *.nk2 파일이 있을 것이며, 이때는 다음과 같이 동작하게 됩니다.

1. 모든 개인 연락처는 새로운 nickname cache에 추가 됩니다.

2. 기존의 .nk2 파일의 리스트들은 Auto-complete list에 추가가 되는데, 이미 개인 연락처로부터 1번에서 추가된 항목은 제외입니다.

3. .nk2 파일은 .old로 리네임됨으로써 아웃룩이 더이상 Access하지 못하게 합니다. 예) Outlook.nk2 -> Outlook.nk2.old

즉,  Outlook 2010을 쓰게되면, nk2 파일이 사용자의 메일 박스로 importing되게 되는데,

이때 부터는 .nk2를 사용하지 않고, User의 Primary Email Store에 Hidden 형태의 Message에 특정 Property 값을 Writing함으로써 기능을 유지하게 됩니다. (위에 언급한 것처럼 nk2를 못쓴다라는 것은 아닙니다. 예를 들어 외부 POP3계정만 쓸 경우는 nk2를 여전히 사용)

이는 MFCMAPI를 사용해서 확인할 수 있습니다.

위치는 Contacts 폴더에 있는 Associated Contents 테이블에 있으며, 이 중 Subject가 IPM.Configuration.ContactPerfs의 메시지에서 PR_ROAMING_DICTIONARY 프로퍼티가 해당 Nickname Cach Import관련 설정을 포함하고 있습니다.

clip_image002

더블 클릭해서 보면,

pImportedContactNickNames 값이 True인 경우가 이미 새로운 캐시로 Imported된 것으로 판단하시면 됩니다.

clip_image003

장점 : 서버에서 관리되므로 Roaming에 유용하다. 즉, 여러 머신에서도 Auto-Complete가 된다.

.nk2 파일을 Outlook 2010으로 가져오는 방법

https://support.microsoft.com/KB/980542

Clearing the nickname cache

l You can clear the auto-complete list by clicking on the Empty Auto-Complete List button on the Mail tab of the Outlook Options dialog box. Clearing the nickname cache via the Empty Auto-Complete List button removes the property in the hidden message that contains the nickname cache (IPM.Configuration.Autocomplete).

l /CleanAutoCompleteCache

n While retaining the IPM.Configuration.Autocomplete message in the Associated Contents table of your Inbox, this switch deletes the specific property that holds the nickname cache.For troubleshooting purposes, deleting the IPM.Configuration.Autocomplete message deletes the entire nickname cache. The message will be regenerated when Outlook restarts, but the nickname cache will be empty.

Repopulating the Cache

l When the nickname cache has been cleared, the auto-complete list is empty and is not automatically repopulated with your contacts. To repopulate the nickname cache, either send an e-mail message, or create a new contact item. This adds the addresses to the cache, one entry at a time. Alternatively, if you still have your old .nk2 file in its original location,  you can import your old .nk2 file once more by starting Outlook with the following command-line switch:

l /importnk2