Feb 10, 2003 #1 Jceleste Technical User May 30, 2002 7 US I need a vbs script that I can run each morning that will display a list of all locked out user accounts. (Win 2000 server)
I need a vbs script that I can run each morning that will display a list of all locked out user accounts. (Win 2000 server)
Feb 10, 2003 1 #2 browolf Programmer Dec 18, 2001 442 GB u need to look into ADSI the "learnign adsi" tutorials on this page http://www.15seconds.com/focus/ADSI.htm are really good. =============== Security Forums http://www.security-forums.com Upvote 0 Downvote
u need to look into ADSI the "learnign adsi" tutorials on this page http://www.15seconds.com/focus/ADSI.htm are really good. =============== Security Forums http://www.security-forums.com
Feb 12, 2003 2 #3 lpwashu IS-IT--Management Feb 12, 2003 19 US The flag you need is objUser.IsAccountLocked = True Add this as parameter to your ADSI query of userlist to return into text file, excel or screen. Upvote 0 Downvote
The flag you need is objUser.IsAccountLocked = True Add this as parameter to your ADSI query of userlist to return into text file, excel or screen.