We help IT Professionals succeed at work.

Exchange/Outlook 2010, Massive Purge of Single NK2/Autocomplete E-Mail Addresses

RTM2007 asked
I am familiar with how on Exchange 2010 the NK2 files are stored on the server-level. I would like to know if there is a way to purge a single e-mail address from ALL users mailboxes/autocomplete cache rather than going to each account and deleting from Outlook.
Watch Question

Information Security Manager

No sorry. The only way would be to go to each machine (Either directly or remote) and manually deleting it. Or you could send an email out to business with instructions on how to delete it, and then they can do it them self.

Jian An LimSolutions Architect
Top Expert 2016

if i am not wrong,
the nk2 is stored in suggest contacts.

so in order to delete all the email in all mailbox, you can use powershell to do so.

read Searching for and removing content from a mailbox

the code could be something like below but i did not test it.

Get-Mailbox -Server EXCHANGE01 | Export-Mailbox -TargetMailbox ExportMailbox -TargetFolder "Suggest contacts" -SenderKeywords nasty.person@example.com –DeleteContent –MaxThreads 10

Explore More ContentExplore courses, solutions, and other research materials related to this topic.