|
Raymond, You should be able to write (pronounced: customize) this vbscript that I pulled from www.myitforum.com to fit your needs. ------------------------------------------------------------------------------------------------------- DomainName="domain" UserName="machine" Set UserObj = GetObject("WinNT://"&
DomainName &"/"& UserName &"") If UserObj.IsAccountLocked = -1
then UserObj.IsAccountLocked = 0 UserObj.SetInfo -----Original Message----- I recently wrote (pronounced: customized)
a vb script that will reset passwords, I would also like it to unlock a user if
the user acct is locked. Now I know
your thinking why… We have a
number of people in our helpdesk que that are not net support, but are IT Dept
employees. Does anyone have a
script or know of a way to unlock the users through VB. Joeware – Unlock works great, but it
would be a two step process, decisions decisions. Thanks, Raymond McClinnis Network Administrator Provident Credit Union |
- RE: [ActiveDir] Unlock and Password Reset Script Raymond McClinnis
