Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need VBS Script that displays locked out accounts 3

Status
Not open for further replies.

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)
 
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top