Skip to content

Instantly share code, notes, and snippets.

@DanielSmon
Last active July 16, 2025 12:23
Show Gist options
  • Save DanielSmon/cc3fa072857f0272257a5fd451768c3a to your computer and use it in GitHub Desktop.
Save DanielSmon/cc3fa072857f0272257a5fd451768c3a to your computer and use it in GitHub Desktop.
For running multiple MS Teams accounts side by side. Save this with the name of the MS Teams profile you wish to use. When launched, a folder will be created in your user profile. See https://danielsmon.com/2020/04/02/multiple-ms-teams-accounts-on-the-desktop/.
@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%"
REM Ensure there is a downloads folder to avoid error described at
REM https://gist.github.com/DanielSmon/cc3fa072857f0272257a5fd451768c3a
mkdir "%LOCALAPPDATA%\Microsoft\Teams\CustomProfiles\%MSTEAMS_PROFILE%\Downloads"
REM Fixes missing "Desktop" folder
mkdir "%LOCALAPPDATA%\Microsoft\Teams\CustomProfiles\%MSTEAMS_PROFILE%\Desktop"
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"
@jmakowet
Copy link

jmakowet commented Jul 2, 2025

Hi there.
I’ve read through all of this and am hoping someone can help me some more with this.

I am an online high school teacher and since Skype is no longer, I’m in need of a video chat app that will allow me to have multiple video sessions happening at the same time that I can bounce back and forth with.

The issue I have with Teams/Zoom is that I can only have one session going and if I put the students into breakout rooms, they can see when I enter or exit their room, which is not good when I’m monitoring them taking a test (they will know if I’m not “there” and could cheat).

I am looking for one of two things: either a way to do the breakout room or something similar so that they don’t know when I enter or leave, or where I can create completely separate video “calls” so that there is no connection between them and are running simultaneously.

After reading all of the info in this chat, I feel this could be a solution; but even though I’m confident with tech, there are parts of this that are beyond me or need more info that I believe everyone here already understands.

Is there a way that someone would be willing to create instructions on how to exactly do all of this, as if I was a 10 year old lol? For example, where do I type all the script?

If this is something that I should not attempt due to my lack of background tech knowledge, please let me know.

Thank you for considering this
Janelle

@DanielSmon
Copy link
Author

Hey @jmakowet, sorry I don't have a clear solution for you. Hopefully someone else might be able to chime in. I haven't had a need for this for some time, and it seems that the way MS Teams works has changed since I set this up. If it still works, it may be an option.

Otherwise, have you tried simply connecting one via the web and one via desktop? The only thing I'm not sure about is whether it would let you join with the same account, or whether you'd need multiple. Good luck!

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