Forum Discussion
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: -
- Being from the Support industry the people need to be logged into the corporate account and a test account for testing the features simultaneously
- To do multitasking project with multiple people viewing the desktop from two different people.
- 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
- Multiple Notification of Chat Messages Calls and Meeting Reminder sometimes becomes annoying.
- 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
- 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"
- Save the File with the name Profile.cmd
- 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
To fix the "Failed to get 'downloads' path" error, add the mkdir line as shown here:
https://gist.github.com/DanielSmon/cc3fa072857f0272257a5fd451768c3a
22 Replies
- Wayne_ErflingCopper ContributorMy use case is to be able to have an instance open in two or more Windows "Desktop"s, preferably with different chats and other content selected.
Three years after the original posting, is there a "best way" or any way to have multiple instances of Teams? especially "(new) Teams" ? - ry01Copper Contributor
Does this work with the "new" Teams? I think the new Teams supports multiple accounts but I want each account in a separate window.
- DeMa_cronosCopper Contributor
That would be very interesting for me too. Unfortunately, RealTime_M365's script only works with Teams classic, but not with Teams NEW. - robbyHuelsiCopper Contributor+1
- carlintveldCopper ContributorIn the meanwhile Microsoft has migrated feature requests to another platform. Can you share an updated link? It would be so cool if Microsoft were to adapt some kind of tenant federation. Just put all chats and groups in the same view across all tenants. But then, what about data protection 🙂
- ca_bhushanCopper Contributor
RealTime_M365 This works but unfortunately, how do I log in to another business account, because I am already logged in.
- toofaanCopper ContributorThis worked like a charm. Thanks so much!
- chaoscreater1560Copper Contributor
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.
- Ravi_Bhushan_SinghCopper Contributor
I am getting error when i run this same is working in other system
- tomlenCopper Contributor
To fix the "Failed to get 'downloads' path" error, add the mkdir line as shown here:
https://gist.github.com/DanielSmon/cc3fa072857f0272257a5fd451768c3a- Saurabh27Copper ContributorBig Thanks, this has fixed the issue.
- abbs55Copper Contributor
- DeMa_cronosCopper ContributorBig thanks to tomlen It fix the problem.
- Fabian_esquivelCopper Contributor
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.
- DeeAuCopper Contributor
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