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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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.


Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

In-place Upgrading Dirsync to Azure AD Connect
This article demonstrates probably the easiest way to configure domain-wide tier isolation within Active Directory. If you do not know tier isolation read…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

752 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