Forum Discussion
berrynotec
Feb 10, 2024Copper Contributor
weird files macos download folder
Microsoft teams on macos is downloading/creating weird files in the download folder. The folder Teams writes to is called MSTeams. The files are named something like CompositorOutput_0x120289da698_256x134_NV12.yuv and all of them always end with .yuv. What is this and how do I turn it off again? Teams does not even have any write permissions in the system settings.
- no never found a solution and still having this problem. brand new mac and fresh teams installation
- nathanseitherCopper Contributor
I have yet to find a solution for this. I'm the only one at my company experiencing the issue. I just wrote a script to run via crontab that purges the directory regularly. It's dumb, but it saved me time dealing with a dumb issue that Microsoft doesn't care to address.
~/path/to/file.bash
```
#!/bin/bash
rm -rf ~/Downloads/MSTeams
mkdir -p "~/Downloads/MSTeams"
touch "~/Downloads/MSTeams/$(date +%s).purge"
```Make sure that file is executable:
```
chmod +x ~/path/to/file.bash
```
Then just set it to run via crontab:
```
crontab -e
```
```
0 * * * * ~/path/to/file.bash
```
That example will have it run every hour. For other timings you can look at crontab.guru to play around with crontab syntax if you aren't familiar with it.
Make sure to give the cron application Full Disk Access via Privacy & Security in System Settings. The application won't show up in the list by default. It's located in /usr/sbin. - bastiankusserowCopper Contributor
This is still a problem after over half a year. Sander fix your software or provide a solution
- adamlengerCopper ContributorI have the same issue. Have you been able to solve it somehow?
- berrynotecCopper Contributor
no still the same issue.
- Nasi_FCopper Contributor
I have this same problem now, did anyone ever find a solution? Seems to only build up these file when I am in a teams call. I have to keep deleting them throughout the call to prevent my system from running out of storage. Within 30 minutes the folder could have 90+ gb
- LeonPavesicSilver Contributor
Hi berrynotec,
the files you're encountering are high-likely temporary files generated by Microsoft Teams during its operation, with the .yuv extension indicating their association with video data, possibly from video calls or meetings.
It is unusual that these files are not automatically cleaned up by Microsoft Teams.
1) Ensure your Microsoft Teams application is up-to-date, as newer versions may resolve such issues.2) Clear Microsoft Teams cache:
Classic Teams
If Teams is still running, right-click the Teams icon in the dock, and then select Quit or press Command (⌘)-Q.
In the Finder, open the /Applications/Utilities folder, and then double-click Terminal.
Enter the following command, and then press Return:
rm -r ~/Library/Application\ Support/Microsoft/Teams
Restart Teams.
New Teams
If Teams is still running, right-click the Teams icon in the dock, and then select Quit or press Command (⌘)-Q.
In the Finder, open the /Applications/Utilities folder, and then double-click Terminal.
Enter the following commands, and press Return after each command:
rm -rf ~/Library/Group Containers/UBF8T346G9.com.microsoft.teams rm -rf ~/Library/Containers/com.microsoft.teams2
5. Restart Teams.
- berrynotecCopper Contributordid not help. still happening. also legacy version keeps reappearing in applications although I deleted it several times. would be great if microsoft could fix this and not pollute my download folder with theses unwanted files
- ghostormCopper Contributor
Have same issue. MS teams keeps writing to Downloads/MSTeams on each call leaving bunch of CompositorOutput_***.yuv files that have to be cleaned up manually
LeonPavesic wrote:New Teams
If Teams is still running, right-click the Teams icon in the dock, and then select Quit or press Command (⌘)-Q.
In the Finder, open the /Applications/Utilities folder, and then double-click Terminal.
Enter the following commands, and press Return after each command:
rm -rf ~/Library/Group Containers/UBF8T346G9.com.microsoft.teams rm -rf ~/Library/Containers/com.microsoft.teams2
5. Restart Teams.
tried this - did not help.