Change the Default installation path for SQL Server management Studio using Command Prompt

I have earlier written a blog post on how to change default installation path for SQL Server Management studio using PowerShell and registry editor here.
Since then I have tried different things and here I am again with a new way to install SQL Server management Studio from command line to an user desired path.

Steps to do so are as follows
1. Download latest version of SSMS from this link
2. Press Win+Q key to open search on your computer and type in cmd you will see below screen

Click on Run as administrator.
3. Browse to recently downloaded SSMS media from URL in step 1, In my case it was in D:\Software
4. Use below command to install it to a different folder, In my case I am installing it on D:\test.

SSMS-Setup-ENU.exe /Install /quiet /norestart /log D:\Test\log.txt SSMSInstallRoot = D:\test”

And you are all set…

Advertisements

3 thoughts on “Change the Default installation path for SQL Server management Studio using Command Prompt

    • Send me the screenshot and I would be able to help you.. Also with newer versions this post is not entirely true… With newer versions MS has enabled the path option again

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.