Re: Account expiration and creation dates



Do you want account expiration or password expiration? I will assume password expiration.

OLDCMP tool will do this, though it gives more than just those pieces of info. You can output to CSV and then filter what you want out.

ADFIND can get the info but instead of giving you when the account will expire it will give you when the password was set (password expiration isn't listed in AD, password last set is). The attributes are whenCreated and pwdLastSet.

I also have a DCR for findexpacc to add additional attributes to the output, not sure when I will get that modified.

joe


--
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


inteq wrote:
Hello All,

I am looking for a free tool (command line or GUI) that can list all users in AD and provide me with two peaces of information:
1. when the account will expire
2. when the account was created

If I need to post this in the scripting forum sorry for the miss-post. I have found several command line utilities; dsget and the tools at joeware.net that can provide the expiration date but only for a specific user if given. I need something that can list out all the users in a Domain. Maybe I missed something with these tools or didn’t properly use them – if this is the case if someone could let me know what the proper syntax would be that would be great.

Thanks for your time in advance!
Randy



.



Relevant Pages

  • RE: XP User not notified of upcoming domain password expiration
    ... account has not been logged off, it will not prompt a notification of ... password expiration until you logoff the current user. ... Run an RSoP Query on a Computer Account: ...
    (microsoft.public.windowsxp.general)
  • Re: Silly Users with Password as "Password"
    ... Users can log in the first time with your ... I was trying the flag where they could login once and then the next time ... The system warns users of password expiration. ... user must change a password when first logging in to an account. ...
    (comp.os.vms)
  • sol 10 passwd expiration
    ... I am running Solaris 10 Generic_118833-24 and the password expiration ... My question pertains to the ... also updated when a user's account is locked (i.e. from three failed ... after unlocking a user account? ...
    (comp.sys.sun.admin)
  • Re: password expiration
    ... I'm aware of the fact that you cannot lock out the Admin account, ... can still force a password change on a schedule. ... > password expiration policy is common for all users. ...
    (comp.security.misc)
  • Re: password expiration
    ... I'm aware of the fact that you cannot lock out the Admin account, ... can still force a password change on a schedule. ... > password expiration policy is common for all users. ...
    (comp.security.misc)