-
-
Save DanielSmon/cc3fa072857f0272257a5fd451768c3a to your computer and use it in GitHub 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" |
Hi everyone, It seems like there has been made changes to Teams (Microsoft Teams version 24060.2623.2790.8046), and this excellent script does not work anymore:
The update.exe seems to have been removed and a new method deployed.
Any ideas how to modify to the new Teams?
Ideally there is no reason to run a second instance of Teams since the new teams allows you to connect to multiple work accounts at the same time. Moreover, outlook now allows you to choose which teams account you want to create the meeting from.
Hi everyone, It seems like there has been made changes to Teams (Microsoft Teams version 24060.2623.2790.8046), and this excellent script does not work anymore:
The update.exe seems to have been removed and a new method deployed.
Any ideas how to modify to the new Teams?Ideally there is no reason to run a second instance of Teams since the new teams allows you to connect to multiple work accounts at the same time. Moreover, outlook now allows you to choose which teams account you want to create the meeting from.
Hi @Sudipkumarc
You are right that the new version can handle several logins, as was the old version of teams. I believe that this script was created in order to have several accounts open at any given time.
As @sebastienbo states, it is not possible to look in both accounts simultaneously, and hence this annoying feature has been reintroduced by MS.
Has anyone found a method for running more than 1 instance of the teams app simultaneously?
I am having the same issue. I have recently joined a project and I was invited to several channels for the new project in another organization, I don't see anything unless I switch the organization, but then I miss the notification from my own organization.
I have been surfing the web for a solution, but nothing works. It seems that the "CustomProfiles" aren't there anylong.
I played around with this again. Script still works for Teams Classic. The "New Teams" is a UWP app and I didn't find a way to open a second window.
As an alternative you can create multiple profiles in Firefox or Chrome and open a Teams instance in each browser instance
Hi everyone,

It seems like there has been made changes to Teams (Microsoft Teams version 24060.2623.2790.8046), and this excellent script does not work anymore:
The update.exe seems to have been removed and a new method deployed.
Any ideas how to modify to the new Teams?