Unlock a User Account

Unlocks the MyerKen Active Directory user account.

VBScript Code


Set objUser = GetObject _
    ("LDAP://cn=MyerKen,ou=Management,dc=NA,dc=fabrikam,dc=com")

objUser.IsAccountLocked = False
objUser.SetInfo