@echo off taskkill /IM "Teams.exe" /F taskkill /IM "ms-teams.exe" /F taskkill /IM "msteams.exe" /F taskkill /IM "ms-teamsupdate.exe" /F taskkill /IM "update.exe" /F taskkill /IM "Microsoft.AAD.BrokerPlugin.exe" /F timeout /t 3 cd %appdata% cd.. del Roaming\Microsoft\Teams\desktop-config.json /q rd /s /q Local\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy rd /s /q Roaming\Microsoft\Teams rd /s /q Local\Microsoft\OneAuth rd /s /q Local\Microsoft\IdentityCache rd /s /q Local\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft rd /s /q Local\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Local rd /s /q Local\Packages\MSTeams_8wekyb3d8bbwe rd /s /q Local\Microsoft\Teams rd /s /q Local\Microsoft\TokenBroker timeout /T 2