?
Solved

adfind syntax non expiring last login

Posted on 2014-03-06
9
Medium Priority
?
311 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 668 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 668 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 5

Assisted Solution

by:Pankaj_401
Pankaj_401 earned 664 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

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.

Question has a verified solution.

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

This article demonstrates probably the easiest way to configure domain-wide tier isolation within Active Directory. If you do not know tier isolation read https://technet.microsoft.com/en-us/windows-server-docs/security/securing-privileged-access/s…
In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Suggested Courses
Course of the Month9 days, 3 hours left to enroll

764 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