Blog Post

FSLogix Blog
1 MIN READ

Teams setup rapidly grows my profile disk

Gonzalo_Reyna's avatar
Gonzalo_Reyna
Icon for Microsoft rankMicrosoft
Jul 22, 2020

Hi there, Gonzalo again here. We have many customers that contact us with the same request: When Teams it is installed, profile disk rapidly grows around 4 to 5 GB in size, but the data contained there is just about a few MBs. This issue it is only observed when you are using the default disk type (Dynamic).

 

I would like to clarify something before moving forward: This is not bug in Teams nor FSLogix. As any software, during setup, Teams will write temporary data that will be deleted when setup completes, and the good news is that there is a way to avoid this. After some research conducted by our product group, they shared with us a way to avoid this situation by adding an exclusion to the redirections.xml file. You will need to add the following exclusion:

 

<Exclude Copy="0">AppData\Roaming\Microsoft\Teams\Service Worker\</Exclude>

 

Please note that this will be beneficial to you if you add this line before installing Teams. If you already installed Teams and you want to remove all those empty blocks from the profile disk, please review the options described in this other blog.

 

You can get more information about the use of redirections by looking at our official documentation and more in depth in the following technical article.

Updated Jul 22, 2020
Version 1.0

2 Comments

  • Hi TimLB 

     

    For non-persistent environments, official documentation published by the Teams product group can be found here https://docs.microsoft.com/en-us/microsoftteams/teams-for-vdi#non-persistent-setup. There is mentioned the following items:

     

    • .txt files
    • Media-stack folder
    • meeting-addin\Cache (%appdata%\Microsoft\Teams\meeting-addin\Cache)

    Right now, FSLogix does not have the capability to exclude file types, so you can only exclude the last two items. My recommendation is to open a support ticket form the Microsoft 365 portal and ask the Teams support team about that particular folder.

     

  • TimLB's avatar
    TimLB
    Iron Contributor

    Hi Gonzalo_Reyna,

     

    Regarding scenarios where Non-Persistent setups are used, could we delete files out of AppData\Roaming\Microsoft\Teams\Service Worker\ for all profiles once this exclusion is specified?

     

    Thanks