Re: Email Password Expire Notifications



For something like this I would recommend using findexpacc instead of oldcmp, I set it up specifically to be scripted for cases like this...

http://www.joeware.net/win/free/tools/findexpacc.htm




--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net


---O'Reilly Active Directory Third Edition now available---

http://www.joeware.net/win/ad3e.htm


Joe Kaplan (MVP - ADSI) wrote:
My company uses a scheduled task that runs some .NET code that finds the expiring passwords and emails the users based on our business rules for expiration notification. This code is implemented based on the code we show for finding password expiration on our book (see link below). The implementation of this is detailed in ch 10, which happens to be the freebie download chapter from the publisher. It is linked on the main page of the site. The code samples may also be downloaded for free.

If you don't want to write a little .NET app for this and would rather write a script, it will probably be easier for you to use a tool like Joe Richard's oldcmp tool (from www.joeware.net) than to try to execute the queries directly in script, as formating the queries is a little painful in VBS. You would just take the output from Joe's tool to feed that into your script for doing the notifications.

You might also be able to buy something if you don't want to write anything yourself. I can understand that, although I don't have an immediate recommendation. Part of the trick with this kind of thing is that you generally need to send your users to a website where they can change their password (since they don't log into the domain, they'll need some sort of UI for this!), so you'll need at least a little configuration flexibility with whatever tool you end up with.

HTH,

Joe K.

.



Relevant Pages

  • Re: Email Password Expire Notifications
    ... I haven't looked at Joe's tool suggestion but most command ... Co-author of "The .NET Developer's Guide to Directory Services ... Joe Richards Microsoft MVP Windows Server Directory Services ... write a script, it will probably be easier for you to use a tool like ...
    (microsoft.public.windows.server.active_directory)
  • Re: jms in toronto
    ... Shortish version of The Famous B5 Joke Script Story: ... Peter and Andreas were on stage and Joe was up next. ...
    (rec.arts.sf.tv.babylon5.moderated)
  • Re: Email Password Expire Notifications
    ... Co-author of "The .NET Developer's Guide to Directory Services ... Joe Richards Microsoft MVP Windows Server Directory Services ... write a script, it will probably be easier for you to use a tool like ...
    (microsoft.public.windows.server.active_directory)
  • Re: jms in toronto
    ... > Shortish version of The Famous B5 Joke Script Story: ... Peter and Andreas were on stage and Joe was up next. ...
    (rec.arts.sf.tv.babylon5.moderated)
  • Re: Email Password Expire Notifications
    ... Joe Richards Microsoft MVP Windows Server Directory Services ... freebie download chapter from the publisher. ... write a script, it will probably be easier for you to use a tool like Joe ... Richard's oldcmp tool than to try to execute the ...
    (microsoft.public.windows.server.active_directory)