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:

2,409,857

Downloads of v 14.0.17213.0:

30,510

Last Update:

08 Dec 2017

Package Maintainer(s):

Software Author(s):

  • Microsoft

Tags:

sql server management studio ssms admin

SQL Server Management Studio 17.4

This is not the latest version of SQL Server Management Studio 17.4 available.

  • 1
  • 2
  • 3

14.0.17213.0 | Updated: 08 Dec 2017

Downloads:

2,409,857

Downloads of v 14.0.17213.0:

30,510

Maintainer(s):

Software Author(s):

  • Microsoft

SQL Server Management Studio 17.4 14.0.17213.0

This is not the latest version of SQL Server Management Studio 17.4 available.

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Exemption:

Exempted due to necessary KB update not being available.

Details

Scan Testing Exemption for this package version only:

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install SQL Server Management Studio 17.4, run the following command from the command line or from PowerShell:

>

To upgrade SQL Server Management Studio 17.4, run the following command from the command line or from PowerShell:

>

To uninstall SQL Server Management Studio 17.4, 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 sql-server-management-studio -y --source="'INTERNAL REPO URL'" --version="'14.0.17213.0'" [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 sql-server-management-studio -y --source="'INTERNAL REPO URL'" --version="'14.0.17213.0'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Install sql-server-management-studio
  win_chocolatey:
    name: sql-server-management-studio
    version: '14.0.17213.0'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'sql-server-management-studio' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '14.0.17213.0'
end

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


cChocoPackageInstaller sql-server-management-studio
{
    Name     = "sql-server-management-studio"
    Version  = "14.0.17213.0"
    Source   = "INTERNAL REPO URL"
}

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


package { 'sql-server-management-studio':
  ensure   => '14.0.17213.0',
  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

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

Package Approved

This package was approved as a trusted package on 08 Dec 2017.

Description

SQL Server Management Studio (SSMS) is an integrated environment for accessing, configuring, managing, administering, and developing all components of SQL Server. SSMS combines a broad group of
graphical tools with a number of rich script editors to provide developers and administrators of all skill levels access to SQL Server. This release features improved compatibility with previous versions of SQL Server,
a stand-alone web installer, and toast notifications within SSMS when new releases become available.

Version Number

This package is versioned using the published build number. The corresponding 'release number' is listed below in the Release Notes section.

Supported SQL Server versions

  • This version of SSMS works with all supported versions of SQL Server 2008 - SQL Server 2017 and provides the greatest level of support for working with the latest cloud features in Azure SQL Database and Azure SQL Data Warehouse.
  • There is no explicit block for SQL Server 2000 or SQL Server 2005, but some features may not work properly.
  • Additionally, SSMS 17.x can be installed side by side with SSMS 16.x or SQL Server 2014 SSMS and earlier.

Supported Operating systems

This release of SSMS supports the following 64-bit platforms when used with the latest available service pack:

  • Windows 10 (64-bit)
  • Windows 8.1 (64-bit)
  • Windows 8 (64-bit)
  • Windows 7 (SP1) (64-bit)
  • Windows Server 2016 *
  • Windows Server 2012 R2 (64-bit)
  • Windows Server 2012 (64-bit)
  • Windows Server 2008 R2 (64-bit)

* SSMS 17.X is based on the Visual Studio 2015 Isolated shell, which was released before Windows Server 2016. Microsoft takes app compatibility seriously and ensures that already-shipped applications continue to run on the latest Windows releases. To minimize issues running SSMS on Windows Server 2016, ensure SSMS has all of the latest updates applied. If you experience any issues with SSMS on Windows Server 2016, contact support. The support team determines if the issue is with SSMS, Visual Studio, or with Windows compatibility. The support team then routes the issue to the appropriate team for further investigation.


tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop';

$packageName= 'SQL Server Management Studio'
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$fullUrl = 'https://download.microsoft.com/download/0/A/E/0AE3B5C9-0D22-4EF3-B48A-73181A7F8EF7/SSMS-Setup-ENU.exe'
$fullChecksum = 'CD174C1C01FCDE5A992A6ACB12A5B21B44F88D595EFE646644E9A4797C52F1C4'

$upgradeUrl = 'https://download.microsoft.com/download/0/A/E/0AE3B5C9-0D22-4EF3-B48A-73181A7F8EF7/SSMS-Setup-ENU-Upgrade.exe'
$upgradeChecksum = 'DEE22963243345EBE96D10019C32D9EF2D31A40FDF2EDBC929ECD2B02E99FD8F'

$release = '17.4'

# Check if 17.0 is installed so we can get upgrade package instead of full package
$version17 = [version]"14.0.17099.0"
$ssms170 = Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion | Where-Object { $_.DisplayName -eq "SQL Server Management Studio" -and ([Version]$_.DisplayVersion) -ge $version17 }

$packageArgs = @{
  packageName   = $packageName
  unzipLocation = $toolsDir
  fileType      = 'EXE'
  url           = ''

  silentArgs    = "/quiet /install /norestart /log `"$env:TEMP\chocolatey\$($packageName)\$($packageName).MsiInstall.log`""
  validExitCodes= @(0, 3010, 1641)

  softwareName  = "SQL Server Management Studio - $release"
  checksum      = ''
  checksumType  = 'SHA256'
}

if ($ssms170) {
    Write-Warning "Existing install found, using upgrade installer"
    $packageArgs.url = $upgradeUrl
    $packageArgs.checksum = $upgradeChecksum
} else {
    $packageArgs.url = $fullUrl
    $packageargs.checksum = $fullChecksum
}

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
SQL Server Management Studio 18.11.1 15.0.18410.0 137179 Tuesday, March 15, 2022 Exempted
SQL Server Management Studio 18.10 15.0.18390.0 225191 Wednesday, October 13, 2021 Exempted
SQL Server Management Studio 18.9.2 15.0.18386.0 122849 Wednesday, July 21, 2021 Approved
SQL Server Management Studio 18.9.1 15.0.18384.0 141818 Friday, April 23, 2021 Approved
SQL Server Management Studio 18.8 15.0.18369.0 154522 Tuesday, December 22, 2020 Approved
SQL Server Management Studio 18.7.1 15.0.18358.0 82278 Friday, October 30, 2020 Approved
SQL Server Management Studio 18.6 15.0.18338.0 106418 Friday, July 24, 2020 Approved
SQL Server Management Studio 18.5.1 15.0.18333.0 46754 Wednesday, June 17, 2020 Approved
SQL Server Management Studio 18.5 15.0.18330.0 84969 Friday, April 10, 2020 Approved
SQL Server Management Studio 18.4 15.0.18206.0 110054 Tuesday, November 19, 2019 Approved
SQL Server Management Studio 18.3.1 15.0.18183.0 35763 Thursday, October 3, 2019 Approved
SQL Server Management Studio 18.2 15.0.18142.0 183 Thursday, October 3, 2019 Approved
SQL Server Management Studio 18.1 15.0.18131.0 99170 Friday, June 14, 2019 Approved
SQL Server Management Studio 18.0 15.0.18118.0 84764 Monday, April 29, 2019 Approved
SQL Server Management Studio 17.9.1 14.0.17289.1 347659 Wednesday, November 28, 2018 Approved
SQL Server Management Studio 17.9 14.0.17285.0 82017 Thursday, September 13, 2018 Approved
SQL Server Management Studio 17.8.1 14.0.17277.0 54393 Tuesday, July 10, 2018 Approved
SQL Server Management Studio 17.7 14.0.17254.0 48018 Friday, May 11, 2018 Approved
SQL Server Management Studio 17.6 14.0.17230.0 11551 Friday, March 30, 2018 Approved
SQL Server Management Studio 17.5 14.0.17224.0 28003 Friday, February 16, 2018 Approved
SQL Server Management Studio 17.4 14.0.17213.0 30510 Friday, December 8, 2017 Approved
SQL Server Management Studio 17.3 14.0.17199.0 24142 Thursday, October 12, 2017 Approved
SQL Server Management Studio 14.0.17177.0 32189 Tuesday, August 8, 2017 Approved
SQL Server Management Studio 14.0.17119.0 18493 Monday, May 29, 2017 Approved
SQL Server Management Studio 14.0.17099.20170503 3954 Wednesday, May 3, 2017 Approved
SQL Server Management Studio 14.0.17099.0 1375 Friday, April 28, 2017 Approved
SQL Server Management Studio 13.0.16106.4 14806 Saturday, January 28, 2017 Approved
SQL Server Management Studio 13.0.16105.4 737 Tuesday, January 24, 2017 Approved
SQL Server Management Studio 13.0.16100.1 1679 Tuesday, December 6, 2016 Approved
SQL Server Management Studio 13.0.16000.28 1924 Thursday, October 27, 2016 Approved
SQL Server Management Studio 13.0.15900.1 946 Friday, September 30, 2016 Approved
SQL Server Management Studio 13.0.15800.18 965 Wednesday, September 21, 2016 Approved
SQL Server Management Studio 13.0.15700.28 1672 Tuesday, August 16, 2016 Approved
SQL Server Management Studio 13.0.15600.2 1010 Monday, July 18, 2016 Approved
SQL Server Management Studio 13.0.15500.91 509 Thursday, July 7, 2016 Approved
SQL Server Management Studio 13.0.15000.23 570 Thursday, June 2, 2016 Approved
SQL Server Management Studio 13.0.14000.36-preview 514 Saturday, April 16, 2016 Exempted
SQL Server Management Studio 13.0.13000.55-preview 484 Saturday, April 2, 2016 Exempted
SQL Server Management Studio 13.0.12500.29-preview 495 Sunday, March 20, 2016 Exempted
SQL Server Management Studio 13.0.12000.65-preview 464 Tuesday, March 8, 2016 Exempted
SQL Server Management Studio 13.0.11000.78-preview 485 Tuesday, March 1, 2016 Exempted

SSMS 17.4

Generally available | Build number: 14.0.17213.0

What's new

General SSMS

Vulnerability Assessment:

  • Added a new SQL Vulnerability Assessment service to scan your databases for potential vulnerabilities and deviations from best practices, such as misconfigurations, excessive permissions, and exposed sensitive data.
  • Results of the assessment include actionable steps to resolve each issue and customized remediation scripts where applicable. The assessment report can be customized for each environment and tailored to specific requirements. Learn more at SQL Vulnerability Assessment.

SMO:

  • Fixed issue where HasMemoryOptimizedObjects was throwing exception on Azure.
  • Added support for new CATALOG_COLLATION feature.

Always On Dashboard:

  • Improvements for latency analysis in Availability Groups.
  • Added two new reports: AlwaysOn_Latency_Primary and AlwaysOn_Latency_Secondary.

Showplan:

  • Updated links to point to correct documentation.
  • Allow single plan analysis directly from actual plan produced.
  • New set of icons.
  • Added support for recognize "Apply logical operators" like GbApply, InnerApply.

XE Profiler:

  • Renamed to XEvent Profiler.
  • Stop/Start menu commands now stop/start the session by default.
  • Enabled keyboard shortcuts (for example, CTRL-F to search).
  • Added database_name and client_hostname actions to appropriate events in XEvent Profiler sessions. For the change to take effect, you may need to delete existing QuickSessionStandard or QuickSessionTSQL session instances on the servers - Connect 3142981

Command line:

  • Added a new command line option ("-G") that can be used to automatically have SSMS connect to a server/database using Active Directory Authentication (either 'Integrated' or 'Password'). For details, see Ssms utility.

Import Flat File Wizard:

  • Added a way to pick a schema name other than the default ("dbo") when creating the table.

Query Store:

  • Restored the "Regressed Queries" report when expanding the Query Store available reports list.

Integration Services (IS)

  • Added package validation function in Deployment Wizard, which helps the user figure out components inside SSIS packages that are not supported in Azure-SSIS IR.
Bug fixes

General SSMS

  • Object Explorer:
    • Fixed an issue where Table-Valued Function node was not showing up for database snapshots - Connect 3140161.
    • Improved performance when expanding Databases node when the server has autoclose databases.
  • Query Editor:
    • Fixed an issue where IntelliSense was failing for users that don't have access to the master database.
    • Fixed an issue that was causing SSMS to crash in some cases when the connection to a remote machine was closed - Connect 3142557.
  • XEvent Viewer:
    • Re-enabled functionality to export to XEL.
    • Fixed issues where in some cases the user was not able to load an entire XEL file.
  • XEvent Profiler:
    • Fixed an issue that was causing SSMS to crash when the user did not have VIEW SERVER STATE permissions.
    • Fixed an issue where closing the XE Profiler Live Data window did not stop the underlying session.
  • Registered Servers:
  • SMO:
    • Fixed an issue where the TransferData method on the Transfer object was not working.
    • Fixed an issue where Server databases throws exception for paused SQL DW databases.
    • Fixed an issue where scripting SQL database against SQL DW generated incorrect T-SQL parameter values.
    • Fixed an issue where scripting of a stretched DB incorrectly emitting the DATA_COMPRESSION option.
  • Job Activity Monitor:
    • Fixed an issue where the user was getting an "Index was out of range. Must be non-negative and less than the size of the collection.
      Parameter name: index (System.Windows.Forms)" error when trying to filter by Category - Connect 3138691.
  • Connection Dialog:
    • Fixed an issue where domain users without access to a Read/Write domain controller could not log in to a SQL Server using SQL Authentication - Connect 2373381.
  • Replication:
    • Fixed an issue where an error similar to "Cannot apply value 'null' to property ServerInstance" was displayed when looking at properties of a pull subscription in SQL Server.
  • SSMS Setup:
    • Fixed an issue where SSMS setup was incorrectly causing all the installed products on the machine to be reconfigured.
  • User Settings:
    • With this fix, US Government sovereign cloud users will have uninterrupted access to their Azure SQL Database and ARM resources with SSMS via Universal authentication and Azure Active Directory login. Users of prior versions of SSMS would need to open Tools|Options|Azure Services and under Resource Management change the configuration of the "Active Directory Authority" property to https://login.microsoftonline.us.

Analysis Services (AS)

  • Profiler: fixed an issue when trying to connect using Window Authentication against Azure AS.
  • Fixed an issue that could cause a crash when canceling connection details on a 1400 model.
  • When setting an Azure blob key in the connection properties dialog when refreshing credentials, it will now be visually masked.
  • Fixed an issue in the Azure Analysis Services User selection dialog to show the Application ID guid instead of the Object ID when searching.
  • Fixed an issue in the Browse Database\MDX query designer toolbar that caused the icons to be incorrectly mapped for some buttons.
  • Fixed an issue that prevented connecting to SSAS using msmdpump IIS http/https addresses.
  • Several strings in the Azure Analysis Services User Picker dialog have now been translated for additional languages.
  • MaxConnections property is now visible for data sources in tabular models.
  • Deployment Wizard will now generate correct JSON definitions for Azure AS role members.
  • Fixed an issue in SQL Profiler where selecting Windows Authentication against Azure AS would still prompt for login.

Discussion for the SQL Server Management Studio 17.4 Package

Ground Rules:

  • This discussion is only about SQL Server Management Studio 17.4 and the SQL Server Management Studio 17.4 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 SQL Server Management Studio 17.4, 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