Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Unlocking a User Account

Updated: February 28, 2009

Applies To: Windows Server 2008 R2

This topic explains how to use the Active Directory module for Windows PowerShell to unlock users who are locked out of the system.

The following example demonstrates how to unlock the user account U1 in the organizational unit (OU) Test in the Fabrikam.com domain:

Unlock-ADAccount -Identity "CN=U1,OU=Test,DC=FABRIKAM,DC=COM"

For a full explanation of the parameters that you can pass to Unlock-ADAccount, at the Active Directory module command prompt, type Get-Help Unlock-ADAccount –detailed, and then press ENTER.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft