Downloads of v 12.2.0:


Last Update:

20 Nov 2020

Package Maintainer(s):

Software Author(s):

  • Sonos


sonos audio streaming

Sonos Controller S2

12.2.0 | Updated: 20 Nov 2020



Downloads of v 12.2.0:



Software Author(s):

  • Sonos

Sonos Controller S2 12.2.0

All Checks are Passing

2 Passing Test

Validation Testing Passed

Verification Testing Passed


To install Sonos Controller S2, run the following command from the command line or from PowerShell:


To upgrade Sonos Controller S2, run the following command from the command line or from PowerShell:


To uninstall Sonos Controller S2, run the following command from the command line or from PowerShell:


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

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • 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 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. Enter your internal repository url

(this should look similar to

4. Choose your deployment method:

choco upgrade sonos-controller -y --source="'STEP 3 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 sonos-controller -y --source="'STEP 3 URL'"

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

Exit $exitCode

- name: Ensure sonos-controller installed
    name: sonos-controller
    state: present
    version: 12.2.0
    source: STEP 3 URL

See docs at

Coming early 2020! Central Managment Reporting available now! More information...

chocolatey_package 'sonos-controller' do
  action    :install
  version  '12.2.0'
  source   'STEP 3 URL'

See docs at

    Name: sonos-controller,
    Version: 12.2.0,
    Source: STEP 3 URL

Requires Otter Chocolatey Extension. See docs at

cChocoPackageInstaller sonos-controller
   Name     = 'sonos-controller'
   Ensure   = 'Present'
   Version  = '12.2.0'
   Source   = 'STEP 3 URL'

Requires cChoco DSC Resource. See docs at

package { 'sonos-controller':
  provider => 'chocolatey',
  ensure   => '12.2.0',
  source   => 'STEP 3 URL',

Requires Puppet Chocolatey Provider module. See docs at

salt '*' chocolatey.install sonos-controller version="12.2.0" source="STEP 3 URL"

See docs at

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 22 Nov 2020.


Take total control of your home listening experience with the Sonos app. Play, control and explore your music, your way. Built for mobile, tablet and desktop, the Sonos app connects you to all the music on earth, all over your home. Version up to 11.x is Sonos Controller S1, beginning with 12.x it is Sonos Controller S2.

#Sonos Controller
#2016-2019 systeme + software, felix schwenk

$packageName	= 'sonos-controller'
$packageSearch  = 'Sonos Controller'
$installerType	= 'exe'
$version 		= '12.2'
$internalver    = '61.1.82310'
$url			= '' + $version.replace(".","") + '.exe'
$url64          = $url
$silentArgs		= '/s /v"/qn"'
$validExitCodes	= @(0,3010)
$checksum       = 'B1BC3F4358EE722D0AD79994D1C69F72E32F748467EE8F62E53D85FA7DAEEBA4'
$checksumType   = 'sha256'
$checksum64     = $checksum
$checksumType64 = $checksumType

$app = Get-ItemProperty -Path @('HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*',
                                'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*') `
		-ErrorAction:SilentlyContinue | Where-Object { $_.DisplayName -like $packageSearch }

if ($app -and ([version]$app.DisplayVersion -ge [version]$internalver)) {
    Write-Output $(
    'Sonos Controller is already installed. ' +
    'No need to download and install again.'
} else {
    Install-ChocolateyPackage $packageName $installerType $silentArgs $url $url64 `
		-checksum $checksum -checksumType $checksumType `
        -checksum64 $checksum64 -checksumType64 $checksumType64 `
        -validExitCodes $validExitCodes 
	Write-Verbose 'removing desktop shortcut'
    Remove-Item -Path "${env:PUBLIC}\Desktop\Sonos.lnk" -ErrorAction SilentlyContinue
$packageName    = 'sonos-controller'
$packageSearch  = 'Sonos Controller'

$app = Get-ItemProperty -Path @('HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*',
                                'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*' ) `
    -ErrorAction:SilentlyContinue | Where-Object { $_.DisplayName -like $packageSearch }

$app | ForEach-Object {
  $exe = $_.UninstallString | Select-String -Pattern ".*exe`"?$"
  $msi = $_.UninstallString | Select-String -Pattern "^MsiExec.*$"
  if ($exe) {
    $installerType = 'exe'
    $silentArgs = '/S'
    $validExitCodes = @(0)
    Uninstall-ChocolateyPackage -PackageName "$packageName" `
                                -FileType "$installerType" `
                                -SilentArgs "$($silentArgs)" `
                                -File "$($_.UninstallString)" `
                                -ValidExitCodes $validExitCodes
  if ($msi) {
    $installerType = 'msi'
    $silentArgs = '/quiet /qn /norestart'
    $validExitCodes = @(0,3010)
    Uninstall-ChocolateyPackage -PackageName "$packageName" `
                                -FileType "$installerType" `
                                -SilentArgs "$($_.PSChildName) $silentArgs" `
                                -ValidExitCodes $validExitCodes

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.

Version Downloads Last Updated Status
Sonos Controller S2 12.1.0 38377 Tuesday, October 6, 2020 Approved
Sonos Controller S2 12.0.5 20641 Saturday, September 12, 2020 Approved
Sonos Controller S2 12.0.3 47569 Wednesday, July 29, 2020 Approved
Sonos Controller S2 12.0.1 21948 Wednesday, July 1, 2020 Approved
Sonos Controller 12.0 13324 Friday, June 12, 2020 Approved
Sonos Controller 11.2 22 Wednesday, July 1, 2020 Approved
Sonos Controller 11.1 23157 Friday, April 24, 2020 Approved
Sonos Controller 11.0 17328 Wednesday, March 18, 2020 Approved
Sonos Controller 10.6.1 14458 Sunday, February 2, 2020 Approved

Update to 12.2.0 (61.1.82310)

This package has no dependencies.

Discussion for the Sonos Controller S2 Package

Ground Rules:

  • This discussion is only about Sonos Controller S2 and the Sonos Controller S2 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 Sonos Controller S2, 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