Telegram Desktop Silent Install (How-To Guide)

Telegram Desktop is an instant messaging application with a focus on speed and security. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Telegram Desktop from the command line using the EXE installer.

How to Install Telegram Desktop Silently

Telegram Desktop Silent Install (EXE)

  1. Navigate to: https://telegram.org/dl/desktop/win
  2. Download the tsetup.x.y.z.exe to a folder created at (C:\Downloads)
  3. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  4. Navigate to the C:\Downloads folder
  5. Enter the following command: tsetup.x.y.z.exe /VERYSILENT /NORESTART
  6. Press Enter

After a few moments you should see the Telegram Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:Telegram Desktop
Vendor:Telegram FZ-LLC
Architecture:x86_x64
Installer Type:EXE
Silent Install Switch:tsetup.x.y.z.exe /VERYSILENT /NORESTART
Silent Uninstall Switch:"%AppData%\Telegram Desktop\unins000.exe" /VERYSILENT /NORESTART
Download Link:https://telegram.org/dl/desktop/win
PowerShell Script:https://silentinstallhq.com/telegram-desktop-install-and-uninstall-powershell/
Detection Script:https://silentinstallhq.com/create-a-custom-detection-script-for-telegram-desktop-powershell/

The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download link provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.


Additional Configurations

Create a Telegram Desktop Installation Log File

The Telegram Desktop installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following commands to create a verbose log file with details about the installation.

tsetup.x.y.z.exe /VERYSILENT /NORESTART /LOG="%WINDIR%\Temp\Telegram-Install.log"

Change the Telegram Desktop Default Installation Directory

You can also change the default installation directory by using the following command line parameters. In this example, I’m installing Telegram Desktop to “C:\Program Files\Telegram Desktop”

tsetup.x.y.z.exe /DIR="C:\Program Files\Telegram Desktop" /VERYSILENT /NORESTART

Exclude Telegram Desktop Shortcut During Install

The Telegram Desktop installer creates a desktop shortcut by default. If you do not want the desktop shortcut, then you can run the following command line switches to exclude it.

Telegram Desktop Silent Install with No Desktop Shortcut

tsetup.x.y.z.exe /VERYSILENT /NORESTART /MERGETASKS=!desktopicon

How to Uninstall Telegram Desktop Silently

Check out the following posts for a scripted solution:

Telegram Desktop Install and Uninstall (PowerShell)
Telegram Desktop Silent Uninstall (PowerShell)
  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter the following command:

Telegram Desktop Silent Uninstall (EXE)

"%AppData%\Telegram Desktop\unins000.exe" /VERYSILENT /NORESTART

Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.