It would probably be possible to do this with a WSH script that runs once a day (courtesy of Scheduled Tasks or the AT command) and uses either the Exchange SMTP system, the native SMTP sender in IIS, or a freeware program like BLAT ( http://www.blat.net/) to send the e-mail. Getting the expiry date for a password from AD through WSH isn't difficult -- you can see a code sample for how to get a user's account information, including the date of expiry, here: http://www.freevbcode.com/ShowCode.asp?ID=710.
Dig Deeper on Windows Server troubleshooting
Related Q&A from Serdar Yegulalp
This week, our expert answers the question of how to get DVD data off a disc, even if the user's PC doesn't have an optical drive. Continue Reading
This week, our expert answers a question on how to connect a phone or tablet to a USB drive with a micro-USB connector. Continue Reading
Open source and free suites such as LibreOffice and OpenOffice could save organizations money, but not effort in comparison with Microsoft Office. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.