Blog

June 14, 2013
|

How to Purge Lync Temporary Cache Files

Lync 2010

  • Completely close out of the Lync application.
  • Locate one of the following folders, depending on your operating system:
    • Windows 7 or Windows Vista: %userprofile%\AppData\Local\Microsoft\Communicator\ sip_ (%userprofile%\ is C:\user\[my username])
    • Windows XP: %userprofile%\Local Settings\Application Data \Microsoft\Communicator\ sip_ (%userprofile%\ is C:\user\[my username])
  • Delete the following folder from Lync folder:
    • Sip_<sign-in name>
  • Delete
    • HKEY_CURRENT_USER\Software\Policies\Microsoft\Communicator\<sign-in name>
  • Delete cache credential for Lync from credential manager (It will appear asOC1_sip:sign-in name>)
  • Launch Lync 2010

 

Lync 2013

Automatic option

Start the Lync 2013 application, in the Sign in interface, click Delete my sign-in info option

Manual option

  • Completely close out of the Lync application
  • Locate one of the following folder
    %userprofile%\AppData\Local\Microsoft\Office\15.0\Lync\sip_ (%userprofile%\ is C:\user\[my username])
  • Delete the following folder from Lync folder:
    •  Sip_<sign-in name>
  • HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Lync\<sign-in name>
  • Delete cache credential for Lync from credential manager (It will appear asOC1_sip:sign-in name>)
  • Launch Lync 2013

 

Lync 2011 on Mac

  • Log on to your computer by using administrative credentials
  • Exit Lync if it’s running
  • Drag the Lync application to the Trash
  • To remove your existing Lync preferences, delete the following files:
    • Users/username/Library/Preferences/com.microsoft.Lync.plist
    • Users/username/Library/Preferences/ByHost/MicrosoftLyncRegistrationDB.xxxx.plist
    • Users/username/Library/Logs/Microsoft-Lync-x.logNote: This file is present only if you turned on Lync Logging
  • Users/username/Library/Logs/Microsoft-Lync.log
  • To remove all Lync files from your computer, delete the following folders in the Users/username/Documents/Microsoft User Data folder:
    • Microsoft Lync Data
    • Microsoft Lync History
    • Note: If you delete the Microsoft Lync History folder, you delete all conversations that are saved in the Conversation History
  • In the Applications/Utilities folder, open Keychain Access
    • Delete any keychains on the left that resemble OC_KeyContainer_<email address>
    • In your Login keychain, delete the certificate
  • In the Users/username/Library/Keychains folder, delete all the files that resemble OC_KeyContainer_<email address>

See the following table for more information about the path locations that are used in Lync for Mac 2011:

 

Folder path Description
Users/Home Folder/Documents/Microsoft User Data/Microsoft Lync Data Contains information about the users who have logged into Lync for Mac 2011 on this user account.
Users/Home Folder/Documents/Microsoft User Data/Microsoft Lync History Contains conversation history for the user currently logged in.
Users/Home Folder/Library/Preferences/com.microsoft.Lync.plist Contains application preferences for Lync.
Users/Home Folder/Library/Caches/com.microsoft.Lync Contains server names and endpoints from previous connections to Lync servers.