SOLVED

Multiple Instances of Microsoft Teams Application

%3CLINGO-SUB%20id%3D%22lingo-sub-1306051%22%20slang%3D%22en-US%22%3EMultiple%20Instances%20of%20Microsoft%20Teams%20Application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1306051%22%20slang%3D%22en-US%22%3E%3CP%3E%3CEM%3EMicrosoft%20Teams%20Application%20has%20always%20been%20improving%20based%20on%20the%20feature%E2%80%99s%20availability%20in%20the%20Teams%20Application.%20Microsoft%20has%20been%20enhancing%20the%20features%20some%20based%20on%20the%20existing%20Skype%20for%20Business%20Application%20and%20some%20based%20on%20the%20User%20Voice%20Request.%20%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EThere%20is%20already%20an%20ongoing%20User%20Voice%20Request%20to%20have%20multiple%20instances%20of%20Microsoft%20Teams%20on%20the%20Windows%20Machine.%20%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EThe%20major%20use%20of%20the%20multiple%20instances%20of%20Microsoft%20Teams%20Application%3A%20-%3C%2FSTRONG%3E%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3E%3CEM%3EBeing%20from%20the%20Support%20industry%20the%20people%20need%20to%20be%20logged%20into%20the%20corporate%20account%20and%20a%20test%20account%20for%20testing%20the%20features%20simultaneously%20%3C%2FEM%3E%3C%2FLI%3E%0A%3CLI%3E%3CEM%3ETo%20do%20multitasking%20project%20with%20multiple%20people%20viewing%20the%20desktop%20from%20two%20different%20people.%3C%2FEM%3E%3C%2FLI%3E%0A%3CLI%3E%3CEM%3EAttending%20Two%20Different%20Meeting%20at%20a%20same%20time%20wherein%20one%20of%20the%20meeting%20you%20are%20a%20silent%20participant%20or%20just%20the%20host%20of%20the%20meeting%3C%2FEM%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CSTRONG%3EDisadvantages%20of%20using%20multiple%20instances%20of%20Microsoft%20Teams%20Application%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3E%3CEM%3EMultiple%20Notification%20of%20Chat%20Messages%20Calls%20and%20Meeting%20Reminder%20sometimes%20becomes%20annoying.%3C%2FEM%3E%3C%2FLI%3E%0A%3CLI%3E%3CEM%3ESince%20you%20are%20using%20the%20multiple%20instances%20of%20the%20application%20you%20cannot%20download%20the%20documents%20or%20files%20from%20the%20second%20version%20as%20the%20first%20version%20is%20associated%20with%20your%20drive.%20We%20can%20always%20edit%20the%20document%20in%20the%20Microsoft%20Teams%20Application%20without%20any%20issues.%20%3C%2FEM%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CEM%3EHere%20is%20the%20link%20to%20the%20Source%20Code%3C%2FEM%3E%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3E%3CEM%3ECopy%20the%20below%20information%20and%20paste%20it%20in%20a%20notepad.%3C%2FEM%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CEM%3E%26nbsp%3B%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%40ECHO%20OFF%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%26nbsp%3B%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EREM%20Uses%20the%20file%20name%20as%20the%20profile%20name%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3ESET%20MSTEAMS_PROFILE%3D%25~n0%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EECHO%20-%20Using%20profile%20%22%25MSTEAMS_PROFILE%25%22%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%26nbsp%3B%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3ESET%20%22OLD_USERPROFILE%3D%25USERPROFILE%25%22%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3ESET%20%22USERPROFILE%3D%25LOCALAPPDATA%25%5CMicrosoft%5CTeams%5CCustomProfiles%5C%25MSTEAMS_PROFILE%25%22%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%26nbsp%3B%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EECHO%20-%20Launching%20MS%20Teams%20with%20profile%20%25MSTEAMS_PROFILE%25%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3Ecd%20%22%25OLD_USERPROFILE%25%5CAppData%5CLocal%5CMicrosoft%5CTeams%22%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%22%25OLD_USERPROFILE%25%5CAppData%5CLocal%5CMicrosoft%5CTeams%5CUpdate.exe%22%20--processStart%20%22Teams.exe%22%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%26nbsp%3B%3C%2FEM%3E%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3E%3CEM%3ESave%20the%20File%20with%20the%20name%20Profile.cmd%3C%2FEM%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CEM%3E%26nbsp%3B%3C%2FEM%3E%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3E%3CEM%3EOnce%20you%20have%20your%20Teams%20Application%20Running%20with%20one%20profile%20double%20click%20on%20the%20Batch%20File%20second%20instance%20of%20the%20application%20will%20be%20initiated%20automatically.%20You%20can%20login%20with%20same%20profile%20or%20different%20profile%20basis%20on%20your%20need.%3C%2FEM%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CEM%3E%26nbsp%3B%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EHere%20is%20the%20User%20Voice%20for%20the%20same.%20Please%20vote%20for%20the%20User%20Voice%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fmicrosoftteams.uservoice.com%2Fforums%2F555103-public%2Fsuggestions%2F17750851-i-want-to-use-multiple-teams-accounts-at-the-same%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmicrosoftteams.uservoice.com%2Fforums%2F555103-public%2Fsuggestions%2F17750851-i-want-to-use-multiple-teams-accounts-at-the-same%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1306051%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMSTeams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMultipleLogin%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Super Contributor

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: -

  1. Being from the Support industry the people need to be logged into the corporate account and a test account for testing the features simultaneously
  2. To do multitasking project with multiple people viewing the desktop from two different people.
  3. Attending Two Different Meeting at a same time wherein one of the meeting you are a silent participant or just the host of the meeting

Disadvantages of using multiple instances of Microsoft Teams Application

  1. Multiple Notification of Chat Messages Calls and Meeting Reminder sometimes becomes annoying.
  2. Since you are using the multiple instances of the application you cannot download the documents or files from the second version as the first version is associated with your drive. We can always edit the document in the Microsoft Teams Application without any issues.

Here is the link to the Source Code

  1. Copy the below information and paste it in a notepad.

 

@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"

 

  1. Save the File with the name Profile.cmd

 

  1. Once you have your Teams Application Running with one profile double click on the Batch File second instance of the application will be initiated automatically. You can login with same profile or different profile basis on your need.

 

Here is the User Voice for the same. Please vote for the User Voice

https://microsoftteams.uservoice.com/forums/555103-public/suggestions/17750851-i-want-to-use-multipl...

14 Replies
Bonjour,
Cela fonctionnait bien sur la version 32 bits, mais le script ne fonctionne plus sur la deuxieme instance depuis l installation de la version 64 bits. La deuxieme fenetre s ouvre aussi sur le premier compte....il y a t il un parametre a changer?

@Satish2805 

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

 

@Satish2805 

 

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.

@Satish2805 

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.

@Satish2805  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

@DeMa_cronos 

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:

Screenshot 2021-05-18 185158.png

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.

@Satish2805 

 

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 

Fabian_esquivel_0-1621382784870.png

 

please let me know if you have any clue how to solve this 

 

regards. 

best response confirmed by ThereseSolimeno (Microsoft)
Solution

To fix the "Failed to get 'downloads' path" error, add the mkdir line as shown here:
https://gist.github.com/DanielSmon/cc3fa072857f0272257a5fd451768c3a

Ravi_Bhushan_Singh_0-1621542593623.png

  I am getting error when i run this same is working in other system 

 

Thanks @tomlen Your comment was helpful. My problem is fixed now.
Big thanks to @tomlen It fix the problem.
Thanks @tomlen
Your solution has worked for me too!
Whoop Whoop!
A
Big Thanks, this has fixed the issue.