Solved

non expiring and enabled/disabled in ADUC

Posted on 2014-02-11
6
607 Views
Last Modified: 2014-02-20
is there anyway in ad users and computers to run a report of all users who have non-expiring password, and also their account status, i.e. enabled or disabled?
0
Comment
Question by:pma111
[X]
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
6 Comments
 
LVL 17

Expert Comment

by:Lior Karasenti
ID: 39849743
This script can help you to find all the none expired passwords:

http://gallery.technet.microsoft.com/scriptcenter/Know-All-User-Accounts-in-721c81f3
0
 
LVL 3

Author Comment

by:pma111
ID: 39849746
i dont want to use a script i want to use aduc, thanks.
0
 
LVL 11

Accepted Solution

by:
Manjunath Sullad earned 500 total points
ID: 39849795
open ADUC and do the following.

Right-click Saved Queries and click the New-Query option
Type in a name for your saved query, such as Find all Non expiring PW Users
Click the Define Query button
Under the Find drop-down list, select Custom Search
Click the Advanced tab
Type in (objectCategory=person)(objectClass=user)(userAccountControl:1.2.840.113556.1.4.803:=65536)
Click the OK button to save the custom entry, then click on the OK button to save the query
Now you should see all users with the flage pw never expires

Click the Export List button from the top of the ADUC windows and save to txt file.



Refer : http://social.technet.microsoft.com/Forums/windowsserver/en-US/e979eb85-8269-4004-bc71-18d9b49d4416/how-to-check-list-users-in-my-ad-configured-with-password-never-expires?forum=winserverDS
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 3

Author Comment

by:pma111
ID: 39849797
will this list account status i.e. enabled/disabled?
0
 
LVL 11

Expert Comment

by:Manjunath Sullad
ID: 39849817
You need to export disabled user list seperately, then compare with password never expiry list.

Refer below link to export disabled user list.

http://social.technet.microsoft.com/Forums/windowsserver/en-US/074e3391-000d-4713-a495-ad743c2f11e3/active-directory-users-and-computers?forum=winservergen


Export these two list to excel and compare these list, You will get Password never expiry with account disabled / enabled user list.
0
 
LVL 37

Expert Comment

by:Mahesh
ID: 39849976
You could use Bulk AD users Freeware tool from Wise soft

There is option called properties to load where you can put whatever attributes you are looking and then export this list to csv file

The search scope can be entire domain, OU or simply users list if you already have

To check account status add userAccountControl attribute and to check if it is having non expiring password add accountExpires

Tool can be run on any server \ client OS from 2003 and do not require PowerShell

http://www.wisesoft.co.uk/software/bulkadusers/default.aspx

Mahesh
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Group policies can be applied selectively to specific devices with the help of groups. Utilising this, it is possible to phase-in group policies, over a period of time, by randomly adding non-members user or computers at a set interval, to a group f…
Here's a look at newsworthy articles and community happenings during the last month.
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 …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

695 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