Forum Discussion

RealTime_M365's avatar
Apr 14, 2020
Solved

Multiple Instances of Microsoft Teams Application

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-multiple-teams-accounts-at-the-same

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

22 Replies

  • Ranga__r's avatar
    Ranga__r
    Copper Contributor

    RealTime_M365 

     

    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.

    • abbs55's avatar
      abbs55
      Copper Contributor

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

  • DeMa_cronos's avatar
    DeMa_cronos
    Copper Contributor

    RealTime_M365 

    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

     

    • MracAntonius's avatar
      MracAntonius
      Copper Contributor

      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:

      • DeMa_cronos's avatar
        DeMa_cronos
        Copper Contributor

        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.

  • Raphael0106's avatar
    Raphael0106
    Copper Contributor
    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?

Resources