Re: Check the user account expire date



He also has some tools that are designed specifically for finding expired
accounts that may be useful. Search on his site:

www.joeware.net

Joe K.

(not the same Joe...)

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"Brian Desmond [MVP]" <brian@xxxxxxxxxxxxxxxx> wrote in message
news:%23epVwDAmHHA.596@xxxxxxxxxxxxxxxxxxxxxxx
There is no automated functionality for this so you would need to script
something. You could use something like adfind from joeware.net and output
a CSV and parse that, or you could do the searching yourself in a script
and go from there. You'll need to get the date format conversions right
which is a bit intricate if you do it yourself.

--
Thanks,
Brian Desmond
Windows Server MVP - Directory Services

www.briandesmond.com


"stephen" <stephen@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F92014E0-C95E-4D8C-9AFF-13AC4FE1F576@xxxxxxxxxxxxxxxx
Hi all,

I have a quesiton about checking user account expire date. we have a lot
of
contract employees in our company. I hope the system can send a reminder
email that let me know which user accounts will be expired in a week.
Does
anyone know there is the best way to implement this function.

Thanks in advance,


Stephen




.



Relevant Pages

  • Re: AD Script to set passwords to expire in 10 days
    ... I sometimes feel like there is a general fog that surrounds me. ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... i.e. expire the passwords on the spot whatever IDs you ...
    (microsoft.public.windows.server.active_directory)
  • Re: Welcome to windows/Switch user locked
    ... "Joe" wrote in message ... First I am working with windows XP. ... I'll call them Act 1 and Act 2. ... allowed me to access the two accounts. ...
    (microsoft.public.windowsxp.accessibility)
  • Re: Add multiple local user accounts
    ... user accounts to a PC and set their passwords to never expire. ... The trick is you must use the WinNT provider for local accounts. ... ' Bind to the local computer object. ... ' Create local user object. ...
    (microsoft.public.scripting.vbscript)
  • RE: NT4 Client in W2K3 AD migrated / SID
    ... My name is Joe Wu, and it is my pleasure to work with you on this issue. ... What accounts are there in the ACLs? ... |migration I cannot resolve any SID in ACL or Share permissions, ... The problem occurs on any migrated NT4 client, ...
    (microsoft.public.windows.server.migration)
  • Re: Password Expiration Question
    ... Password Age policy setting is enabled or not. ... attribute up to the current date for all accounts. ... This gives you some control over which accounts expire when. ...
    (microsoft.public.windows.server.security)