Unlock-ADAccountIT technician command center
PowerShell · Active Directory

Unlock-ADAccount

Unlock a locked Active Directory account.

Copy-ready commandUnlock-ADAccount
Unlock-ADAccount jsmith
Production warning

Test write operations in a non-production environment first.

Requirements and permissions

Requirements
RSAT ActiveDirectory module
Permissions
Domain permissions vary
Last reviewed
2026-07-31

Examples

Basic example

Unlock a locked Active Directory account.

Unlock-ADAccount jsmith

Common errors

Command not found

Confirm RSAT ActiveDirectory module is installed and available in your current shell.