
Get-ChildItem -Path $env:APPDATA\"Microsoft\teams\cache" | Remove-Item -Recurse -ErrorAction Silentl圜ontinue Get-ChildItem -Path $env:APPDATA\"Microsoft\teams\databases" | Remove-Item -Recurse -ErrorAction Silentl圜ontinue Get-ChildItem -Path $env:APPDATA\"Microsoft\teams\blob_storage" | Remove-Item -Recurse -ErrorAction Silentl圜ontinue Write-Host "Teams Process Sucessfully Stopped" Get-Process -ProcessName Teams -ErrorAction Silentl圜ontinue | Stop-Process -Force

To prevent this, I'm trying to write an powershell script which deleted the cached credentials.įor Microsoft-Teams if found a script which works like a charm. If a next user now starts one of the office programs, the last user will be logged in.

Some of them don't logout when they leave. On this computer people shall login into their company-accounts, so the office-software is licensed.

We got a public computer with windows 10 and the office365-suite in one of our meetings room at my company.
