|
|
| Author |
Message |
Kent Guest
|
Posted: Mon Feb 25, 2008 1:24 pm Post subject: How to display password expiry date for all users |
|
|
Hello,
I have a question regarding password expiry date on Active Directory. How do
i obtain the password expiry date for all users in Active Directory? I tried
dsquery+dsget, but it does not contain any parameters for password expiry
date (only account expiry date). Another option is by registering
Acctinfo.dll in the DC. However, this is very tedious as there are few
thousand users in the domain. Is there any tool/script to obtain all users
password expiry date?
Thanks. |
|
| Back to top |
|
 |
|
|
Kent Guest
|
Posted: Mon Feb 25, 2008 1:24 pm Post subject: Re: How to display password expiry date for all users |
|
|
Hello,
Can you elaborate more on this?
How to do it?
"eager" wrote:
| Quote: |
"Kent" <Kent@discussions.microsoft.com> wrote in message
news:203145C1-9E90-4B49-B6C3-6D2CE44E0814@microsoft.com...
Hello,
I have a question regarding password expiry date on Active Directory. How
do
i obtain the password expiry date for all users in Active Directory? I
tried
dsquery+dsget, but it does not contain any parameters for password expiry
date (only account expiry date). Another option is by registering
Acctinfo.dll in the DC. However, this is very tedious as there are few
thousand users in the domain. Is there any tool/script to obtain all users
password expiry date?
Thanks.
Configure the password age and you will know it
|
|
|
| Back to top |
|
 |
Richard Mueller [MVP] Guest
|
Posted: Mon Feb 25, 2008 1:24 pm Post subject: Re: How to display password expiry date for all users |
|
|
Kent wrote:
| Quote: | I have a question regarding password expiry date on Active Directory. How
do
i obtain the password expiry date for all users in Active Directory? I
tried
dsquery+dsget, but it does not contain any parameters for password expiry
date (only account expiry date). Another option is by registering
Acctinfo.dll in the DC. However, this is very tedious as there are few
thousand users in the domain. Is there any tool/script to obtain all users
password expiry date?
|
It's not easy to calculate expiration dates. I have an example VBScript
program that outputs the date every user last changed their password linked
here:
http://www.rlmueller.net/PwdLastChanged.htm
From this and the domain password age policy you can determine when the
passwords expire. Also, I think Joe Richards' adfind command line tool might
be able to do this.
http://joeware.net/freetools/tools/adfind/index.htm
--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
-- |
|
| Back to top |
|
 |
eager Guest
|
Posted: Mon Feb 25, 2008 1:24 pm Post subject: Re: How to display password expiry date for all users |
|
|
"Kent" <Kent@discussions.microsoft.com> wrote in message
news:203145C1-9E90-4B49-B6C3-6D2CE44E0814@microsoft.com...
| Quote: | Hello,
I have a question regarding password expiry date on Active Directory. How
do
i obtain the password expiry date for all users in Active Directory? I
tried
dsquery+dsget, but it does not contain any parameters for password expiry
date (only account expiry date). Another option is by registering
Acctinfo.dll in the DC. However, this is very tedious as there are few
thousand users in the domain. Is there any tool/script to obtain all users
password expiry date?
Thanks.
|
Configure the password age and you will know it |
|
| Back to top |
|
 |
|