Solved

adfind syntax non expiring last login

Posted on 2014-03-06
9
305 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
 
LVL 5

Assisted Solution

by:Pankaj_401
Pankaj_401 earned 166 total points
Comment Utility
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
Don't lose your head updating email signatures!

Do your end users still have the wrong email signature? Do email signature updates bore you or fill you with a sense of dread? You can make this a whole lot easier on yourself by trusting an Exclaimer email signature management solution. Over 50 million users do...so should you!

 
LVL 3

Author Comment

by:pma111
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
are you still monitoring this Mike?
0

Featured Post

Want to promote your upcoming event?

Are you going to an event? Are you going to be exhibiting at a tradeshow? Talking at a conference? Using a promotional banner in your email signature ensures that your organization’s most important contacts stay in the know and can potentially spread the word about the event.

Join & Write a Comment

I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
Resolve DNS query failed errors for Exchange
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…
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 …

743 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

8 Experts available now in Live!

Get 1:1 Help Now