Check for mixed mode

  • Is there another way to check if SQL is in mixed mode other than looking at the instance name security properties in SSMS?

  • It's stored in the registry, so you could query that... not a great option.

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

  • Grant Fritchey (12/5/2008)


    It's stored in the registry, so you could query that... not a great option.

    Thanks for the tip. I did some Googling and came across this site.

    http://www.mssqltips.com/tip.asp?tip=1441

    The registry LoginMode DWORD is stored in:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\MSSQLServer

    2 = Mixed Mode Security

    1 = Windows Authentication.

    Thanks for your help Grant.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply