Wingetlywingetly
← All apps

Microsoft SQL Server Management Studio 21

by Microsoft Corporationv21.6.17

Last updated

SQL Server Management Studio (SSMS) is an integrated environment for managing any SQL infrastructure.

Install with winget

$ winget install --id Microsoft.SQLServerManagementStudio.21 --exact --version 21.6.17

Run in Command Prompt, PowerShell, or Windows Terminal. Prompts for any agreements.

Silent install command for Microsoft SQL Server Management Studio 21

Microsoft SQL Server Management Studio 21 uses EXE. The silent install switches are --quiet.

One-line silent install (x64, machine scope)
vs_SSMS.exe --quiet --wait

See the full silent install reference for Microsoft SQL Server Management Studio 21

Built by Pckgr

For Intune admins

Stop chasing app updates. Pckgr patches them for you.

Automated application patching for Microsoft Intune. Pckgr keeps a curated library of 1,000+ apps continuously up-to-date in your tenant via Microsoft Graph - no manual repackaging, no chasing vendor sites.

Start free 30-day trial

No credit card required.

About

SQL Server Management Studio (SSMS) is an integrated environment for managing any SQL infrastructure, from SQL Server to Azure SQL Database. SSMS provides tools to configure, monitor, and administer instances of SQL Server and databases. Use SSMS to deploy, monitor, and upgrade the data-tier components used by your applications, and build queries and scripts.

Installers · v21.6.17

ArchitectureTypeScopeInstallDownload
x64EXEmachineDirect

Copy a command tailored to that specific architecture, type, and scope - useful when winget would otherwise pick a different default.

Security

2 known CVEs via NVD

  • high7.3Patched in wingetCVE-2025-29803affects before 20.2.1Apr 11, 2025

    Uncontrolled search path element in Visual Studio Tools for Applications and SQL Server Management Studio allows an authorized attacker to elevate privileges locally.

  • medium5.3Patched in wingetCVE-2020-1455affects before 18.6Aug 17, 2020

    A denial of service vulnerability exists when Microsoft SQL Server Management Studio (SSMS) improperly handles files. An attacker could exploit the vulnerability to trigger a denial of service. To exploit the vulnerability, an attacker would first require execution on the victim...

Source: NVD, updated 6h ago. Patch status is best-effort: NVD's fix version is compared against the latest version in winget, but the two version formats don't always align. Confirm with the vendor advisory before treating any specific build as safe.

Related apps

  • PowerShellMicrosoft Corporation
    Microsoft.PowerShellv7.6.6.0

    PowerShell is a cross-platform task automation solution made up of a command-line shell, a scripting language, and a configuration management framework. PowerShell runs on Windows, Linux, and macOS.

  • Windows App Runtime 1.8Microsoft Corporation
    Microsoft.WindowsAppRuntime.1.8v1.8.10

    Microsoft Windows App Runtime 1.8

  • Gaming Services Repair Tool for PCMicrosoft Corporation
    Microsoft.Gaming.GamingServicesRepairToolv10.0.26100.9546 (WinBuild.160101.0800)

    A portable standalone tool to repair and fix problems with the following apps:Xbox App; Xbox Identity Provider; Game Bar; and Gaming Services. It can (and will) also try to update or install those apps, though not silently.

  • Microsoft Visual C++ v14 Redistributable (x64)Microsoft Corporation
    Microsoft.VCRedist.2015+.x64v14.51.36247.0

    The Microsoft Visual C++ v14 Redistributable Package (x64).

  • Microsoft .NET Windows Desktop Runtime 10.0Microsoft Corporation
    Microsoft.DotNet.DesktopRuntime.10v10.0.12

    .NET is a free, cross-platform, open-source developer platform for building many different types of applications.

  • Visual Studio BuildTools 2026Microsoft Corporation
    Microsoft.VisualStudio.BuildToolsv18.10.0

    These Build Tools allow you to build Visual Studio projects from a command-line interface.

More from Microsoft Corporation or browse management-studio, sql, sql-management-studio.

Frequently asked questions

How do I install Microsoft SQL Server Management Studio 21 on Windows?
Open Windows Terminal, PowerShell, or Command Prompt and run: winget install --id Microsoft.SQLServerManagementStudio.21 --exact --version 21.6.17. winget downloads the installer from Microsoft Corporation and runs it. Requires Windows 10 (1809+) or Windows 11.
How do I install Microsoft SQL Server Management Studio 21 silently for unattended deployment?
Add --silent and accept the agreements upfront: winget install --id Microsoft.SQLServerManagementStudio.21 --exact 21.6.17 --silent --accept-package-agreements --accept-source-agreements. This is the variant Intune, Configuration Manager, and other deployment tools should use.
What are the silent install switches for Microsoft SQL Server Management Studio 21?
Microsoft SQL Server Management Studio 21 uses EXE. Run the downloaded installer with: vs_SSMS.exe --quiet --wait. The silent switches are --quiet.
How do I uninstall Microsoft SQL Server Management Studio 21 via winget?
Run: winget uninstall --id Microsoft.SQLServerManagementStudio.21 --exact. Add --silent for unattended uninstalls. winget will use the registered uninstaller from Microsoft SQL Server Management Studio 21's Apps & Features entry.
Is Microsoft SQL Server Management Studio 21 free?
Microsoft SQL Server Management Studio 21 is distributed under Microsoft Release Software License. Refer to the publisher (https://learn.microsoft.com/sql/ssms/download-sql-server-management-studio-ssms) for the full license terms - Wingetly itself does not charge for installation.
Does Microsoft SQL Server Management Studio 21 work on Windows 10?
Yes, as long as your Windows 10 build supports winget (1809 or newer). winget ships with App Installer on Windows 10/11 and pulls Microsoft SQL Server Management Studio 21 directly from the publisher.
How do I keep Microsoft SQL Server Management Studio 21 up to date?
Run winget upgrade --id Microsoft.SQLServerManagementStudio.21 --exact, or winget upgrade --all to update everything winget tracks. We index 9 versions of Microsoft SQL Server Management Studio 21 from microsoft/winget-pkgs.

Recent versions

  • 21.6.17latest
  • 21.5.14
  • 21.4.12
  • 21.4.8
  • 21.3.7
  • 21.3.6
  • 21.2.5
  • 21.1.3
  • 21.0.0