SQL SERVER – How to Install SQL Server Management Studio (SSMS) From Command Line?

SQL Server Management Studio (SSMS) has been removed from the product release cycle. Now SSMS is shipped as a free tool and doesn’t need to have set up media to install. Earlier I wrote a blog which you can read below.

SQL SERVER – Installing SSMS 2016 – Step by Step

There are many System Administrators who like to automate the deployment of SQL. It is not fun to use wizard in all the installations. One of my blog readers sent email and asked how to install SSMS from the command line? They were using SCCM to deploy the patch/software to workstations remotely and silently.

I had no idea about how to achieve it. I knew that almost all exe files have a help by using /? Or /Help on the command line.

SQL SERVER - How to Install SQL Server Management Studio (SSMS) From Command Line? ssms-cmd-setup-01-800x690


Here is the batch file which I have given him and he was able to install SSMS via script.

SSMS-Setup-ENU.exe /install /quiet /norestart /log log.txt

Let me know if you have faced such an issue before. I believe this is very common need and this blog post should help everyone who is looking for SSMS to be installed by command line. Leave a comment.

Reference: Pinal Dave (https://blog.sqlauthority.com)

SQL Error Messages, SQL Scripts, SQL Server, SQL Server Management Studio, SSMS
Previous Post
SQL SERVER – How to Migrate Master Database to New Location?
Next Post
SQL SERVER – How to Rename Extention of MDF File? – A Simple Tutorial

Related Posts

3 Comments. Leave new

  • Hi, I was tsruggling to uninstall silently SSMS 2014 to install SSMS 2017.
    I can’t even uninstall SSMS 2017 after installing it.
    I want to use powershell.
    Can you help on this pls?

  • How can I install SQL Server Management Studio straight from cmd?
    You need to create a .bat file in one click user and how settings are created, such as instance etc.


Leave a Reply