Unlock AD account

net user <loginname> /DOMAIN | FIND /I “Account Active”

The account will either be Locked “No” or active “Yes”.

if they are locked you can then type in:

Net user <loginname> /DOMAIN /active:YES

or if you want to reset their password you can use this command:

net user <loginname> <newpassword> /DOMAIN /Active:Yes

Leave a Reply