MS SQL Server 2012 - DBA Articles

SET - SQL Server Authentication Mode



This article describes how to change the server authentication mode in SQL Server 2012 by using SQL Server Management Studio or Transact-SQL. During installation, SQL Server Database Engine is set to either Windows Authentication mode or SQL Server and Windows Authentication mode. After installation, you can change the authentication mode at any time.

If Windows Authentication mode is selected during installation, the sa login is disabled and a password is assigned by setup. If you later change authentication mode to SQL Server and Windows Authentication mode, the sa login remains disabled. To use the sa login, use the ALTER LOGIN statement to enable the sa login and assign a new password. The sa login can only connect to the server by using SQL Server Authentication.

To change security authentication mode

In SQL Server Management Studio Object Explorer, right-click the server, and then click Properties.



On the Security page, under Server authentication, select the new server authentication mode, and then click OK.



Select SQL Server and Windows Authentication mode option and click OK to acknowledge the requirement to restart SQL Server.






In Object Explorer, right-click your server, and then click Restart. If SQL Server Agent is running, it must also be restarted.



Click Yes.






More Reference URL: http://msdn.microsoft.com/en-us/library/ms188670%28v=sql.110%29.aspx

* * * * *


Email Your Comment To AUTHOR