Commands for installing Mozilla Thunderbird without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With winget
PowerShell
winget install --id Mozilla.Thunderbird -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Mozilla.Thunderbird -e --silentwinget uninstall --id Mozilla.Thunderbird -e --silentBy installer
64-bit · EXE (NSIS) · All users
Silent install
"Thunderbird Setup 160.0.exe" /S /PreventRebootRequired=trueCustom folder
"Thunderbird Setup 160.0.exe" /S /PreventRebootRequired=true /D=C:\Apps\mozilla-thunderbird- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Thunderbird 160.0 (x64 en-US)
32-bit · EXE (NSIS) · All users
Silent install
"Thunderbird Setup 160.0.exe" /S /PreventRebootRequired=trueCustom folder
"Thunderbird Setup 160.0.exe" /S /PreventRebootRequired=true /D=C:\Apps\mozilla-thunderbird- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Thunderbird 160.0 (x86 en-US)
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-mozilla-thunderbird.ps1
$url = 'https://download-installer.cdn.mozilla.net/pub/thunderbird/releases/160.0/win64/en-US/Thunderbird%20Setup%20160.0.exe'
$sha256 = '27C75ECB78609505B1C89E139FA172B634C74EB1B5E823C49AEFEE15286111A0'
$file = Join-Path $env:TEMP 'Thunderbird Setup 160.0.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S /PreventRebootRequired=true' -Wait install-mozilla-thunderbird.ps1
$url = 'https://download-installer.cdn.mozilla.net/pub/thunderbird/releases/160.0/win32/en-US/Thunderbird%20Setup%20160.0.exe'
$sha256 = 'C85C8D61C0DF48992790D207F35EB695A865B1935878D89BE989C16DBA5A2F68'
$file = Join-Path $env:TEMP 'Thunderbird Setup 160.0.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S /PreventRebootRequired=true' -Wait