Running multiple instances of Microsoft Teams on your Windows PC can be invaluable when you need to access different accounts or participate in several meetings at once. Although Microsoft Teams doesn't natively support multiple accounts within the same application window, you can use a simple workaround to open multiple windows using a batch script.

Step 1: Open the Notepad application on your computer. You can quickly find it by typing "Notepad" into the search bar in the Start menu.

Step 2: Copy the following code and paste it into the Notepad window without making any changes.

@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

Step 3: After pasting the code, click on the 'File' menu in Notepad and select 'Save As...'.

Step 4: Save the file with a name ending in .cmd. For example, name it teams2.cmd. Ensure you save it in a location that's easy to remember.

Step 5: Launch the Microsoft Teams application on your PC if it's not already running, and keep it open.

Step 6: Open File Explorer and navigate to the folder where you saved the teams2.cmd file. With Microsoft Teams running in the background, double-click on the teams2.cmd file to execute it.

A Command Prompt window will briefly appear and then close automatically. It will look similar to this:

After the Command Prompt window closes, a new Microsoft Teams window will open on your screen.

Step 7: Sign in to this new Microsoft Teams window using a different Microsoft account. This allows you to operate multiple accounts simultaneously in separate Teams windows.

Here's how multiple Microsoft Teams windows look when running on a PC using this method:

Both instances of Microsoft Teams will continue to run in the background like any standard application.

Keep in mind that the second Teams instance isn't a separate installation on your PC. It's running from the files created by the batch script, so you won't find multiple installations of Teams on your system.

Step 8: If you close the second Teams window, you can reopen it at any time by running the teams2.cmd batch file again. Your login information will be saved, making it easy to access. Think of the batch file as a shortcut to launch the additional Teams instance.

How to create unlimited Microsoft Teams instances

You can create as many Teams instances as you need by duplicating the batch script and renaming it. The script assigns a unique profile to each instance based on the batch file's name. For example, you can copy the original script and name the copies teams3.cmd, teams4.cmd, and so on. Running these files will launch new Teams windows, each with its own profile and sign-in.

Remember to use the corresponding batch file to relaunch any of the additional Teams instances you've created. Naming each batch file after the organization or account it represents can help you keep track of multiple instances more easily.

Note that customizations such as adding custom backgrounds may not work with these additional Teams instances created through the batch script.


By following these steps, you can effectively manage multiple Microsoft Teams accounts on your Windows PC. This solution enables you to stay connected with different organizations or teams without needing to switch accounts constantly.