Tuesday, January 5, 2016

Unlock AD user / Reset passwords from command line

Start -> Run -> type "CMD"  and Press Enter

Checking User Account Status
net user <UserName> /DOMAIN | FIND /I "Account Active"

Will return "No" or "Yes".

Unlock a Locked account
Net user <UserName> /DOMAIN /active:YES







Reset Password
Net user <UserName> <newpassword> /DOMAIN /active:Yes

No comments: