none
What folders are used by Teams for caching

    Question

  • Hi,

    Was looking for options to optimize our VDI environment and came across folders under X:\Users\mWazowski\AppData\Local\Microsoft\Teams which seem to have cached data. 

    Are any of the folders safe to delete from the location above and have Teams fully functional on the next user log in?

    Thanks 


    Friday, February 23, 2018 11:49 PM

Answers

  • Hi net_tech,

     

    If you want to clear MS Teams cache,you could refer to the following ways

    1.  Fully exit the Microsoft Teams desktop client. To do this, either right click Teams from the Icon Tray and select ‘Quit’, or run Task Manager and fully kill the process.

    2.  Go to File Explorer, and type in %appdata%\Microsoft\teams.

     3.  Once in the directory, you’ll see a few of the following folders:

     

     a.  From within ‘Application Cache’, go to Cache and delete any of the files in the Cache location.

        *   %appdata%\Microsoft\teams\application cache\cache

     b.  From within ‘Blob_storage’, delete any files that are located in here if any.

        *   %appdata%\Microsoft\teams\blob_storage

     c.  From within ‘Cache’, delete all files.

        *   %appdata%\Microsoft\teams\Cache

     d.  From within ‘databases’, delete all files.

        *   %appdata%\Microsoft\teams\databases

     e.  From within ‘GPUCache’, delete all files.

        *   %appdata%\Microsoft\teams\GPUcache

     f.  From within ‘IndexedDB’, delete the .db file.

        *   %appdata%\Microsoft\teams\IndexedDB

     g.  From within ‘Local Storage’, delete all files.

        *   %appdata%\Microsoft\teams\Local Storage

     h.  Lastly, from within ‘tmp’, delete any file.

        *   %appdata%\Microsoft\teams\tmp

     

    Once finally done clearing, you can now restart Teams from your local desktop and all cache will be cleared from the desktop app.


    Best Regards,
    Leon Lu


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.


    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    Tuesday, February 27, 2018 1:57 AM
    Moderator

All replies

  • Hi,

    Welcome to the Office 2013 and Office 365 ProPlus IT Pro General Discussions forum. This forum is for general questions and feedback related to Microsoft Office applications. Since your question is related to Microsoft Teams, I'll move it to a more appropriate forum:

    https://social.technet.microsoft.com/Forums/office/en-US/home?forum=msteams

    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.

    Regards,
    Steve Fan


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.


    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    Monday, February 26, 2018 9:02 AM
  • Thanks Steve!

    Just to add some clarification to my original post I would like to get some insight on what's being stored under

    AppData\Local\Microsoft\Teams & AppData\Local\Teams folders and what folder is OK to delete?

    Thank you

    Monday, February 26, 2018 2:36 PM
  • Hi net_tech,

     

    If you want to clear MS Teams cache,you could refer to the following ways

    1.  Fully exit the Microsoft Teams desktop client. To do this, either right click Teams from the Icon Tray and select ‘Quit’, or run Task Manager and fully kill the process.

    2.  Go to File Explorer, and type in %appdata%\Microsoft\teams.

     3.  Once in the directory, you’ll see a few of the following folders:

     

     a.  From within ‘Application Cache’, go to Cache and delete any of the files in the Cache location.

        *   %appdata%\Microsoft\teams\application cache\cache

     b.  From within ‘Blob_storage’, delete any files that are located in here if any.

        *   %appdata%\Microsoft\teams\blob_storage

     c.  From within ‘Cache’, delete all files.

        *   %appdata%\Microsoft\teams\Cache

     d.  From within ‘databases’, delete all files.

        *   %appdata%\Microsoft\teams\databases

     e.  From within ‘GPUCache’, delete all files.

        *   %appdata%\Microsoft\teams\GPUcache

     f.  From within ‘IndexedDB’, delete the .db file.

        *   %appdata%\Microsoft\teams\IndexedDB

     g.  From within ‘Local Storage’, delete all files.

        *   %appdata%\Microsoft\teams\Local Storage

     h.  Lastly, from within ‘tmp’, delete any file.

        *   %appdata%\Microsoft\teams\tmp

     

    Once finally done clearing, you can now restart Teams from your local desktop and all cache will be cleared from the desktop app.


    Best Regards,
    Leon Lu


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.


    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    Tuesday, February 27, 2018 1:57 AM
    Moderator