jmpatterson
asked on
VB Script to email users of pending password expiration
I would like to use a VB script to notify AD users via email when their passwords will expire in 10 dayss. Anyone have any ideas? Thanks!
Did you know that the Active Directory will alert them when they log in that their password is about to expire?
ASKER
Yes I do.....so what do you do for your VPN users, non windows users, etc.......
I didn't think about those, however your question doesn't mention them either.
I found this script that looks like it will do the job.
http://www.myitforum.com/articles/6/view.asp?id=8546
I found this script that looks like it will do the job.
http://www.myitforum.com/articles/6/view.asp?id=8546
ASKER
I am looking for a tested solution....not someone elses "strDomainDN = "DomainNameHere" 'Domain name here - both Netbios and DNS style names should work"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Mail server does require authentication, I can not really tell 5000 users "you may get a test email". Perhaps I modifing the search to a single OU and adjusting the expiration time to pick up the accounts in that OU...simply as a test. I have been trying (with no luck) a similar script. My problem is objMessage seems to work partially but objEmail hangs.
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.