Apr 14 2020 08:18 AM - last edited on Sep 18 2020 01:01 PM by EricStarker
Microsoft Teams Application has always been improving based on the feature’s availability in the Teams Application. Microsoft has been enhancing the features some based on the existing Skype for Business Application and some based on the User Voice Request.
There is already an ongoing User Voice Request to have multiple instances of Microsoft Teams on the Windows Machine.
The major use of the multiple instances of Microsoft Teams Application: -
Disadvantages of using multiple instances of Microsoft Teams Application
Here is the link to the Source Code
@ECHO OFF
REM Uses the file name as the profile name
SET MSTEAMS_PROFILE=%~n0
ECHO - Using profile "%MSTEAMS_PROFILE%"
SET "OLD_USERPROFILE=%USERPROFILE%"
SET "USERPROFILE=%LOCALAPPDATA%\Microsoft\Teams\CustomProfiles\%MSTEAMS_PROFILE%"
ECHO - Launching MS Teams with profile %MSTEAMS_PROFILE%
cd "%OLD_USERPROFILE%\AppData\Local\Microsoft\Teams"
"%OLD_USERPROFILE%\AppData\Local\Microsoft\Teams\Update.exe" --processStart "Teams.exe"
Here is the User Voice for the same. Please vote for the User Voice
Apr 29 2021 01:11 AM
May 10 2021 04:02 AM - edited May 10 2021 04:03 AM
Thanks for your solution.
But at this morning i got an error message after starting teams from them .cmd file.
Have you got an solution for this, too?
regards
Marcel
May 12 2021 02:03 PM
This was a great help until a couple of days ago. But now I am getting the error as seen in the attached image. I can see that this is happening for others too from the previous comment.
Would be great if you could throw some light on this.
May 13 2021 01:10 AM - edited May 13 2021 01:12 AM
Me too, I have the same error as in the screenshots from @Ranga_r & @DeMa_cronos. Would love to go back to normal with my own and 2 clients' Teams open together. Thanks.
May 16 2021 04:07 PM
@RealTime_M365 Hi - I am getting the same error as those noted above. I cant figure a solution - I am guessing a file path has changed but not sure. Any help would be appreciated
May 18 2021 03:52 AM
Workaround for this that I have found is to use the Progressive Web App functionality.
Just login to https://teams.microsoft.com via Edge browser. Follow the image below and click Install this site as app:
May 18 2021 04:07 AM - edited May 18 2021 06:06 AM
That "problem" with this workaround is, that I only login in one Account. But if I have got more then one guest account I cant use them not parallel. But It helps to work with the Main-Account and one other Guestaccount. Thanks for your help.
May 18 2021 05:07 PM
i did that and works for a couple of week but now i'm not able to execute the batch file it is giving me a java error
please let me know if you have any clue how to solve this
regards.
May 19 2021 10:21 AM
SolutionTo fix the "Failed to get 'downloads' path" error, add the mkdir line as shown here:
https://gist.github.com/DanielSmon/cc3fa072857f0272257a5fd451768c3a
May 20 2021 01:30 PM
I am getting error when i run this same is working in other system
May 20 2021 01:43 PM
May 20 2021 10:14 PM
May 28 2021 04:09 AM
Jun 09 2021 08:28 PM
Jan 17 2022 06:58 PM
Is there a Powershell version of this?
I wanna use Teams deep link to jump straight to a channel, by calling the msteams protocol handler. See this thread for more info - Re: Command Line args to goto channels directly? - Microsoft Tech Community
The problem is that it will jump to the channel in the "normal" Teams, instead of using the custom profile Teams. I think if this script can be converted to Powershell, I might have some ideas to get the above working.
Apr 15 2022 08:38 PM
Jul 06 2022 03:28 PM
@RealTime_M365 This works but unfortunately, how do I log in to another business account, because I am already logged in.
Nov 28 2022 03:07 AM
Nov 08 2023 06:35 AM
Does this work with the "new" Teams? I think the new Teams supports multiple accounts but I want each account in a separate window.
May 19 2021 10:21 AM
SolutionTo fix the "Failed to get 'downloads' path" error, add the mkdir line as shown here:
https://gist.github.com/DanielSmon/cc3fa072857f0272257a5fd451768c3a