Home

MS Teams Shared PC Force Logout / Clear Credentials

%3CLINGO-SUB%20id%3D%22lingo-sub-59654%22%20slang%3D%22en-US%22%3EMS%20Teams%20Shared%20PC%20Force%20Logout%20%2F%20Clear%20Credentials%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-59654%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20would%20like%20to%20use%20MS%20Teams%20in%20the%20meeting%20rooms%20on%20shared%20PCs%20(Setup%20as%20room%20resource%20accounts).%20Users%20forget%20to%20logout%20of%20teams.%20Is%20there%20a%20way%20for%20us%20to%20find%20and%20delete%20the%20credentials%20on%20our%20room%20reset%20batch%20files%3F%20Currently%2C%20if%20you%20use%20Teams%20and%20close%20it%2C%20it%20then%20opens%20with%20last%20credentials.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAn%20option%20is%20to%20have%20them%20use%20the%20online%20version%20but%20many%20prefer%20desktop%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-59654%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdministrator%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESettings%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-324842%22%20slang%3D%22en-US%22%3ERe%3A%20MS%20Teams%20Shared%20PC%20Force%20Logout%20%2F%20Clear%20Credentials%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-324842%22%20slang%3D%22en-US%22%3E%3CP%3EThere's%20a%20SignOut%20button%2C%20which%20mostly%20works.%20In%20case%20it%20doesn't%2C%20you%20will%20have%20to%20clear%20the%20local%20cache%2C%20credentials%20stored%20in%20Cred%20manager%20and%20the%20cookies%2Fbrowser%20cache.%20Here's%20an%20extensive%20list%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%3CHR%20%2F%3E%0A%3CP%3E%3CSPAN%20style%3D%22background%3A%20white%3B%22%3E1.%26nbsp%3B%20Fully%20exit%20the%20Microsoft%20Teams%20desktop%20client.%20To%20do%20this%2C%20either%20right%20click%20Teams%20from%20the%20Icon%20Tray%20and%20select%20%E2%80%98Quit%E2%80%99%2C%20or%20run%20Task%20Manager%20and%20fully%20kill%20the%20process.%3CBR%20%2F%3E2.%26nbsp%3B%20Go%20to%20File%20Explorer%2C%20and%20type%20in%20%25appdata%25%5CMicrosoft%5Cteams.%3CBR%20%2F%3E3.%26nbsp%3B%20Once%20in%20the%20directory%2C%20you%E2%80%99ll%20see%20a%20few%20of%20the%20following%20folders%3A%3CBR%20%2F%3Ea.%26nbsp%3B%20From%20within%20%E2%80%98Application%20Cache%E2%80%99%2C%20go%20to%20Cache%20and%20delete%20any%20of%20the%20files%20in%20the%20Cache%20location.%3CBR%20%2F%3E*%26nbsp%3B%20%25appdata%25%5CMicrosoft%5Cteams%5Capplication%20cache%5Ccache%3CBR%20%2F%3Eb.%26nbsp%3B%20From%20within%20%E2%80%98Blob_storage%E2%80%99%2C%20delete%20any%20files%20that%20are%20located%20in%20here%20if%20any.%3CBR%20%2F%3E*%26nbsp%3B%26nbsp%3B%20%25appdata%25%5CMicrosoft%5Cteams%5Cblob_storage%3CBR%20%2F%3Ec.%26nbsp%3B%20From%20within%20%E2%80%98Cache%E2%80%99%2C%20delete%20all%20files.%3CBR%20%2F%3E*%26nbsp%3B%26nbsp%3B%20%25appdata%25%5CMicrosoft%5Cteams%5CCache%3CBR%20%2F%3Ed.%26nbsp%3B%20From%20within%20%E2%80%98databases%E2%80%99%2C%20delete%20all%20files.%3CBR%20%2F%3E*%26nbsp%3B%26nbsp%3B%20%25appdata%25%5CMicrosoft%5Cteams%5Cdatabases%3CBR%20%2F%3Ee.%26nbsp%3B%20From%20within%20%E2%80%98GPUCache%E2%80%99%2C%20delete%20all%20files.%3CBR%20%2F%3E*%26nbsp%3B%26nbsp%3B%20%25appdata%25%5CMicrosoft%5Cteams%5CGPUcache%3CBR%20%2F%3Ef.%26nbsp%3B%20From%20within%20%E2%80%98IndexedDB%E2%80%99%2C%20delete%20the%20.db%20file.%3CBR%20%2F%3E*%26nbsp%3B%26nbsp%3B%20%25appdata%25%5CMicrosoft%5Cteams%5CIndexedDB%3CBR%20%2F%3Eg.%26nbsp%3B%20From%20within%20%E2%80%98Local%20Storage%E2%80%99%2C%20delete%20all%20files.%3CBR%20%2F%3E*%26nbsp%3B%26nbsp%3B%20%25appdata%25%5CMicrosoft%5Cteams%5CLocal%20Storage%3CBR%20%2F%3Eh.%26nbsp%3B%20Lastly%2C%20from%20within%20%E2%80%98tmp%E2%80%99%2C%20delete%20any%20file.%3CBR%20%2F%3E*%26nbsp%3B%26nbsp%3B%20%25appdata%25%5CMicrosoft%5Cteams%5Ctmp%3CBR%20%2F%3EOnce%20finally%20done%20clearing%2C%20you%20can%20now%20restart%20Teams%20from%20your%20local%20desktop%20and%20all%20cache%20will%20be%20cleared%20from%20the%20desktop%20app.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CHR%20%2F%3E%3C%2FBLOCKQUOTE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMight%20be%20easier%20to%20just%20use%20the%20browser%20client%2C%20in%20a%20Private%20session.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-324691%22%20slang%3D%22en-US%22%3ERe%3A%20MS%20Teams%20Shared%20PC%20Force%20Logout%20%2F%20Clear%20Credentials%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-324691%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20found%20that%20clearing%20these%20files%2Fkeys%3C%2FP%3E%3CUL%3E%3CLI%3EHKEY_CURRENT_USER%5CSoftware%5CMicrosoft%5COffice%5CTeams%3C%2FLI%3E%3CLI%3E%25appdata%25%5CMicrosoft%5CTeams%3C%2FLI%3E%3CLI%3E%25localappdata%25%5CMicrosoft%5CWindows%5CINetCache%5CIE%3C%2FLI%3E%3C%2FUL%3E%3CP%3EStill%20doesn't%20log%20the%20user%20out.%20I%20am%20still%20looking...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-962938%22%20slang%3D%22en-US%22%3ERe%3A%20MS%20Teams%20Shared%20PC%20Force%20Logout%20%2F%20Clear%20Credentials%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-962938%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20can%20I%20logout%20from%20the%20App%20Teams%20on%20the%20iPad%3F%20Even%20if%20I%20use%20the%20logout%20button%2C%20my%20credentials%20are%20saved.%20By%20clicking%20on%20my%20account%20I%20am%20immediately%20logged%20in%20again.%20How%20can%20I%20definitely%20clear%20my%20credentials%20i.e.%20on%20a%20device%20of%20a%20colleague%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Angela Hlavka
Regular Visitor

We would like to use MS Teams in the meeting rooms on shared PCs (Setup as room resource accounts). Users forget to logout of teams. Is there a way for us to find and delete the credentials on our room reset batch files? Currently, if you use Teams and close it, it then opens with last credentials. 

 

An option is to have them use the online version but many prefer desktop

 

Thanks 

3 Replies
Highlighted

I have found that clearing these files/keys

  • HKEY_CURRENT_USER\Software\Microsoft\Office\Teams
  • %appdata%\Microsoft\Teams
  • %localappdata%\Microsoft\Windows\INetCache\IE

Still doesn't log the user out. I am still looking...

There's a SignOut button, which mostly works. In case it doesn't, you will have to clear the local cache, credentials stored in Cred manager and the cookies/browser cache. Here's an extensive list:

 


1.  Fully exit the Microsoft Teams desktop client. To do this, either right click Teams from the Icon Tray and select ‘Quit’, or run Task Manager and fully kill the process.
2.  Go to File Explorer, and type in %appdata%\Microsoft\teams.
3.  Once in the directory, you’ll see a few of the following folders:
a.  From within ‘Application Cache’, go to Cache and delete any of the files in the Cache location.
*  %appdata%\Microsoft\teams\application cache\cache
b.  From within ‘Blob_storage’, delete any files that are located in here if any.
*   %appdata%\Microsoft\teams\blob_storage
c.  From within ‘Cache’, delete all files.
*   %appdata%\Microsoft\teams\Cache
d.  From within ‘databases’, delete all files.
*   %appdata%\Microsoft\teams\databases
e.  From within ‘GPUCache’, delete all files.
*   %appdata%\Microsoft\teams\GPUcache
f.  From within ‘IndexedDB’, delete the .db file.
*   %appdata%\Microsoft\teams\IndexedDB
g.  From within ‘Local Storage’, delete all files.
*   %appdata%\Microsoft\teams\Local Storage
h.  Lastly, from within ‘tmp’, delete any file.
*   %appdata%\Microsoft\teams\tmp
Once finally done clearing, you can now restart Teams from your local desktop and all cache will be cleared from the desktop app.


 

Might be easier to just use the browser client, in a Private session.

@Vasil Michev 

How can I logout from the App Teams on the iPad? Even if I use the logout button, my credentials are saved. By clicking on my account I am immediately logged in again. How can I definitely clear my credentials i.e. on a device of a colleague?

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
9 Replies