Create unlimited instances of Microsoft Teams app on your PC
Microsoft hasn’t yet added support multiple accounts in Microsoft Teams. If you have a pressing need of running multiple Microsoft Teams accounts for your projects, there’s an easy hack which lets users run multiple Windows of Microsoft Teams app on a Windows PC.
By running multiple Microsoft Teams app instances on your PC, you’ll be able to use multiple accounts or participate in multiple video meetings at the same on Microsoft Teams.
To get started, first, open the ‘Notepad’ app on your PC. Search for it in the Start menu to quickly find and open the app.
Then, copy and paste the code below into the Notepad window. Do not modify it in any way.
@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"
Code by Satish Upadhyaya
After pasting the code, click on ‘File’ on the Notepad toolbar and select the ‘Save As…’ option.
Then, save the file with a name ending with
.cmd extension. To show you by example, we’ll save the file with the name
teams2.cmd. Be sure to save the file to a location that you can remember.
Now, open Microsoft Teams app on your PC if it isn’t already open. Keep it running.
Open File Explorer and browse to the directory where you saved the
teams2.cmd file in the steps above. Then, double-click/run the
teams2.cmd batch file while Microsoft Teams app is running in the background.
A command prompt window will open for a split second and then close automatically. It’ll look like this:
Right after the command window closes, a new Microsoft Teams app window will show on your computer.
Sign-in with a different Microsoft account in the second instance of the app to be able to use multiple accounts in multiple windows of Microsoft Teams app.
Here’s a screenshot of multiple Microsoft Teams Windows running on our PC using the above-mentioned batch file.
Both instances of the Microsoft Teams app will run in the background too like any other app.
However, the second instance of the app isn’t actually installed on your PC. It’s running off some file created by the batch script, and hence you won’t actually find two instances of the app installed on your system.
If you quit the second instance of Microsoft Teams app, you can quickly launch it again by running the
teams2.cmd batch file again. It’ll have your login saved as the usual Microsoft Teams app does. Consider the batch file as your shortcut to launch the second instance of the app.
How to Create Unlimited Microsoft Teams Instances
You can use the
.cmd batch file to create as many Microsoft Teams instances on your PC as you wish.
What the batch script actually does is create a profile for Microsoft Teams based on the name of the batch file, which in the example above, we set to
teams2.cmd. You can create multiple similar batch scripts with different names like
teams5.cmd, and so on. Then, use the batch files to launch and save any number of Microsoft Teams instances on your PC.
And remember this, the shortcut for re-launching any of the Microsoft Teams instances you create is the same batch file that you use to create it.
If you’re gonna run many instances of the Teams app, we suggest you name the batch file in relation to the Organization for which it is created or the Microsoft account email or name to make it easier for you to recognize and launch the instances later.
In case you were wondering, any manual customizations like adding your own custom backgrounds to Microsoft Teams won’t work with the app instances created by the batch script.