Login failed for user ‘sa’ because the account is currently locked out. The system administrator can unlock it.

Error Description

Login failed for user ‘sa’ because the account is currently locked out. The system administrator can unlock it.

Root Cause

SQL Account only locked out, if it is enfoced to use password policies.

Resolution

You can unlock it by exeuction below command.

ALTER LOGIN sa WITH PASSWORD = ‘password’ UNLOCK

OR

You can do it GUI as well by unchecked locked checkbox

Comments

One response to “Login failed for user ‘sa’ because the account is currently locked out. The system administrator can unlock it.”

  1. Clinton Avatar
    Clinton

    Great trick! Another way of unlocking sa account is to use some third-party software: https://www.youtube.com/watch?v=GfI-bo5TDB0

Thanks for the comment, will get back to you soon… Jugal Shah