how do I get a list of "password never expires" from AD accounts in win2003

Posted on 2006-06-17
Last Modified: 2012-06-22
I would like print out a list of all accounts that have password set to "password never expires" but I don't know which ldap object that has that attribute.   If anyone knows a solution or points me to the right direction, i greatly appreciate it.

Question by:vayoha
  • 2
  • 2
  • 2
  • +2
LVL 30

Assisted Solution

ded9 earned 100 total points
ID: 16926085
Hi dude

Okay dude here is the answer to your question
Just Click on the link below
Also in the link is a small script already programed for achieving your goal

Also points

Assisted Solution

SunshineVK earned 100 total points
ID: 16926140

Install support tools on your machine. After that when open dsa.msc you will find a save queries folder in the left hand side panel. Right click on it => New=> Query=> Define the query root => give a name to the query => click on define query => in the open dialogue box you will find the option for Non Expiring passwords => select the check box. Save the query and then click on it. It will give you a list of all id's with non expiring password.
LVL 15

Accepted Solution

Naser Gabaj earned 200 total points
ID: 16926162
Part of the reports of ManageEngine ADManager Plus is "AD User Reports"

You can download the free version from here:

It will do the job for you.


What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

LVL 77

Assisted Solution

by:Rob Williams
Rob Williams earned 100 total points
ID: 16926512
There is a free little program called Dupsec, that will allow you to create a user account policies report, among others, in seconds. You can choose the options you want to report such as whether the password expires, if it does, the expiry name,  group memberships etc. The file can be used as is, or exported to an Excel spread sheet or text application.
LVL 77

Expert Comment

by:Rob Williams
ID: 16927285
Thanks vayoha,

Author Comment

ID: 16927291
thanks for everyone for your inputs.   All suggestions are great.  I'm using adventnet software such as opmanager, wifimanager but i didn't pay attention about AD managed program.  This must be new.  I like the web interface program they provide.  Please try their products out if you have a chance.  It's relatively inexpensive.  
LVL 30

Expert Comment

ID: 16929023
Thank you dude
LVL 15

Expert Comment

by:Naser Gabaj
ID: 16929213
Glad to see it helps :) and thanks for the points.


Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ticket bloat 3 24
Duplicate SPN records 4 16
VPN Connection WIndows 10 5 34
How to set only one user access in one machine in windows 3 15
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Internet Business Fax to Email Made Easy - With  eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question