Automatically Deleting the Lync Address Books

When developing & supporting a Lync platform, it may become necessary to delete the local user’s address books. In this blog entry I detail a way of automating this process. It makes it far easier then trying to talk a user through how to do it themselves.

====
My previous article detailed how to change the address-book to download in a faster time - you can read that here:

Downloading the Address Book in Lync 2013

There was another related post that contained a script that would automatically delete your Address Books for your Lync 2010 client. You can see that article here, and the initial one that kicked it off:

Automatically deleting a user's Lync Address Book
Deleting a user’s Lync Address Book

This was quite handy if for whatever reason you wanted to quickly and easily delete yours or somebody else’s Address Book files.. but with Lync 2013 there’s a snag - the file locations have changed.

In Windows 7 or 8 now, the Address Book Files are located in the following path:

%userprofile%\AppData\Local\Microsoft\Office\15.0\Lync\sip_

....so the script as provided doesn’t work for Lync 2013 clients. As I’m feeling helpful, I’ve updated it. You can download it at the following link:

AutoDelete Lync 2013 Address Books

The running/output is exactly the same as the previous article - it leaves a text file on the desktop detailing exactly what it’s done.

Anyways, hope you find that useful. If I get a chance I’ll update the scripts to a single one that will work regardless of Lync platform, and regardless of operating system.


blog comments powered by Disqus