login failed for user 'sa' because the account is currently locked out. the system administrator can unlock it


If the mixed mode authentication is enabled in SQL Server, you can log into SQL Server Management Studio with Windows Authentication, and then unlock any SQL Server user account easily.

Step 1: Open SQL Server Management Studio and select Windows Authentication to login.

Step 2: Go to Security -> Logins -> sa, and double click on sa account.

Step 3: After sa Login Properties dialog opens, select the General page, uncheck the box besides Enforce password policy, and click OK.

Step 4:Select the Status page, make sure the box besides Login is locked outis unchecked. Then the SA account can be unlocked and you can successfully connect to SQL Server with SA login.

Comments

  1. Great article,Thank you for sharing this valuable info with us.
    Keep updating...

    MSBI Training

    ReplyDelete

Post a Comment

Popular posts from this blog

Announcing backup and restore improvements for large datasets near the size limit

Enhanced refresh with the Power BI REST API is now generally available

What’s New in SQL Server 2014 since SQL Server 2008 R2