Unlock A User's Account in AD From the Command Line

open a command prompt with Administrator privileges
type the following command:
net user /domain <username> /Active:YES 
Press ENTER