Azure Data Studio Silent Install (How-To Guide)

Azure Data Studio is a cross-platform database tool for data professionals using the Microsoft family of on-premises and cloud data platforms. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Azure Data Studio from the command line using the EXE installer.

How to Install Azure Data Studio Silently

Microsoft Azure Data Studio Silent Install (EXE)

  1. Navigate to: https://docs.microsoft.com/en-us/sql/azure-data-studio/download-azure-data-studio
  2. Select Windows System Installer
  3. Download the EXE to a folder created at (C:\Downloads)
  4. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  5. Navigate to the C:\Downloads folder
  6. Enter the following command:
    • azuredatastudio-windows-setup-x.x.x.exe /VERYSILENT /NORESTART /MERGETASKS=!runcode
  7. Press Enter

After a minute or so you should see the Azure Data Studio shortcut in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:Azure Data Studio
Vendor:Microsoft Corporation
Architecture:x64
Installer Type:EXE
Silent Install Switch:azuredatastudio-windows-setup-x.x.x.exe /VERYSILENT /NORESTART /MERGETASKS=!runcode
Silent Uninstall Switch:"%ProgramFiles%\Azure Data Studio\unins000.exe" /VERYSILENT /NORESTART
Download Link:https://docs.microsoft.com/en-us/sql/azure-data-studio/download-azure-data-studio
PowerShell Script:https://silentinstallhq.com/azure-data-studio-install-and-uninstall-powershell/

The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download link provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.


Additional Configurations

Create an Installation Log File

The Azure Data Studio installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following commands to create a verbose log file with details about the installation.

azuredatastudio-windows-setup-x.x.x.exe /VERYSILENT /NORESTART /MERGETASKS=!runcode /LOG="%WINDIR%\Temp\AzureDataStudio-Install.log"

Change Default Installation Directory

You can also change the default installation directory by using the following command line parameters. In this example, I’m installing Azure Data Studio to “C:\Azure Data Studio”

azuredatastudio-windows-setup-x.x.x.exe /DIR="C:\Azure Data Studio" /VERYSILENT /NORESTART /MERGETASKS=!runcode

Include Azure Data Studio Desktop Shortcut During Install

The Azure Data Studio installer does NOT create a desktop shortcut by default. If you want the desktop shortcut, then you can run the following command line switches to include it.

Azure Data Studio Silent Install with Desktop Shortcut

azuredatastudio-windows-setup-1.22.1.exe /VERYSILENT /NORESTART /MERGETASKS=!runcode,desktopicon

How to Uninstall Azure Data Studio Silently

Check out the Azure Data Studio Install and Uninstall (PowerShell) post for a scripted solution.

  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter the following command:

Azure Data Studio (EXE) Silent Uninstall

"%ProgramFiles%\Azure Data Studio\unins000.exe" /VERYSILENT /NORESTART

Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.

Jason Bergner

I am an accomplished Software Engineer at Patch My PC, leveraging more than 18 years of hands-on experience in Configuration Manager administration and application packaging. I am driven by a genuine passion for solving complex problems and consistently strive to discover innovative and effective solutions. Sharing my extensive knowledge of application deployments is a true joy for me, and I am honored to contribute to the community here at Silent Install HQ.

Recent Posts