Furqan Sehgal
Furqan Sehgal

Reputation: 4997

Error while installing SQL Server Express 2008 R2

I am trying to install SQL Server 2008 R2 Express using command line arguments.

The command is

E:\UnInstall\SQLServer\SQLServerExpress2008\SQLEXPR_x64_ENU.exe 
       / SQ/SAPWD="testpwd123" /security=SQL /BROWSERSVCSTARTUPTYPE="Enabled"
       /TCPENABLED="1" /NPENABLED="0" /INDICATEPROGRESS="True"
       /INSTANCENAME="CBEInstance" /IACCEPTSQLSERVERLICENSETERMS="True"

But after extracting files, when installation begins, it returns following error:

SQL Server Setup has encountered the following error:

The syntax of argument "//" is incorrect. Please use /? to check usage.

Error code 0x84B40001.

Please help.

Upvotes: 1

Views: 1636

Answers (1)

Hamlet Hakobyan
Hamlet Hakobyan

Reputation: 33381

_x64_ENU.exe / SQ/SAPWD=
              ^___________ Correct this.No need space.

And did you mean /QS instead of /SQ?

Upvotes: 2

Related Questions