- Windows Stuff
- Change Window's "register" User/Org
- Fix - GotoMeeting Could not Connect
- How To - Moving Google AppSync Outlook Mailbox Data
- How To - Uninstall Software Update Manager
- Perl Script - Active Directory Password Expiration
- RealTek HD Audio and Windows7
- Script - Restart Service on ALL Hosts
- Tip - DSADD and DSMOD Commands
- Windows 2008 DHCP Server in Workgroup
Perl Script - Active Directory Password Expiration
There are alot of reasons to use Active Directory (AD) for your central authentication needs. On a corporate AD network though, there may be some non-windows users that will not get the friendly password expiration reminders when they login to their systems. Subsequently these users will get locked out when their password exipres.
Obviously this is a pain for IT Support and can prevent users from accessing all those AD integrated services (VPN, web-portals, etc). I found this nice little perl script that will query AD and can email the users who have passwords that are about to expire. Those users then can RDP into a dummy little system I built to easily reset their password.
I tweaked the script a little to fit our specific needs. Besides the actual password checks, it can easily be tweaked to do alot more. I will attach my default script and configuration file so others can have some fun.
| Attachment | Size |
|---|---|
| Perl_AD_PasswdExpire.txt | 9.6 KB |
| Perl_AD_PasswdExpire_ini.txt | 1.56 KB |
- MWalker's blog
- Printer-friendly version
- Login or register to post comments
-

Recent comments
7 weeks 2 days ago
24 weeks 5 days ago
27 weeks 6 days ago
37 weeks 5 days ago
45 weeks 1 day ago
45 weeks 3 days ago
50 weeks 4 hours ago
1 year 1 week ago