Share via

Cannot install via command line without azure extension

Jerry Metcoff 21 Reputation points
2026-04-17T11:34:55.86+00:00

I am trying to perform a silent installation of SQL Server 2025 Express using a command line setup. I need to skip the installation of the Azure Extension for SQL Server, which is enabled by default. Regardless of options specified, the Azure Extension option always comes up checked and the install can't proceed because I don't have any Azure parameters to enter.

AI search responses indicate the presence of a /AzureExtensionEnabled option, which is indeed recognized but ignored by the installer. This also shows up in the Settings.xml file but appears to be indicated there as non-update-able. Putting it on the command line doesn't have any affect on the install.

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories


Answer accepted by question author

Marcin Policht 90,975 Reputation points MVP Volunteer Moderator
2026-04-17T12:05:50.2433333+00:00

AFAIK, the behavior you are seeing is a limitation of the SQL Server bootstrapper application. The web downloader is a lightweight wrapper designed for interactive use. It is hardcoded to prioritize the Azure Extension page before it even launches the actual SQL Server setup engine. To bypass this, try selecting the Download Media option rather than the Basic or Custom install options. Once you have downloaded the full installer package and extracted it to a local directory, you will find a setup.exe file that supports standard command line arguments without the wrapper interference.

When running the installation from the extracted media, the installer should respect the specific flag to disable the Azure connection requirement. You must ensure that you are using the value 0 rather than False or No, as the installer is pedantic about integer values for this specific parameter. Using the /Q or /QS switch is also vital to ensure the UI is suppressed entirely, which prevents the installer from pausing at any feature selection screens. If you continue to use the small bootstrapper file, it will continue to ignore your flags because that file is not the actual installer, but merely a downloader that ignores command line parameters.

The following command, when run from the root of the extracted installation media, should perform a silent installation while explicitly disabling the Azure Extension for SQL Server.

setup.exe /Q /ACTION=Install /IACCEPTSQLSERVERLICENSETERMS /FEATURES=SQL /INSTANCENAME=SQLEXPRESS /AZUREEXTENSIONENABLED=0

If you are currently using a configuration file, you should verify that the AzureExtensionEnabled setting is not present within the INI file, as command line parameters can sometimes conflict with file-based settings. By providing the flag directly on the command line to the extracted setup.exe, the engine skips the validation logic for Azure credentials and proceeds directly to the database engine installation. If the setup still fails to progress, you should check the Detail.txt log file located in the Program Files Microsoft SQL Server setup bootstrap log folder to see if a secondary dependency is triggering the pause.


If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

hth

Marcin

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.