Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting /SECURITYMODE to Mixed Mode For SQL Server 2012 Install

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?

like image 993
HaemEternal Avatar asked Oct 24 '12 15:10

HaemEternal


1 Answers

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.

like image 182
HaemEternal Avatar answered Nov 07 '22 11:11

HaemEternal