Skip to content

Instantly share code, notes, and snippets.

@bradkrane
Created July 13, 2020 11:44
Show Gist options
  • Save bradkrane/3db2b13dcfcb160f3b472aa0bd8555bf to your computer and use it in GitHub Desktop.
Save bradkrane/3db2b13dcfcb160f3b472aa0bd8555bf to your computer and use it in GitHub Desktop.
REM This is to fix teams issue: MS Teams keeps randomly crashing
REM https://answers.microsoft.com/en-us/msoffice/forum/all/ms-teams-keeps-randomly-crashing/d4b3fd90-c77e-468a-82a7-8190db44f73f
taskkill /F /IM teams.exe
del /f /s /q %appdata%\Microsoft\teams\application cache\cache\*
del /f /s /q %appdata%\Microsoft\teams\blob_storage\*
del /f /s /q %appdata%\Microsoft\teams\databases\*
del /f /s /q %appdata%\Microsoft\teams\GPUcache\*
del /f /s /q %appdata%\Microsoft\teams\IndexedDB\*
del /f /s /q "%appdata%\Microsoft\teams\Local Storage\*"
del /f /s /q %appdata%\Microsoft\teams\tmp\*
del /f /s /q %appdata%\Temp\*
start %localappdata%\Microsoft\Teams\Update.exe --processStart "Teams.exe"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment