How to display password expiry date for all users
 




IT Certification FAQ

 
|
Home
|
Microsoft
|
CISCO
|
CompTIA
|
Exam/Study FAQ
|
Employment FAQ
| Links  | Forums  |
Book Reviews


FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  ProfileProfile  Log in to check your private messagesPrivate messages  Log inLog in

How to display password expiry date for all users

 
Post new topic   Reply to topic    Forum Index -> microsoft.public.windows.server.active_directory
Author Message
Kent
Guest





PostPosted: Mon Feb 25, 2008 1:24 pm    Post subject: How to display password expiry date for all users Reply with 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.
Back to top
Kent
Guest





PostPosted: Mon Feb 25, 2008 1:24 pm    Post subject: Re: How to display password expiry date for all users Reply with quote

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





PostPosted: Mon Feb 25, 2008 1:24 pm    Post subject: Re: How to display password expiry date for all users Reply with quote

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





PostPosted: Mon Feb 25, 2008 1:24 pm    Post subject: Re: How to display password expiry date for all users Reply with quote

"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
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> microsoft.public.windows.server.active_directory All times are GMT
Page 1 of 1

 

Copyright © 2002-2006 Web-S-Sense Pty. Ltd. All rights reserved.

Powered by phpBB
Advertising | Policies/Disclaimers | Contact us | Link to us


Featured Sites: Free Antivirus and Antispyware Info | Free PC Support | MCSE Directory