Sample Header Ad - 728x90

Microsoft SQL Server setup - how to specify password with SAPWD switch when it contains equal sign (=)?

-1 votes
1 answer
2561 views
I've recently tried to install Microsoft SQL Server setup.exe using well tried syntax I used before, but run into error the because of '=' sign in my user password. See sample command below: setup /QUIET /ACTION=REBUILDDATABASE /INSTANCENAME=MSSQLSERVER /SQLSYSADMINACCOUNTS=Domain\User /SAPWD=Pass=word Is there a way to screen equal sign or somehow specify password for SAPWD switch so that it has equal sign in it bud not causing error?
Asked by Mike (747 rep)
Dec 12, 2017, 04:41 PM
Last activity: Dec 12, 2017, 08:55 PM