Chocolatey Community Coffee Break

Join the Chocolatey Team on our regular monthly stream where we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Announcing Chocolatey Central Management 0.10.0

Livestream from
Thursday, 06 October 2022

We recently released our largest update to Chocolatey Central Management so far. Join Gary and Steph to find out more about Chocolatey Central Management and the new features and fixes we've added to this release.

Watch On-Demand
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand
Chocolatey Product Spotlight: Chocolatey 1.2.0 and Chocolatey Licensed Extension 5.0.0

Livestream from
Thursday, 03 November 2022

Join Paul and Gary for this months Chocolatey product livestream where we look at the latest release of Chocolatey 1.2.0, Chocolatey Licensed Extension 5.0.0 and shine a spotlight on the new hook scripts functionality. This opens up so many possibilities for Chocolatey CLI users!

Watch On-Demand
Chocolatey Coding Livestream

Livestream from
Tuesday, 29 November 2022

Join Josh as he adds the ability to manage Chocolatey GUI config and features with the Chocolatey Ansible Collection.

Watch On-Demand
Introduction into Chocolatey with Veeam

Webinar from
Tuesday, 13 December 2022

Join Gary, Paul, and Maurice as they introduce and demonstrate how to use Chocolatey! Questions will be answered live in an Ask Me Anything format.

Watch On-Demand

Downloads:

22,007,292

Downloads of v 1.6.0.24078:

87,493

Last Update:

16 Sep 2023

Package Maintainer(s):

Software Author(s):

  • Microsoft Corporation

Tags:

microsoft-teams teams office 365 chat collaboration slack admin

Microsoft Teams Desktop App (Machine-Wide Install)

  • 1
  • 2
  • 3

1.6.0.24078 | Updated: 16 Sep 2023

Downloads:

22,007,292

Downloads of v 1.6.0.24078:

87,493

Maintainer(s):

Software Author(s):

  • Microsoft Corporation

Microsoft Teams Desktop App (Machine-Wide Install) 1.6.0.24078

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Investigate

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Microsoft Teams Desktop App (Machine-Wide Install), run the following command from the command line or from PowerShell:

>

To upgrade Microsoft Teams Desktop App (Machine-Wide Install), run the following command from the command line or from PowerShell:

>

To uninstall Microsoft Teams Desktop App (Machine-Wide Install), run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade microsoft-teams.install -y --source="'INTERNAL REPO URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade microsoft-teams.install -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install microsoft-teams.install
  win_chocolatey:
    name: microsoft-teams.install
    version: '1.6.0.24078'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'microsoft-teams.install' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '1.6.0.24078'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller microsoft-teams.install
{
    Name     = "microsoft-teams.install"
    Version  = "1.6.0.24078"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'microsoft-teams.install':
  ensure   => '1.6.0.24078',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

NOTE

This package is likely a meta/virtual (*) or an installer (*.install) or portable (*.portable) application package.

  • Meta/virtual (*) - has a dependency on the *.install or the *.portable package - it is provided for discoverability and for other packages to take a dependency on.
  • Portable (*.portable/*.commandline (deprecated naming convention)/*.tool (deprecated naming convention)) - usually zips or archives that require no administrative access to install.
  • Install (*.install/*.app (deprecated naming convention)) - uses native installers, usually requires administrative access to install.

Learn more about chocolatey's distinction of installed versus portable apps and/or learn about this kind of package.

WARNING

This package is exempt from moderation. While it is likely safe for you, there is more risk involved.

Description

Microsoft Teams is a messaging app for teams where all conversations, meetings, files, and notes can be accessed by everyone, all in one place. It's a place for collaboration and work to happen in the open.

Here's why you should use it:

  • It's great.
  • It makes communicating one-on-one and with groups a snap.
  • Collaboration happens in real time.
  • Everything your team cares about (all your files, docs, contact info, and more) is in once place.

This package installs Microsoft Teams for all users using the MSI installer.

The Teams MSI will place an installer in Program Files. Whenever a user signs into a new Windows User Profile, the installer will be launched and a copy of the Teams app will be installed in that user's AppData folder. If a user already has the Teams app installed in the AppData folder, the MSI installer will skip the process for that user.

See https://docs.microsoft.com/en-us/MicrosoftTeams/msi-deployment for more information about how the MSI installer works (and is different to a regular Teams install).

Package Specific

Package Parameters

The following package parameters can be set:

  • /AllUser - When you set this parameter, Teams Machine-Wide Installer appears in Programs and Features in Control Panel and in Apps & Machine-wide installer for VDI/WVD sessionhost.
  • /AllUsers - When you set this parameter, Teams Machine-Wide Installer appears in Programs and Features in Control Panel and in Apps & features in Windows Settings for all users of the computer. All users can then uninstall Teams if they have admin credentials on the computer.
  • /NoAutoStart - When a user logs in to Windows, Teams is installed with the MSI and a shortcut to start Teams is added to the user's desktop. Teams won't start until the user manually starts Teams. After the user manually starts Teams, Teams automatically starts whenever the user logs in.

To pass parameters, use --params "''" (e.g. choco install packageID [other options] --params="'/ITEM:value /ITEM2:value2 /FLAG_BOOLEAN'").

eg.

choco install microsoft-teams.install --params "'/AllUsers /NoAutoStart'"

To have choco remember parameters on upgrade, be sure to set choco feature enable -n=useRememberedArgumentsForUpgrades.

Package updates

New versions of this package are published automatically via the update.ps1 script (viewable in the package source on GitHub).


tools\chocolateybeforemodify.ps1
# To avoid "WARNING: This MSI requires uninstall prior to installing a different version.",
# we uninstall here

$ErrorActionPreference = 'Stop'; # stop on all errors
$packageArgs = @{
  packageName   = $env:ChocolateyPackageName
  softwareName  = 'Teams Machine-Wide Installer'
  fileType      = 'MSI' #only one of these: MSI or EXE (ignore MSU for now)
  # MSI
  silentArgs    = "/qn /norestart"
  validExitCodes= @(0, 3010, 1605, 1614, 1641) # https://msdn.microsoft.com/en-us/library/aa376931(v=vs.85).aspx
}

[array]$key = Get-UninstallRegistryKey -SoftwareName $packageArgs['softwareName']

if ($key.Count -eq 1) {
  $key | ForEach-Object { 
    $packageArgs['file'] = "$($_.UninstallString)"
    
    if ($packageArgs['fileType'] -eq 'MSI') {
      $packageArgs['silentArgs'] = "$($_.PSChildName) $($packageArgs['silentArgs'])"
      $packageArgs['file'] = ''
    }

    Uninstall-ChocolateyPackage @packageArgs
  }
} elseif ($key.Count -eq 0) {
  Write-Warning "$packageName has already been uninstalled by other means."
} elseif ($key.Count -gt 1) {
  Write-Warning "$($key.Count) matches found!"
  Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
  Write-Warning "Please alert package maintainer the following keys were matched:"
  $key | ForEach-Object {Write-Warning "- $($_.DisplayName)"}
}
tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop';

$packageName= 'microsoft-teams.install'
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url32      = 'https://statics.teams.cdn.office.net/production-windows/1.6.00.24078/Teams_windows.msi'
$url64      = 'https://statics.teams.cdn.office.net/production-windows-x64/1.6.00.24078/Teams_windows_x64.msi'
$checksum32 = '1b6ea4c3c33136eb1cce5a92c75f6f3464941cd5a7cf980762e003aa7c554c1f'
$checksum64 = '300fbde2a7254d7a85eb0ce8c1ae338d46ad5275eda2ab82419c053ee6757183'

$packageArgs = @{
  packageName   = $packageName
  unzipLocation = $toolsDir
  fileType      = 'MSI'
  url           = $url32
  url64bit      = $url64

  softwareName  = 'Teams Machine-Wide Installer'

  checksum      = $checksum32
  checksumType  = 'sha256'
  checksum64    = $checksum64
  checksumType64= 'sha256'

  silentArgs    = "/qn /norestart /l*v `"$($env:TEMP)\$($packageName).$($env:chocolateyPackageVersion).MsiInstall.log`"" # ALLUSERS=1 DISABLEDESKTOPSHORTCUT=1 ADDDESKTOPICON=0 ADDSTARTMENU=0
  validExitCodes= @(0, 3010, 1641)
}

$pp = Get-PackageParameters

if ($pp['NoAutoStart']) {
  $packageArgs.silentArgs += ' OPTIONS="noAutoStart=true"'
}

if ($pp['AllUsers']) {
  $packageArgs.silentArgs += ' ALLUSERS=1'
}

#Machine Wide installaer VDI/WVD
if ($pp['AllUser']) {
  $packageArgs.silentArgs += ' ALLUSER=1'
  reg add "HKLM\SOFTWARE\Microsoft\Teams" /v IsWVDEnvironment /t REG_DWORD /d 1 /f
}

Install-ChocolateyPackage @packageArgs

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Microsoft Teams Desktop App (Machine-Wide Install) 1.6.0.22378 490866 Saturday, August 19, 2023 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.6.0.20074 122983 Tuesday, August 8, 2023 Exempted
Microsoft Teams Desktop App (Machine-Wide Install) 1.6.0.18681 640119 Thursday, July 13, 2023 Exempted
Microsoft Teams Desktop App (Machine-Wide Install) 1.6.0.16472 372250 Thursday, June 22, 2023 Exempted
Microsoft Teams Desktop App (Machine-Wide Install) 1.6.00.12455 239672 Thursday, June 8, 2023 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.6.00.11166 263676 Saturday, May 6, 2023 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.6.00.6754 396756 Saturday, April 1, 2023 Exempted
Microsoft Teams Desktop App (Machine-Wide Install) 1.6.00.4472 313433 Monday, March 13, 2023 Exempted
Microsoft Teams Desktop App (Machine-Wide Install) 1.6.00.1381 456728 Wednesday, February 8, 2023 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.6.00.376 78936 Thursday, February 2, 2023 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.5.00.36367 174769 Wednesday, January 18, 2023 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.5.00.33362 36497 Wednesday, December 14, 2022 Exempted
Microsoft Teams Desktop App (Machine-Wide Install) 1.5.00.31168 554877 Thursday, November 17, 2022 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.5.00.28567 193608 Wednesday, November 2, 2022 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.5.00.28361 134771 Thursday, October 20, 2022 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.5.00.21668 619106 Wednesday, August 31, 2022 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.5.00.21463 986051 Thursday, August 11, 2022 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.5.00.17656 1544462 Wednesday, July 6, 2022 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.5.00.14473 979383 Saturday, June 11, 2022 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.5.00.12969 287428 Saturday, June 4, 2022 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.5.00.11163 969182 Wednesday, May 11, 2022 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.5.00.9163 701118 Wednesday, April 20, 2022 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.5.00.8070 690134 Wednesday, March 30, 2022 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.5.00.5967 585324 Friday, March 11, 2022 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.5.00.4689 407606 Saturday, February 26, 2022 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.5.00.2164 391880 Sunday, February 13, 2022 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.4.00.35564 452266 Thursday, January 27, 2022 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.4.00.32771 843691 Thursday, December 16, 2021 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.4.00.31569 264020 Friday, December 3, 2021 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.4.00.29469 571597 Friday, November 5, 2021 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.4.00.26376 683724 Thursday, September 30, 2021 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.4.00.22976 116 Friday, September 24, 2021 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.4.00.22472 607712 Saturday, August 28, 2021 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.4.00.19572 532491 Tuesday, July 27, 2021 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.4.00.16575 404516 Thursday, July 1, 2021 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.4.00.11161 708618 Tuesday, May 18, 2021 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.4.00.8872 480532 Thursday, April 8, 2021 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.4.00.7174 140659 Thursday, March 25, 2021 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.4.00.4167 230088 Saturday, February 27, 2021 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.4.00.2879 131807 Saturday, February 6, 2021 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.4.00.2781 47761 Saturday, January 30, 2021 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.3.00.34662 42012 Saturday, January 23, 2021 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.3.00.28779 398249 Saturday, November 7, 2020 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.3.00.26064 160973 Wednesday, October 14, 2020 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.3.00.24755 460662 Friday, September 25, 2020 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.3.00.21759 513997 Saturday, August 22, 2020 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.3.00.19173 197285 Friday, July 24, 2020 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.3.00.13565 393509 Thursday, June 4, 2020 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.3.00.12058 162125 Thursday, May 7, 2020 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.3.00.8663 102842 Thursday, April 16, 2020 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.3.00.4461 91157 Wednesday, March 25, 2020 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.3.00.3564 95107 Saturday, February 29, 2020 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.3.00.362 93576 Friday, January 31, 2020 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.2.00.34161 94380 Wednesday, December 18, 2019 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.2.00.27559 80508 Tuesday, November 5, 2019 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.2.00.26774 22675 Saturday, October 19, 2019 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.2.00.24753 52966 Friday, September 20, 2019 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.2.00.22654 28394 Friday, September 6, 2019 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.2.00.21068 32966 Wednesday, August 21, 2019 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.2.00.19260 34761 Friday, August 2, 2019 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.2.00.17057 52221 Wednesday, July 3, 2019 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.2.00.13765 24132 Wednesday, June 5, 2019 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.2.00.8864 23970 Thursday, April 18, 2019 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.2.00.7161 7255 Friday, April 5, 2019 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.2.00.4664 12534 Thursday, March 7, 2019 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.2.00.1758 1960 Friday, January 25, 2019 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.1.00.31860 1188 Sunday, December 9, 2018 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.1.00.29068 1077 Saturday, November 10, 2018 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.1.00.28562 502 Tuesday, October 30, 2018 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.1.00.25457 845 Tuesday, October 2, 2018 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.1.00.24759 516 Thursday, September 13, 2018 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.1.00.19257 831 Saturday, August 4, 2018 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.1.00.18052 654 Friday, July 13, 2018 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.1.00.17553 519 Friday, July 6, 2018 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.1.00.16255 310 Saturday, June 23, 2018 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.1.00.14359 431 Wednesday, June 13, 2018 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.1.00.13555 520 Friday, May 25, 2018 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.1.00.10955 302 Saturday, May 5, 2018 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.1.00.7855 319 Monday, April 23, 2018 Approved
Microsoft Teams Desktop App (Machine-Wide Install) 1.1.00.5966 356 Wednesday, April 4, 2018 Approved

Discussion for the Microsoft Teams Desktop App (Machine-Wide Install) Package

Ground Rules:

  • This discussion is only about Microsoft Teams Desktop App (Machine-Wide Install) and the Microsoft Teams Desktop App (Machine-Wide Install) package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Microsoft Teams Desktop App (Machine-Wide Install), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus