Populating Outlook 2013 auto-complete addresses via PowerShell

Hello,
I would like to use PowerShell to add auto-complete e-mail addressees to Microsoft Office Outlook
2013. My understanding is that since Outlook 2010 was released, the NK2 file has been retired in favor of integrating the auto-complete addresses with the PST file (see link below). With that in mind, how can I manipulate the PST file to accommodate
the auto-completion? Is there any documentation on the PST file structure that would allow me to inject this information into an existing PST? If a user has multiple PST files, how do you know which one contains the auto-complete entries — are they aggregated?
http://social.technet.microsoft.com/Forums/office/en-US/f1edb3db-e28c-404b-8817-a3c001555b2d/missing-nk2-file
Cheers,
Trevor Sullivan
If this post was helpful, please click the little "Vote as Helpful" button :)
Trevor Sullivan
Trevor Sullivan's Tech Room
Twitter Profile

"The NK2 file has been retired in favor of integrating the auto-complete addresses with the PST file"
- I think this discription is not exactly.
In fact, Outlook 2010/2013 reads the autocomplete stream
from a message in the Associated Contents table of the Inbox of the mail account’s delivery store. (In another word, it is stored in mailbox site but is not on local). This
hidden message has a message class and subject of IPM.Configuration.Autocomplete. The autocomplete stream is stored on this message in the PR_ROAMING_BINARYSTREAM property (PidTagRoamingBinary
Canonical Property).
Go back to your quesion, the autocomplete data, whatever belongs which mail account’s delivery store, is temporarily cached in an autocomplete .dat file located in %USERPROFILE%\AppData\Local\Microsoft\Outlook\RoamCache.
More Reference:
http://msdn.microsoft.com/en-us/library/office/ff625288.aspx
An useful tool - NK2Edit to
http://www.nirsoft.net/utils/outlook_nk2_edit.html
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
Cheers,
Tony Chen
Forum Support
Come back and mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback on our support, please contact
[email protected]

Similar Messages

  • Exchange Server 2013 / Outlook 2010 Auto-Complete address problems

    Hi 
    We run an Exchange 2013 environment where end users use Outlook 2010.
    For some reason several users (at least 5 so far, maybe more that haven't noticed yet) are complaining that they are now unable to add any additional address to the Auto-Complete cache.  This can be resolved manually by emptying the cache from within
    Outlook then disabling and re-enabling auto-complete but obviously they then have a blank slate.
    My question is - is there anything that can cause this type of problem collectively?  I have seen it previously, but occurrences have always been isolated to an individual user.
    Thanks in advance
    M

    Hello,
    You can try use NK2View tool to modify your Outlook Auto Complete Addresses.
    With NK2View you can delete unwanted email addresses from your autocomplete file and add new addresses from your address book as well as edit current email address entries. And NK2View is a free download from NirSoft and you can get the software by going
    to their website.
    Besides, the auto-complete cache is a outlook feature, I recommend you post your issue to outlook forum.
    http://social.technet.microsoft.com/Forums/en-US/home?forum=outlook
    If you have any feedback on our support, please click
    here
    Cara Chen
    TechNet Community Support

  • Clear Outlook 2010 Auto Complete Cache on many desktops

    How do I clear the Outlook 2010 Auto Complete on the 1000 desktops in my organization using a script or group policy or any other method? The only method I can find is a manual one that does one desktop at a time and is not feasible for our 1000 desktops.

    Hi,
    Auto Complete Cache is the feature in Outlook, I recommend post this problem on
    Outlook Forum.
    By the way, I searched around and found the following thread.
    http://serverfault.com/questions/387406/disable-autocomplete-email-addresses-in-outlook-2010-for-every-user
    Take a look at it and hope this will be helpful for you.
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please
    make sure that you completely understand the risk before retrieving any suggestions from the above link.
    Best Regards.

  • Removing Auto Complete Address Entry

    For Mail, I set Compose preference to auto complete address entry. At some point, I have entered an incorrect email address. Now, when I start to type that person's email address, I am presented with both the incorrect and correct address -- and I can never remember which is correct.
    How can I remove an auto complete address entry forever?

    LCR,
    To remove an old address go to Mail>Window>Previous Recipients...select and "Remove From List" for the one you no longer want.
    ;~)

  • Tiger Mail to Leopard Mail - Auto Complete Addresses?

    Hi there,
    I've recently backed up my friend's complete Home folder from Tiger, along with all other Tiger assets required to hopefully make a smooth migration to Leopard.
    NERD SCENARIO:
    Apple Mail: My friend relied heavily on "Automatically complete addresses" in Apple Mail, otherwise known as Automatic Addressing, aka: auto complete TO: email addresses when typing a name. Unfortunately, when migrating to Leopard, he has now lost auto addressing after I migrated his old email (Inbox, Sent, Deleted, etc.) He's savvy, but not savvy enough to know to add his recipients to his Apple Address Book -- therefore Leopard Mail is only auto completing recent mail within this past week. I'm now trying to inform him to begin adding people to his Address Book so this doesn't happen again -- but it might be too late? He used to rely heavily on Auto Addressing to remember email addresses prior.
    TRANSLATION:
    1. How can I pull date or history from my backed up Mail folder from Tiger to import back into Leopard so "Auto Addressing" will remember email addresses prior?
    2. Did I not backup his mail correctly? I burned an almost exact mirror of his hard drive to a DVD.
    3. Has he lost his ability to auto address old email addresses? Since he didn't add them to his Address Book?
    Thanks for any help!
    Message was edited by: sem101

    I just did the same thing, transferring all my data from Tiger to a new Leopard MacBook Pro, and now I can't access ANY of my addresses from my old address book, even tho I can see all the data sitting in Library... How the heck do I get the hundreds of addresses into my new address book? And, why won't my new Mail pick up all the Auto-Complete addresses from the old program if I transferred everything over?

  • Outlook 2013 Auto Account Setup for Linked Mailbox Not working

    We've created a linked mailbox, in Exchange 2013 (in domain1), for a user in another AD forest, domain2. We have the AutoDiscover service configured in the other AD forest as well. Our only issue now is trying to find a way to get the Outlook Auto Account
    Setup to automagically configure a user's profile the first time Outlook 2013 is started. If we type in the user's email address and name and click Next, the profile is created successfully.
    I spoke to Microsoft support who helped me confirm that AutoDiscovery was configured correctly in the other forest. Reading this information (
    https://technet.microsoft.com/en-us/library/bb124251.aspx ) on AutoDiscover, I found what may be the issue. It notes that
    "If the Outlook client is joined to a domain, the user's domain account is used."
    Since the linked mailbox is associated with domain1, Outlook looks like it cannot use the domain account from domain2. I wonder if there might be a registry hack to bypass this and force Outlook clients in domain2 to look at email addresses in domain1?
    Orange County District Attorney

    Hi,
    According to your description, I noticed that “If we type in the user's email address and name and click Next, the profile is created successfully”. Do you mean the linked mailbox can be setup automatically when you fill in the Name and E-mail Address in
    the Auto Account Setup page? For example:
    If that is the case, the autodiscover service in Exchange side should be configured correctly and it is working for Outlook client automatically account setup.
    If the account can’t be setup automatically when using autodiscover service, please
    verify that the Master Account (Domain2\User1) has full access to the Linked Mailbox ([email protected]) as well as the smtp address using the cmdlets Get-Mailbox and Get-MailboxPermission in Exchange server:
    Get-Mailbox [email protected] | fl PrimarySmtpAddress,*Type*,*Link*
    Get-MailboxPermission [email protected] | fl
    Regards,
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Winnie Liang
    TechNet Community Support

  • How can I delete an auto complete address in Mail that is not in Previouse Recipients?

    Hello.  I have an e-mail address that comes up in auto complete in my e-mail when sending.  It is NOT in previous recipients and
    I am unable to delete it.  Hope someone can help me with it.  Thanks

    Have found the answer on Apple discussion and was able to delete it in my Address Book.

  • How can i delete all the "auto complete" addresses on my iPad mail

    I want to give my old iPad 1 to a relative . I'd like to leave all the apps for her but not all the "auto complete" contacts which appear when I use the Mail function. These names are not on "contacts" and seem to have been accumulated from mails I have sent/received over the years. is there a way to just delete these without doing a complete delete of everything on the iPad?

    Yes, but it is very tedious. You will have to begin typing an email address in the To: field in order to bring up those suggested email addresses. Then you tap the blue "I" next to the email address. In the next window that appears, swipe down to Remove from Recents and tap that to delete the address. You would have to do this for every single email address that you have ever received an email from, that is not in your contacts app.
    But what I am curious about is why wouldn't you remove your email accounts from the iPad? That will eliminate the problem altogether. You don't want to give the iPad to your relative that way, do you?

  • Mail won't auto complete address completely

    Hello.  This may be hard to explain properly but here goes!  In Mac Mail, when I type an address in the TO line, it auto completes the address and it is highlighted in blue, but I have to click in the text portion of the message in order for it to become one address in the TO line.  I'm quite sure in Mavericks, that once I had begun to type the address, it would auto complete completely and I could go on to the Subject line.  Hope someone can assist in this. Thanks.

    Thanks Eric, that is a solution of sorts but I would find it better if it would be done without having to click in the subject area or
    hitting return as you suggest.  Thanks for your input.

  • Auto complete address bar URL alphabetical

    When I start to type in the address bar the drop down auto complete shows many choices but the first two are sites I rarely visit and they are not in alphabetical order.
    The site I'm usually typing is first alphabetically and usually I have dozens of different pages I visit on that site. Obviously not a reall problem just a curious inconvenience.

    Hi ScoobTheNoob,
    I am bad a rhyming, but Safe Mode essentially only disables add ons. I would disable them one by one to find the culprit.

  • How to stop Calendar from auto-completing addresses?

    When I want to add both the name and location of a place for a Calendar event's location (say, the name and address of a restaurant), Calendar and/or its integration with Maps will auto-complete the address.  But when it does, it removes the name, and only fills the address.
    Almost every time I then try to manually enter the name, it still changes it to address-only when I save it.
    Example:
    What I want it to look like:
    Restaurant Name
    123 Address Rd
    City, ST 00000
    But what it auto-fills:
    123 Address Rd
    City, ST 00000
    United States
    How do I get it to stop auto-changing it, and to accept my changes the way I want them?

    agreed!
    tho, i seem to be able to go back & "edit" it to put the restaurant name back in - but when i do, it looses the map connection (argh).

  • Outlook 2013 Programmatic Security Settings via Group Policy

    I am in a domain environment and have deployed Office E3 via Shared Computer Activation on an RDS.
    Outlook functions correctly in online mode.
    When 3rd party software (such as ZetaDocs) attempts to access any Outlook feature (such as sending or address books) a prompt message is displayed - "A program is trying to access e-mail address information stored in Outlook...Allow access
    for...".
    I am able to change the Programmatic security settings to disable the prompt in Outlook by starting it as an Administrator.
    I have tried to do this the 'correct' way using the Office 2013 ADMX GPO templates. The created policy is linked to the OU containing the RDS server.
    gpresult and rsop shows no sign of the policy being implemented after a gpupdate /force.
    Any ideas as to what is going wrong?

    Make sure you have the correct adm:
    http://support.microsoft.com/kb/2426686
    The feature you probably want to disable is the 
    RPC/HTTP Connection Flags and set to None or 0. You'll have to test that out.
    Twitter!: Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied.

  • Assigning static mac address via powershell

    Hey,
    in our company i have to change the mac addresses of all vms from dynamic to static.
    so i wrote a little script, but the macadress wont swtich to static..
    here is what i did, maybe you can help me (im new to powershell)
    $vmname = "gpotest"
    foreach($vm in $vmname)
    $macaddress = get-vm -name $vm | get-VMNetworkAdapter | fl MacAddress
    $macaddress = $macaddress | Out-String
    $macaddress = $macaddress.Substring(17)
    $macaddress = $macaddress.Insert(0,'"')
    $macaddress = $macaddress.insert(13,'"')
    get-vm -name $vm | get-VMNetworkAdapter | set-VMNetworkAdapter -StaticMacAddress $macaddress
    thanks in advance

    Please check the link below. I believe it answers most of your questions.
    http://www.cisco.com/en/US/products/ps6441/products_configuration_guide_chapter09186a008071c342.html#wp1074511
    regards,
    Leo

  • How do I delete auto-complete addresses in iPhoto?

    Help! I've found a related discussion for deleting obsolete addresses in Apple mail and on the iPad (brilliant, by the way!), but neither solution seems applicable in iPhoto. Several old or incorrect addresses are offered when I address photos to share.  Apple store personnel were not familiar with the problem and said simply that iPhoto 'wasn't designed to do that, it's all together different'. Very frustrating.  Any ideas?

    Could you elaborate on this 'solution' you mention? There's only one place that iPhoto gets email addresses, and it's from Address Book or by you entering it manually, after which it's in Mail's list of Previous Addresses. So deleting an address from there is the only way to get rid of it.

  • Auto complete address

    I followed these instructions for autofill in the address bar:
    "Filling in automatically while typing a web address
    If you don't want to select a result in the autocomplete list while you are typing a web address, you can set Firefox to fill in it automatically:
    1. In the Location bar, type about:config and press EnterReturn.
    * The about:config "This might void your warranty!" warning page may appear. Click I'll be careful, I promise!, to continue to the about:config page.
    2. In the FilterSearch field, type browser.urlbar.autofill.
    3. Double-click the browser.urlbar.autofill preference to set its value to true.
    Type the first few letters of a web address, it will suggest one web address that matches. Type additional letters until it shows the web address you want and press EnterReturn."
    It will not autocomplete the web pages I have visited before. What am I missing?
    Running Mozilla 3.6.3 in Windows 7.

    hello jczarske, see Chosen solution by madperson : https://support.mozilla.org/en-US/questions/937709
    thank you

Maybe you are looking for