Re: sa account locked out



J. Cairn (jcairn@xxxxxxxxxxxxx) writes:
I am getting a message that my sa account is locked out, and I can't
connect with SQL Server Management Studio.

Other posts say to log in using Windows auth, but that is not letting
me in either. I am logged into the machine as the administrator and
SQL is set to mixed mode authentication. For security, I previously
removed the Windows accounts from SQL, including builtin
\adminstrators.

Any ideas? Thanks.

Looks like you are in dire straits. You need sysadmin to unlock sa, but
you don't have an sysadmin access available.

If you really must need access to this master database, you could open a
case with Microsoft to see if they have any tricks up their sleeve.

Else, it seems that you need to reinstall. You can attach the user
databases later on.



--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.



Relevant Pages

  • RE: SELECT Permissions on Schemas
    ... yet he sees all 250+ system objects listed when he goes to link ... So your real problem is that the objects in the master database deluge ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.security)
  • Re: Login failed for user NT AUTHORITYNETWORK SERVICE
    ... It's already set to use "SQL Server and Windows" authentication. ... There are ways to use Windows Auth with ASP.NET, ... Sahil Malik [MVP] ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Restore Master DB
    ... It's all in Books Online under "master database, restoring" in the index. ... Looking for a SQL Server replication book? ...
    (microsoft.public.sqlserver.server)
  • Re: Index for username/password
    ... Windows Auth is not practical. ... SQL 2005 has a whole slew of encryption stuff with asymmetric keys, ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (comp.databases.ms-sqlserver)
  • Re: Help: Login failed for User ???
    ... The SQL Server will need to be a member server of the domain as will the ... without any login errors, but as soon as I Login into windows(again on my dev ... When a network user tries to connect, ... how do I do this in Windows Auth mode? ...
    (microsoft.public.dotnet.framework.adonet)