# Locked out user

If a user attempts to log in to the portal with an invalid password, the account will be locked out after 5 attempts.

In order to unlock the account, you have 3 options:

1. If you are using QLM v11 or later, you can unlock the account from the QLM Management Console
2. Delete the user account and recreate it
3. Unlock the account by editing the QLM database

&#x20;How to unlock a user account from the QLM Management Console (v11+)

* Launch the QLM Management Console
* Go to the Manage Keys tab
* Click User Accounts
* Select the user account then click Unlock

![mceclip0.png](https://support.soraco.co/hc/article_attachments/360035520851/mceclip0.png)

&#x20;How to unlock the account by editing the QLM database

* Locate the QLM database in SQL Server
* In the QLM database, locate the aspnet\_Users table
* View all the rows of this table and locate the user that is locked out.
* Make note of that user's UserID&#x20;
* Execute the following SQL command:

{% code overflow="wrap" %}

```sql
UPDATE [aspnet_Membership] SET [IsLockedOut]=0,[FailedPasswordAttemptCount] = 0 WHERE UserID='The USER ID OF THE LOCKED OUT USER'
```

{% endcode %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.soraco.co/docs/qlm-portal/locked-out-user.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
