Daily Archives: Friday, January 17, 2020

A user account was locked out Event ID 4740 0

The indicated user account was locked out after repeated logon failures due to a bad password.

See event ID 4767 for account unlocked.

This event is logged both for local SAM accounts and domain accounts.

Example 4740

A user account was locked out.

Subject:

   Security ID:  SYSTEM

   Account Name:  WIN-R9H529RIO4Y$

   Account Domain:  WORKGROUP

   Logon ID:  0x3e7

Account That Was Locked Out:

   Security ID:  WIN-R9H529RIO4Y\John

   Account Name:  John

Additional Information:

   Caller Computer Name: WIN-R9H529RIO4Y

Solution :

To unlock a user’s account, find AD user object, open the properties, go to the Account tab, check “Unlock account.

This account is currently locked out on this Active Directory Domain Controller” and press OK.

Using Command

Check Status:

Check that the user account is locked. To do this, run the following PowerShell one-liner:

Get-ADUser -Identity bjackson -Properties LockedOut | Select-Object samaccountName,Lockedout| ft -AutoSize

The account is locked (Lockedout=True).

To unlock a user account, you can use the cmdlet:

Unlock-ADAccount bjackson –Confirm

To confirm unlock account press Y, then Enter.

Now the user can login to the domain computer or server under his account. To Unlock Bulk Users Account Download Bulk AD Users Software For Free

Is It Helpful ? Yes/NO Reply in comment box !