Home

SOLUTION: Microsoft Teams multiple accounts (second account)

%3CLINGO-SUB%20id%3D%22lingo-sub-548309%22%20slang%3D%22en-US%22%3ESOLUTION%3A%20Microsoft%20Teams%20multiple%20accounts%20(second%20account)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-548309%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRONG%3ESOLUTION%3C%2FSTRONG%3E%3A%3C%2FP%3E%3CP%3E1)%20%22Win%20%2B%20I%22%20%3D%26gt%3B%20Accounts%20%3D%26gt%3B%20Other%20Users%20%3D%26gt%3B%20Add%20someone%20else%20to%20this%20PC%20(for%20example%2C%20user%20without%20Microsoft%20account%20named%20MSTeams%2C%20not%20Administrator)%3CBR%20%2F%3E2)%20%22Ctrl%20%2B%20Alt%20%2B%20Del%22%20%3D%26gt%3B%20Switch%20user%3CBR%20%2F%3E3)%20Login%20to%20second%20MSTeams%20user%3CBR%20%2F%3E4)%20Download%20and%20install%20MSTeams%3CBR%20%2F%3E5)%20Login%20to%20the%20MSTeams%20using%20an%20account%20with%20less%20activity%20and%20close%20application%3CBR%20%2F%3E6)%20Ctrl%20%2B%20Alt%20%2B%20Del%20%3D%26gt%3B%20Switch%20user%3CBR%20%2F%3E7)%20Return%20to%20your%20main%20account%3CBR%20%2F%3E8)%3C%2Fimg%3E%20Go%20to%20C%3A%5CWINDOWS%5Csystem32%5C%20and%20find%20cmd.exe%3CBR%20%2F%3E9)%20Click%20%22Shift%20%2B%20Right%20Mouse%22%20and%20chose%20%22Run%20as%20different%20user%22%20(find%20in%20google%20how%20to%20add%20it%20if%20you%20don't%20have%20this%20option)%3CBR%20%2F%3E10)%20Login%20with%20MSTeams%20user%3CBR%20%2F%3E11)%20Write%20following%20command%20in%20the%20console%3CBR%20%2F%3E12)%20C%3A%5CUsers%5CMSTeams%5CAppData%5CLocal%5CMicrosoft%5CTeams%5CUpdate.exe%20--processStart%20%22Teams.exe%22%3C%2FP%3E%3CP%3ETo%20run%20MSTeams%20again%20repeat%20following%20steps%3CBR%20%2F%3E8)%3C%2Fimg%3E%20Go%20to%20C%3A%5CWINDOWS%5Csystem32%5C%20and%20find%20cmd.exe%3CBR%20%2F%3E9)%20Click%20%22Shift%20%2B%20Right%20Mouse%22%20and%20chose%20%22Run%20as%20different%20user%22%20(find%20in%20google%20how%20to%20add%20it%20if%20you%20dont%20have%20this%20option)%3CBR%20%2F%3E10)%20Login%20with%20MSTeams%20user%3CBR%20%2F%3E11)%20Write%20following%20command%20in%20the%20console%3CBR%20%2F%3E12)%20C%3A%5CUsers%5CMSTeams%5CAppData%5CLocal%5CMicrosoft%5CTeams%5CUpdate.exe%20--processStart%20%22Teams.exe%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EThis%20steps%20can%20be%20optimized%20by%20PowerShell%20script%3A%20%3C%2FSTRONG%3E%3CBR%20%2F%3E%23run%20as%20admin%3CBR%20%2F%3Eif%20(!(%5BSecurity.Principal.WindowsPrincipal%5D%5BSecurity.Principal.WindowsIdentity%5D%3A%3AGetCurrent()).IsInRole(%5BSecurity.Principal.WindowsBuiltInRole%5D%20%22Administrator%22))%20%7B%20Start-Process%20powershell.exe%20%22-NoProfile%20-ExecutionPolicy%20Bypass%20-File%20%60%22%24PSCommandPath%60%22%22%20-Verb%20RunAs%3B%20exit%20%7D%3C%2FP%3E%3CP%3E%24username%20%3D%20'.%5CMSTeams'%3CBR%20%2F%3E%24password%20%3D%20'YOUR_PASSWORD_OF_THE_MSTEAMS_USER.'%3C%2FP%3E%3CP%3E%24securePassword%20%3D%20ConvertTo-SecureString%20%24password%20-AsPlainText%20-Force%3CBR%20%2F%3E%24credential%20%3D%20New-Object%20System.Management.Automation.PSCredential%20%24username%2C%20%24securePassword%3CBR%20%2F%3EStart-Process%20'C%3A%5CUsers%5CMSTeams%5CAppData%5CLocal%5CMicrosoft%5CTeams%5CUpdate.exe'%20'--processStart%20%22Teams.exe%22'%20-Credential%20%24credential%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EAlso%2C%20you%20can%20add%20this%20script%20to%20the%20windows%20scheduler%20with%20log%20in%20to%20account%20trigger%20with%20admin%20permission%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-548309%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Echrome%20user%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EGuest%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EGuest%20User%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Emultiple%20accounts%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Esecond%20account%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Esecond%20organization%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWeb%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-548417%22%20slang%3D%22en-US%22%3ERe%3A%20SOLUTION%3A%20Microsoft%20Teams%20multiple%20accounts%20(second%20account)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-548417%22%20slang%3D%22en-US%22%3E%3CP%3EIf%20someone%20wants%20to%20help%2C%20please%20create%20more%20detailed%20instructions%20with%20screenshots%20or%20videos%20and%20I%20update%20this%20post%20with%20more%20details.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3EIvan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-548626%22%20slang%3D%22en-US%22%3ERe%3A%20SOLUTION%3A%20Microsoft%20Teams%20multiple%20accounts%20(second%20account)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-548626%22%20slang%3D%22en-US%22%3ENifty%20work%20around%20but%20It%E2%80%99s%20so%20much%20easier%20to%20open%20chrome%20with%20a%202nd%20profile%20with%20your%20credentials%20saved%20%3Bp.%20And%20or%20downloading%20and%20using%20franz!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-549602%22%20slang%3D%22en-US%22%3ERe%3A%20SOLUTION%3A%20Microsoft%20Teams%20multiple%20accounts%20(second%20account)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-549602%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F869%22%20target%3D%22_blank%22%3E%40Chris%20Webb%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EYes%2C%20I%20agree%20that%20it%20is%20not%20simple%2C%20but%20it%20is%20the%20best%20way%20for%20me%2C%20someone%20can%20create%20more%20detailed%20instructions%20with%20screenshots%20and%20videos.%20I%20hope%20that%20it%20helps%20resolve%20this%20problem%20for%20some%20people.%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EI%20using%20this%20solution%20for%202%20months%20and%20it%20cost%20only%201%20hour%20to%20configure%20all.%20Now%20second%20Teams%20app%20runs%20when%20I%20log%20in%20to%20my%20windows%20user%20and%20it%20work%20better%20that%20Chrome.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EAnd%20what%20about%20desktop%20screen%20sharing%20(or%20PowerPoint%20document%20or%20window%20of%20some%20app)%20with%20Chrome%2C%20it%20is%20possible%3F%3CBR%20%2F%3E%3CBR%20%2F%3EAlso%2C%20some%20organizations%20are%20not%20allowed%20to%20use%20external%20software%20on%20your%20device%2C%20so%20I%20would%20not%20like%20to%20use%20franz%20because%20it%20might%20create%20some%20security%20issues%20hypothetically.%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
ivan6932
Occasional Contributor

SOLUTION:

1) "Win + I" => Accounts => Other Users => Add someone else to this PC (for example, user without Microsoft account named MSTeams, not Administrator)
2) "Ctrl + Alt + Del" => Switch user
3) Login to second MSTeams user
4) Download and install MSTeams
5) Login to the MSTeams using an account with less activity and close application
6) Ctrl + Alt + Del => Switch user
7) Return to your main account
8) Go to C:\WINDOWS\system32\ and find cmd.exe
9) Click "Shift + Right Mouse" and chose "Run as different user" (find in google how to add it if you don't have this option)
10) Login with MSTeams user
11) Write following command in the console
12) C:\Users\MSTeams\AppData\Local\Microsoft\Teams\Update.exe --processStart "Teams.exe"

To run MSTeams again repeat following steps
8) Go to C:\WINDOWS\system32\ and find cmd.exe
9) Click "Shift + Right Mouse" and chose "Run as different user" (find in google how to add it if you dont have this option)
10) Login with MSTeams user
11) Write following command in the console
12) C:\Users\MSTeams\AppData\Local\Microsoft\Teams\Update.exe --processStart "Teams.exe"

 

This steps can be optimized by PowerShell script:
#run as admin
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs; exit }

$username = '.\MSTeams'
$password = 'YOUR_PASSWORD_OF_THE_MSTEAMS_USER.'

$securePassword = ConvertTo-SecureString $password -AsPlainText -Force
$credential = New-Object System.Management.Automation.PSCredential $username, $securePassword
Start-Process 'C:\Users\MSTeams\AppData\Local\Microsoft\Teams\Update.exe' '--processStart "Teams.exe"' -Credential $credential

 

Also, you can add this script to the windows scheduler with log in to account trigger with admin permission

3 Replies

If someone wants to help, please create more detailed instructions with screenshots or videos and I update this post with more details.

 

Regards,

Ivan

Nifty work around but It’s so much easier to open chrome with a 2nd profile with your credentials saved ;p. And or downloading and using franz!

@Chris Webb 

 

Yes, I agree that it is not simple, but it is the best way for me, someone can create more detailed instructions with screenshots and videos. I hope that it helps resolve this problem for some people. 
I using this solution for 2 months and it cost only 1 hour to configure all. Now second Teams app runs when I log in to my windows user and it work better that Chrome. 

 

 

And what about desktop screen sharing (or PowerPoint document or window of some app) with Chrome, it is possible?

Also, some organizations are not allowed to use external software on your device, so I would not like to use franz because it might create some security issues hypothetically.

 

 

Related Conversations
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
Early preview of Microsoft Edge group policies
Sean Lyndersay in Discussions on
65 Replies
*Updated 9/3* Syncing in Microsoft Edge Preview Channels
Elliot Kirk in Articles on
201 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
2 Replies