How to Create Second Instance of Telegram on Windows

Abstract: Resolve the inability to run multiple Telegram accounts simultaneously on Windows by using the --workdir flag to create isolated instances.

Created: 2026-10-13 by
You can create a second instance of Telegram on Windows by launching the application with the --workdir flag, which directs the program to use a separate data directory. This method allows you to log into multiple accounts simultaneously without switching between them in a single window. By specifying a unique folder for each instance, Telegram treats them as independent applications, enabling parallel operation for personal and work accounts.

Understanding the Workdir Parameter

The core mechanism behind running multiple instances relies on the --workdir command-line argument. By default, Telegram stores all user data, including settings, caches, and session keys, in a specific location within your user profile. When you launch the standard executable, it checks this default path to load the existing session. If you want a second instance, you must tell the application to look elsewhere for its data. The --workdir flag solves this by pointing the software to a custom directory. This ensures that the new instance does not conflict with the primary one, effectively isolating the two environments. This approach is robust because it does not require modifying system registry entries or using third-party wrappers. It is a native feature supported by the desktop client on Windows.

Step-by-Step Guide to Creating the Second Instance

To set up the second instance, you need to prepare a dedicated folder and modify the shortcut properties. Follow these steps carefully to ensure the process works correctly.
  1. Create a New Directory: Navigate to a location where you store your Telegram files, such as C:\Telegram\. Create a new folder named something distinct, like Telegram_Second. This folder will hold all the data for your secondary account.
  2. Locate the Executable: Find the original Telegram shortcut on your desktop or in your Start Menu. Right-click on it and select Properties.
  3. Edit the Target Field: In the Properties window, locate the Target field. This field contains the path to the TG.exe file. You need to append the workdir parameter to the end of this path. Ensure there is a space before the parameter. The format should look like this: "C:\Path\To\TG.exe" --workdir "C:\Telegram\Telegram_Second".
  4. Save the Shortcut: Click OK to save the changes. You now have a new shortcut that launches a separate instance.
  5. Launch the Instance: Double-click the new shortcut. Telegram will start in a new window, asking you to log in. Use your second account credentials here.
This process creates a fully functional second instance. You can repeat these steps to create additional instances if needed, simply by creating more folders and adjusting the target path accordingly. Each instance operates independently, meaning notifications, chats, and settings are completely separated. This is particularly useful for users who manage both personal and professional communications on the same device. For those interested in optimizing other aspects of their Windows experience, such as browser performance, you might find Troubleshooting Chrome and Brave Browser Lagging in Windows 11 helpful for maintaining overall system efficiency.

Managing Multiple Accounts Efficiently

Running multiple instances offers significant advantages over logging out and logging back in. With separate windows, you can receive notifications from both accounts simultaneously. This eliminates the risk of missing important messages while switching contexts. Additionally, you can drag and drop files between the two windows easily, streamlining workflows that involve sharing documents across different groups or contacts. However, managing multiple instances requires careful attention to disk usage. Each instance stores its own cache and media files. Over time, these folders can grow significantly in size. It is advisable to periodically clear the cache within each instance to prevent excessive storage consumption. You can do this through the settings menu of each Telegram window. Navigate to Settings > Data and Storage > Storage Usage and clear the cached media. Another consideration is the startup behavior. By default, Windows may try to restore previously open windows upon reboot. If you close both instances before shutting down, they will not reopen automatically. If you wish to keep them open, you may need to adjust your taskbar pinning preferences or use startup programs to launch the shortcuts automatically. This ensures that both accounts are ready for use immediately after booting your computer.

Troubleshooting Common Issues

While the --workdir method is generally reliable, users may encounter a few common issues. One frequent problem is forgetting to add the space before the --workdir flag. Without the space, Windows interprets the entire string as part of the executable path, resulting in an error. Always verify that there is a clear separation between the executable path and the flags. Another issue arises if the specified workdir folder does not exist. Telegram will fail to launch if the directory is missing. Ensure that the folder path in the shortcut target matches the actual location of the folder you created. If you move the folder later, remember to update the shortcut target accordingly. In some cases, antivirus software might flag unusual behavior when launching multiple instances. While rare, it is best to add an exception for the Telegram executable if you experience false positives. This ensures that your security software does not interfere with the legitimate operation of the secondary instance.

Frequently Asked Questions

Can I run Telegram on Android and Windows simultaneously?

Yes, you can run Telegram on both platforms at the same time. The desktop and mobile apps communicate via the cloud, so any action taken on one device is reflected on the others. This allows you to use your phone for calls while managing chats on your PC.

Does using a second instance affect battery life on laptops?

Running multiple instances increases CPU and memory usage slightly. This can lead to marginally faster battery drain compared to running a single instance. However, the impact is usually minimal unless you are actively downloading large files or streaming media in both windows.

How do I delete a second instance if I no longer need it?

To remove a second instance, simply delete the associated folder containing the workdir data. You should also delete the corresponding shortcut from your desktop or start menu. This clears all local data for that specific account from your computer.

Is it possible to sync history between two instances?

No, each instance maintains its own separate database. History, settings, and cached files are not shared between instances. If you need to transfer data, you must manually copy files or re-login to the account on the desired instance.

What happens if I change the name of the workdir folder?

If you rename the folder, the existing shortcut will break because the path no longer exists. You must update the --workdir path in the shortcut properties to point to the new folder name. The old data will remain in the renamed folder until you delete it manually.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More