Microsoft account locked: what it means and how to unlock it

"Account locked" means two different things at Microsoft. A personal Microsoft account is locked over suspected policy violations, and you recover it through Microsoft's sign-in prompts and reinstatement form. A Windows work or school (domain) account is locked after too many failed sign-ins, and it clears by waiting or when an administrator unlocks it.

Applies to:Microsoft account (consumer)Windows 11Windows 10Active Directory domain accounts
On this page

What it means

The phrase "account locked" is used by many services, and even inside Microsoft it covers two separate situations. Work out which one you have first, because the fixes have nothing in common. This article covers Microsoft only. If the message comes from Google, Apple or another service, it does not apply.

Personal Microsoft account. Microsoft locks the account when activity on it might violate its Terms of Use. Microsoft's support page says accounts are usually locked after a Microsoft Services Agreement violation, but also that not all locks happen for these reasons.

Windows work or school account. A policy called "Account lockout threshold" locks an account after a set number of failed sign-in attempts. The account stays unusable until the lockout duration expires or an administrator resets it. If you are on a company or school network and your correct password is rejected, this is the likely case.

Symptoms and causes

You are likely dealing with this problem if:

  • A message at sign-in saying your Microsoft account has been locked, sometimes with a "Let's prove you're human" prompt.
  • A lock window with a link starting with aka.ms/ instead of that prompt.
  • On a domain, sign-in fails even with the correct password.

The usual causes, most common first:

Suspected policy violation on a Microsoft account
Microsoft names malware, phishing, spoofing or interfering with its services, and spam (bulk messages, bots or scripts creating accounts, reusing information across accounts, using multiple accounts to evade policy). It also says there can be other reasons.
Too many failed sign-ins on a Windows or domain account
The lockout threshold was reached. Mistyped passwords count, as do failed attempts to unlock a workstation, apps with dropped connections that keep retrying bad credentials, and Kerberos encryption-type negotiation that retries sign-ins automatically.
Deliberate password guessing
Microsoft's policy documentation notes that an attacker with network access can lock accounts on purpose, which is a trade-off of using a lockout threshold.

How to fix it

Work through these in order. They start with the quickest, safest checks and move to deeper repairs; stop as soon as the problem is gone.

1.Personal Microsoft account: sign in and follow the prompt

Easy

Microsoft's own process starts here. If the account only needs a human check, this may be all that is required.

  1. Go to account.microsoft.com and sign in.
  2. If the "Let's prove you're human" prompt appears, follow it.
  3. If you cannot sign in at all, use the Microsoft account sign-in helper linked from Microsoft's "Microsoft account has been locked" page.

2.Personal Microsoft account: submit the reinstatement form

Easy

When the human-check prompt does not appear, the lock window gives you the route to ask for a review.

  1. In the lock window, select the link that begins with aka.ms/ and follow the instructions. This is the account reinstatement form.
  2. Submit the form once.
  3. Do not send repeat requests. Microsoft says they may slow down its response.

3.Windows or domain account: wait for the lockout to expire

Easy

If the lockout duration is set above zero, the account unlocks by itself.

  1. Stop trying to sign in, and close or sign out of other devices and apps that may be retrying an old password.
  2. Wait for the lockout duration to pass. Microsoft advises roughly 15 minutes, but your organisation sets the real value. If it is 0, the account stays locked until an administrator unlocks it.

4.Windows or domain account: unlock it as an administrator

ModerateChanges settings

An administrator can clear the lock immediately instead of waiting.

Before you start: Only do this with permission to manage the account. The cmdlet does not work on read-only domain controllers or Active Directory snapshots. Add -WhatIf first to preview the change.

  1. Open an elevated PowerShell on a machine with the Active Directory module, then preview the unlock.
    PowerShellrun as administrator
    Unlock-ADAccount -Identity <samAccountName> -WhatIf
  2. Run it for real. The identity can also be a distinguished name, GUID or SID.
    PowerShellrun as administrator
    Unlock-ADAccount -Identity <samAccountName>

5.Windows or domain account: find what keeps locking it

Moderate

If the account locks again soon after being cleared, something is still sending bad credentials.

  1. List the devices and apps that sign in as this account: other computers where you are still signed in, and apps that lost their connection and may keep retrying an old password.
  2. Sign out of those devices or update the password in those apps.
  3. Clear the lock again (wait for it to expire or ask an administrator), then watch whether it returns.

6.Windows or domain account: review the lockout policy

AdvancedChanges settings

A threshold that is too strict causes frequent lockouts. A value of 0 disables locking altogether.

Before you start: This changes security policy for every account it applies to. Agree it with your security team and note the old values first.

  1. In Group Policy Management, edit the policy and go to Computer Configuration, Windows Settings, Security Settings, Account Policies, Account Lockout Policy.
  2. Review Account lockout threshold: 1 to 999 failed attempts, or 0 for never lock. Microsoft suggests 10 as a starting point, as a guideline rather than a rule.
  3. Review Account lockout duration: 1 to 99,999 minutes, or 0 for administrator unlock only. It must be at least the value of "Reset account lockout counter after".
  4. Save the change. No restart is needed.

Check that it worked

  • Personal account: you can sign in at account.microsoft.com and no lock message appears.
  • Domain account: you can sign in with your correct password and the account does not lock again after some time.

If it still fails

  • Personal account: wait for Microsoft's email reply to your reinstatement request. Microsoft's page does not say what happens if the review is denied, so use the official Microsoft support pages for next steps.
  • Microsoft's page says support agents are not allowed to send password reset links or change account details until the reinstatement form has been submitted, so submit it first.
  • Domain account: ask your IT administrator. Give them the time of the lockout and the computer you were using.

Questions

Does the built-in local Administrator account get locked out?

No. Microsoft's policy documentation says the built-in local Administrator account is excluded from the lockout policy.

Is the lockout policy on by default?

The default domain policy has the threshold at 0 (never lock). The default domain controller policy leaves it not defined. Locking only happens if someone has set a threshold.

Sources

  1. Microsoft account has been lockedOfficial · Microsoft Support
  2. Account lockout thresholdOfficial · Microsoft Learn
  3. Account lockout durationOfficial · Microsoft Learn
  4. Unlock-ADAccountOfficial · Microsoft Learn