10

I'm installing SQL Server 2012 from the command line as part of an installer I'm creating.

I want to use mixed security (eg to allow both SQL and Windows authentication).

From looking at the Microsoft install guide I can see that setting /SECURITYMODE to SQL, and /SAPWD to a password, will give SQL mode, and by not setting them, I can get the default (Windows Authentication).

But how do I specify that I want to use mixed mode at the command line?

1 Answer 1

18

After testing this, I've found that setting /SECURITYMODE to SQL installs SQL Server in mixed mode; and not setting the flag sets Windows Authentication only mode. There is no SQL only authentication mode.

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.