![]() ![]() ![]() It can be created if the first time you sign in, the user all #Try to remove the Link School/Work account if there was one. Get-ChildItem "$TeamsFolders\storage.json" | Remove-Item #Lastly delete the storage.json, this corrects some error that MSTeams otherwise would have when logging in again. Get-ChildItem "$TeamsFolders\Cookies" | Remove-Item This is a fix for when the joining as anonymous, and prevents the last used guest name from being reused. Write-Host "Modify desktop-Config.Json - Finished" $credential = cmdkey /list | ForEach-Object #Remove Credential from Credential manager Get-ChildItem -Path $env:APPDATA\"Microsoft\teams\tmp" | Remove-Item -Recurse -ErrorAction Silentl圜ontinue Get-ChildItem -Path $env:APPDATA\"Microsoft\teams\Local Storage" | Remove-Item -Recurse -ErrorAction Silentl圜ontinue Get-ChildItem -Path $env:APPDATA\"Microsoft\teams\Indexeddb" | Remove-Item -Recurse -ErrorAction Silentl圜ontinue Get-ChildItem -Path $env:APPDATA\"Microsoft\teams\gpucache" | Remove-Item -Recurse -ErrorAction Silentl圜ontinue 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. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |