Skip to content

Instantly share code, notes, and snippets.

@emiride
Created June 12, 2020 09:43
Show Gist options
  • Save emiride/a134080fcdf4cf8315069ba144ee3067 to your computer and use it in GitHub Desktop.
Save emiride/a134080fcdf4cf8315069ba144ee3067 to your computer and use it in GitHub Desktop.
Multiple Teams instances with bash script
@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"
@emiride
Copy link
Author

emiride commented Jun 12, 2020

  • Open Notepad
  • Paste the code inside
  • Save As AnyName.cmd
  • Double click on file and voila, you have one more Teams app

@abelduran1
Copy link

Hi, thank you. But this workaround is not working with the latest Teams version. I received the error in the image. Does anybody know why? Thanks in advance.

Untitled

@emiride
Copy link
Author

emiride commented May 11, 2021

I haven't tried it for quite some time. There is another workaround, but not as nice as this one. The only viable soultion I could find is something like this: https://bloggerz.cloud/2020/04/13/multiple-teams-apps-and-other-nifty-things/#:~:text=Install%20Teams%20website%20as%20an%20App&text=Open%20Microsoft%20Edge%20(yeah%2C%20the,app%20and%20you%20are%20done!

@abelduran1
Copy link

I haven't tried it for quite some time. There is another workaround, but not as nice as this one. The only viable soultion I could find is something like this: https://bloggerz.cloud/2020/04/13/multiple-teams-apps-and-other-nifty-things/#:~:text=Install%20Teams%20website%20as%20an%20App&text=Open%20Microsoft%20Edge%20(yeah%2C%20the,app%20and%20you%20are%20done!

Thank you, for your quick answer. Yes, this is a good solution, but the problem is with this app you have really the Web version, and not the Desktop version with all the functionalities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment