VBS Script – Check for Locked Active Directory User Accounts VBS Scripts Friday, 7 October 2011 Find and diagnose locked user accounts in your Active Directory environment with this VBS script. Get prompt notifications and timestamps for locked accounts.