Microsoft SQL Server 2022 Express silent install and uninstall

SQL Server 2022 Express is a free edition of SQL Server, ideal for development and production for desktop, web, and small server applications.

EXE x64 Updated 11 Nov 2026
Vendor
Microsoft Corporation
Category
IT Admin
Installer
Custom EXE installer
Architecture
x64
Checked version
16.0.1000.6
winget ID
Microsoft.SQLServer.2022.Express
License
Proprietary
Download
Official download

Silent install

SQL2022-SSEI-Expr.exe /IACCEPTSQLSERVERLICENSETERMS /ENU /ACTION=Install /quiet /InstallPath="c:\Program Files\Microsoft SQL Server"
  1. Download the installer from the direct download link.
  2. Open an elevated Command Prompt: right-click Command Prompt and select Run as administrator.
  3. Change to the folder with the installer, for example cd C:\Temp.
  4. Run the command above. Adjust the file name if you downloaded a different version.

Or install with winget

winget install --id Microsoft.SQLServer.2022.Express --exact --silent --scope machine --accept-package-agreements --accept-source-agreements

Silent uninstall

winget
winget uninstall --id Microsoft.SQLServer.2022.Express --exact --silent --accept-source-agreements

Run the command from an elevated Command Prompt.

About the Custom EXE installer installer

The vendor uses its own installer, so only the switches listed above are documented. Test them before mass deployment.

Deploy Microsoft SQL Server 2022 Express with Microsoft Intune

Package the installer as a Win32 app (.intunewin) and use these settings:

Install commandSQL2022-SSEI-Expr.exe /IACCEPTSQLSERVERLICENSETERMS /ENU /ACTION=Install /quiet /InstallPath="c:\Program Files\Microsoft SQL Server"
Uninstall command Use the uninstaller from the install folder; winget is not available to the SYSTEM account by default.
Install behaviorSystem

More it admin apps