Help please! I had disabled my local admin account

  • Hello, please help -

    I have SQL 2008 on my pc, windows authentication - using windows administrator account.

    Now I have disabled win admin account in SQL (for testing an app), enabled SA - but forgot to change SQLServer's authentication mode.

    Is there a way to connect now, when mode is windows authentication and I have disabled single windows user?

  • You can change back to Windows and SQL Authentication by editing the registry.

    Change the value for this key to 2 (it's probably 1 at the moment):-

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL10.[your instance name]\MSSQLServer\LoginMode

  • Ian,

    thanks for your response - it worked fine!

    Alexey

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

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