Is your #MicrosoftTeams client slow sometimes? ๐๐ข
ย
Do you experience any of the following:
- Teams is performing slow whatever you do in the application
- click on the users or channels takes forever to change screen
- your status wonโt change
- missing messages in channels because channels are not bolded
- Teams client starting 20 seconds+
ย
What I do is I clear cache of the teams. I used to do it manually but below is the PowerShell that will do it for you automagically, it will close teams client, clear cache and start teams client again. Voila!
ย
# Stop #MicrosoftTeams Get-Process "Teams" -ErrorAction SilentlyContinue | Stop-Process # # clear the #MicrosoftTeams cache Get-ChildItem -Path $env:APPDATA\"Microsoft\teams\application cache\cache" | Remove-Item -Force Get-ChildItem -Path $env:APPDATA\"Microsoft\teams\blob_storage" | Remove-Item -Force Get-ChildItem -Path $env:APPDATA\"Microsoft\teams\databases" | Remove-Item -Force Get-ChildItem -Path $env:APPDATA\"Microsoft\teams\cache" | Remove-Item -Force Get-ChildItem -Path $env:APPDATA\"Microsoft\teams\gpucache" | Remove-Item -Force Get-ChildItem -Path $env:APPDATA\"Microsoft\teams\Indexeddb" | Remove-Item -Force Get-ChildItem -Path $env:APPDATA\"Microsoft\teams\Local Storage" | Remove-Item -Force Get-ChildItem -Path $env:APPDATA\"Microsoft\teams\tmp" | Remove-Item -Force # # change to my user Set-Location ($ENV:USERPROFILE + '\AppData\Local\Microsoft\Teams') # start #MicrosoftTeams Start-Process -File "$($env:USERProfile)\AppData\Local\Microsoft\Teams\Update.exe" -ArgumentList '--processStart "Teams.exe"'