Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Someone locked out the SA user on our SQL Server 2008 instance. Is there anyway to find out who did it?

Thank you,

share|improve this question
up vote 2 down vote accepted

The SQL Server logs should show you the logon attempt failures and what machine they came from. From there, you just need to figure out who was on that particular machine.

To see the logs, just fire up management studio (or whatever it is called in 2008 these days) and look under the Management section.


You can also see the failed logon attempts in the Application Event logs using Event Viewer

share|improve this answer

Anybody deleted databases lately? If the SA user had their default database set to db that has been deleted that'll lock 'em out.

share|improve this answer
No, I'm pretty sure that someone tried a bad password too many times, but I'd like to confirm that it was just this person and not something more sinister. – ConsultUtah Feb 11 '10 at 19:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.