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 out is 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

Hi User,
Thanks for visiting My Blog and please provide your valuable feedback and subscribe for more updates. Please don't post any spam content or comments.
Thank You

Popular Posts

Failed to execute the package or element. Build errors were encountered

Exception deserializing the package "The process cannot access the file because it is being used by another process."

Temporary enable and disable SSRS subscriptions