Technical Anshu
Tutorials Blog
🔐 Admin Locked Out

Administrator Account Locked Out How to Recover When No Admin Can Log In

It sounds impossible until it happens to you: the user locked the laptop, you go to unlock it — and your admin account is locked too. This is the worst-case playbook, and every route in it is a legitimate one.

✍️ Technical Anshu🪟 Windows 10 / 11 / Server⏱️ 9 minute read
🎥 Watch the full video — Windows account lockout policy and all 3 recovery methods, demonstrated step by step

This is the exact disaster the video builds up to. A user mistypes passwords at a sign-in screen — including against the administrator account — and suddenly the one account that could fix everything is the account that is locked. Before panic sets in, understand one calming fact: a lockout is a state, not a destruction. The account, its password and its data are all intact. And there are real, supported ways back in — they are just slower than the day you wish you had made a second admin account. Work them in this order, from least invasive to most.

Advanced Boot Options — the restore mode entry on a domain controller
Choose an option: Safe Mode Safe Mode with Networking Directory Services Restore Mode Debugging Mode Start Windows Normally
👆 Directory Services Restore Mode (boot menu recreated) — the DC's offline admin door, opened with the DSRM password set at promotion time
1

First Question — Can You Simply Wait It Out?

If the lockout duration is set to anything above 0, the admin account unlocks itself when the timer ends — no tools, no risk, no heroics. In a surprising number of "total disasters", the correct fix is a coffee and 30 minutes. While waiting, verify the situation calmly: is it only the admin who is locked, or every account? Is this one PC or domain-wide? Answers change the route. The exception is duration 0 — the account then waits for an admin unlock by design, and waiting is pointless. If your organisation set duration 0 and kept a single admin account, you are now paying for two decisions at once. Proceed to the next routes.

2

Route 1 — Any Other Admin, Anywhere

Search properly before reaching for recovery tools:

  1. Standalone PC: is there any second administrator account — an old IT account, the account created during setup before the "main" one? Even a forgotten-but-valid admin can sign in and untick the lock in lusrmgr.msc.
  2. Domain: any other Domain Admin — a colleague, a break-glass account, the senior engineer working from home — can unlock the account from ADUC or with Unlock-ADAccount in seconds. The lock lives on the domain controllers, so the rescuer does not need to touch the affected machine at all.
  3. Local admin on a domain PC: remember the machine's own local administrator (or your LAPS-managed password) is a different account from the locked domain admin. Signing in locally gets the PC back in service while the domain side is sorted.
3

Route 2 — Directory Services Restore Mode on the Domain Controller

When every Domain Admin is locked, the controller itself still has a door: Directory Services Restore Mode. Restart the DC, interrupt the boot (F8 or through Startup Settings), and choose Directory Services Restore Mode. You sign in not with a domain account but with the DSRM administrator password — a local credential created on the day the server was promoted to a domain controller. In DSRM, Active Directory is offline and you hold local control of the server: enough to inspect, repair and restart the machine normally so domain services come back. Honest limitations, stated plainly: DSRM is a server-repair mode, not a magic unlock button — its power is that it gives a trusted person operating-system control of the DC when the directory itself is the problem. And if nobody knows the DSRM password, that gap — not the lockout — is your real incident. Set a new one with ntdsutil on a working DC today, store it in the company vault, and test this route before you ever need it at 2 AM.

4

Route 3 — WinPE Offline Recovery, for Local Accounts Only

For a standalone PC (or a machine's local admin), the offline route from the video applies: boot from a WinPE USB, use a recovery tool such as Microsoft's DaRT Locksmith to clear the local account's lock, and boot back into Windows. Know its boundaries cold: it works on local accounts only — waving a WinPE stick at a PC does nothing for a domain account's lock, which lives on the DCs. And if the drive is BitLocker-encrypted, you need the recovery key before the disk can even be read — without it there is no route, which is exactly what BitLocker is for. A final option administrators whisper about: if the disk is accessible and the machine was going to be rebuilt anyway, recovering the user's data offline and reimaging the PC is sometimes faster and cleaner than fighting for the old installation. Choose it deliberately, not in frustration.

5

Prevention — So This Page Becomes Trivia ⭐

Every step above is a tax on one missing habit: redundant admin access, prepared in advance.

  1. Two admin accounts minimum on every important PC; two Domain Admins minimum in every organisation — different people, different passwords.
  2. A sealed break-glass account whose password lives in the vault and is tested quarterly.
  3. DSRM passwords recorded at promotion time, always.
  4. Duration above 0, so time itself is an ally instead of an enemy.

Five minutes of setup in a calm week replaces all of the heroics in this article.

🔴 Only on machines you own or administer: every recovery method in this guide is for IT admins and owners recovering their own systems. Never use offline recovery tools on a computer you do not own or have written permission to service.

🎥 See the Lockout Recovery Methods in the Video

The complete lockout policy walkthrough and all 3 recovery methods, shown live on a real Windows system — this is the video this guide is based on.

▶️ Watch Full Video
❓ Frequently Asked Questions

Can the built-in Administrator account really be locked out?

Yes, depending on policy. The security option Allow Administrator account lockout controls it, and since the October 2022 Windows updates the built-in Administrator can be locked by default on new systems — introduced specifically because attackers were brute-forcing that account over the network, where it historically had no lockout protection.

What is the DSRM password and where do I find it?

The Directory Services Restore Mode password is set when a server is promoted to a domain controller. It is not stored anywhere readable afterwards — it should be recorded in the organisation's password vault at promotion time. If it is lost, reset it on a working DC with ntdsutil (set DSRM password) before an emergency, not during one.

Is there any tool that unlocks a domain account from the workstation?

No supported one. A domain account's lockout state lives on the domain controllers, so the unlock must happen there — through another admin, automatically when the duration expires, or by repairing the DC itself through DSRM. Offline PC tools only affect local accounts.

This guide is based on the Technical Anshu Windows Account Lockout Policy video • Stuck on a step? Ask in the video comments — you will get a reply 🙏