Teams setup rapidly grows my profile disk
Published Jul 22 2020 11:14 AM 11.4K Views
Microsoft

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.

2 Comments
Steel 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

Microsoft

Hi @Timothy Balk 

 

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.

 

Version history
Last update:
‎Jul 22 2020 11:14 AM
Updated by: