Re: unlock user account
- From: C.R. [mx] <CRmx@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 16 Apr 2008 17:33:00 -0700
You can also use the NET USER command
NET USER loginname /DOMAIN /ACTIVE:YES
Regards
--
C.R. [mx]
MCSE
"kj [SBS MVP]" wrote:
pete0085 wrote:.
Is there a way to unlock a user account through the command prompt?
I've been searching and haven't found much.
Scriptcenter sample;
Set objUser = GetObject _
("LDAP://cn=MyerKen,ou=Management,dc=NA,dc=fabrikam,dc=com")
objUser.IsAccountLocked = False
objUser.SetInfo
I'm sure admod would do it too.
http://www.joeware.net/freetools/tools/admod/index.htm
--
/kj
- Follow-Ups:
- Re: unlock user account
- From: kj [SBS MVP]
- Re: unlock user account
- References:
- unlock user account
- From: pete0085
- Re: unlock user account
- From: kj [SBS MVP]
- unlock user account
- Prev by Date: Re: GPO and Group Policy
- Next by Date: Re: Home Directory Changes Drive Letter and path
- Previous by thread: Re: unlock user account
- Next by thread: Re: unlock user account
- Index(es):
Relevant Pages
|