Enables a user account.
Set objUser = GetObject _("LDAP://cn=myerken,ou=management,dc=fabrikam,dc=com")objUser.AccountDisabled = FALSEobjUser.SetInfo
This is a VB Script, this can be used by saving the file in .vbs file
One Stop Update for Techies involved with Infrastructure Designing, Consulting, Management and Support
Enables a user account.
Set objUser = GetObject _("LDAP://cn=myerken,ou=management,dc=fabrikam,dc=com")objUser.AccountDisabled = FALSEobjUser.SetInfo