[SQL Server]如何修改authentication mode

对于用SQL Server Management Studio修改的方法予以省略。下面是通过注册表修改的方法:

In the registry (usual location in SQL Server 2005):

HKLM\Software\Microsoft\Microsoft SQL Server\MSSQL.1\MSSQLServer\LoginMode

If the value is 0x00000001 (1), that means it is set for Windows authentication only. If you change the value to 0x00000002 (2), you're setting it for mixed mode. The next time SQL Server starts, it will start up in mixed mode. This is a known "backdoor" to get into SQL Server, hence the advice to always secure the sa account with a strong password, even if the SQL Server is set for Windows authentication only.

Please refer to: http://www.sqlservercentral.com/Forums/Topic421197-149-1.aspx

原文地址:https://www.cnblogs.com/jancco/p/2489121.html