Pcornel
Browse topics
Options
Recent
Favorites
Command · Windows / Windows Server / PowerShell

Search-ADAccount -LockedOut

Search-ADAccount -LockedOut

Lists user and computer accounts that are currently locked out.

Execution context

Standard user

Use when

Users report lockouts, or you check after a password change.

Then verify

Find the source in Security event 4740 on the PDC emulator.

Privilege Standard userState impact Read-onlyProduction Unknown

Operational impact: Read-only.
Command detailsSafety model · family · platform · verification · bundle
PrivilegeStandard user
Execution contextStandard user
State impactRead-only
Safe during productionUnknown
CategoryActive Directory
Evidence levelmixed
Primary DomainWindows
Historical technical verificationNeeds verification dateCurrent command content requires review after a Git edit.
Family Ctive Irectory
PlatformWindows / Windows Server / PowerShell
PrerequisiteStandard user
Output fields

Field glossary

Important fields projected from persisted Command guidance.

Name, SamAccountName, LockedOut, LastLogonDate, DistinguishedName

Important persisted output field; use surrounding guidance for interpretation.

Command → Topic semantics

Used in these Topics

Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.

DomainsWindows

Find another Command

Reference enrichment

Evidence boundary

What this output can establish — and where you must not over-claim.

Proves

Shows which accounts are locked out right now.

Does not prove

Does not show where the bad passwords came from.

Next check

Find the source in Security event 4740 on the PDC emulator.

Depth when you need it

Command guidance

Execution context

Standard user

Use when

Users report lockouts, or you check after a password change.

Important fields

Name, SamAccountName, LockedOut, LastLogonDate, DistinguishedName

Common problems

the same account locks again and again (old password on a phone, drive mapping or service)

Operational impact

Read-only.

Technical context

Unlock with Unlock-ADAccount <name>. The lockout source is in event 4740 on the PDC emulator.

Confirmation

Confirm action

Continue?