Solved

adfind syntax non expiring last login

Posted on 2014-03-06
9
310 Views
Last Modified: 2014-03-25
Is there anyway using the adfind utility to query all users in a domain, to return, domain name, account status (i.e. open/disabled), lastlogon stamp, lastlogontimestamp (the replicated field), password expires (yes/no).
Please provide syntax if you are familiar with the tool.
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
9 Comments
 
LVL 57

Accepted Solution

by:
Mike Kline earned 167 total points
ID: 39909219
See this question I helped with


http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/2003_Server/Q_27172202.html

I am leaving for work but I'll be back on in about 90 minutes for followups.

You can also use powershell if you want help with that method.

Thanks

Mike
0
 
LVL 3

Author Comment

by:pma111
ID: 39909274
That solution didnt seem to cover the exact fields I was after...
0
 
LVL 18

Assisted Solution

by:Sarang Tinguria
Sarang Tinguria earned 167 total points
ID: 39911204
Chris has a great GUI tool for all theese stuffs why not try it..??

Cjwdev | AD Info - Active Directory Reporting www.cjwdev.co.uk/Software/ADReportingTool/Info.html
0
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.

 
LVL 5

Assisted Solution

by:Pankaj_401
Pankaj_401 earned 166 total points
ID: 39911758
Hi Pma,
To know about account status(open/disabled), last logon status and password expires status, you can try this software which seems fit exactly in your environment.
0
 
LVL 3

Author Comment

by:pma111
ID: 39912024
adfind is free though, not interested in a commcercial product when there are free alternatives.

are you still monitoring this question Mike?
0
 
LVL 3

Author Comment

by:pma111
ID: 39912025
does adinfo include an accurate last login date (as one of the last login fields is not replicated between DC's).
0
 
LVL 5

Expert Comment

by:Pankaj_401
ID: 39912039
AD Info will query each DC in the domain to get accurate values for any non-replicated attributes (Last Logon etc).
0
 
LVL 3

Author Comment

by:pma111
ID: 39922934
aninfo (the version where you can run queries isnt free), hence I was ideally after some assistance on adfind syntax...
0
 
LVL 3

Author Comment

by:pma111
ID: 39922967
are you still monitoring this Mike?
0

Featured Post

Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
This article shows the method of using the Resultant Set of Policy Tool to locate Group Policy that applies a particular setting.
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…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

688 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