Solved

adfind syntax non expiring last login

Posted on 2014-03-06
9
308 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
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
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 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Resolve DNS query failed errors for Exchange
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
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 from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

861 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