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.


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.
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Secure Connection Failed - Sonicwall FW 1 57
Router assigned IP addresses 18 70
Valid LIN protocol Protected ID values 1 21
Office 365 Single Sign On 2 10
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now