Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Information from all Domain Controllers

  1. #1
    rshanaha
    Guest

    Information from all Domain Controllers

    I created a custom query to gather the last login activity for users.

    However, we have 3 domain controllers. The query is gathering specific information from the single DC.

    How do I modify this or create a report that will query all 3 DC's and report back?

  2. #2
    Senior Member
    Join Date
    Sep 2000
    Location
    San Antonio, Texas, USA
    Posts
    6,268

    Re: Information from all Domain Controllers

    To get last logon information from your users, it is best to use Exporter Pro for this because it can check all domain controllers, whereas Hyena will only look at one controller.

    Click on your domain in Hyena to select it, then go to Tools->Exporter Pro->Export Selected Objects. Click the Settings button, then double-click on Detailed Users under Active Directory. Check the box to enable it and enter an output filename. Click the button for Set Options and check the box to export information from all domain controllers. Also make sure Last Logon is listed in the window as one of the fields to export.

    Run that export and when finished you can open the output file with Excel.

  3. #3
    rshanaha
    Guest

    Re: Information from all Domain Controllers

    That works. Thanks.

  4. #4
    Junior Member
    Join Date
    May 2004
    Posts
    23

    Lost Logon from All domain Controllers: Time Stamp

    What is the difference of Last Logon , and last Logon time stamp
    We have a user for which the last logon in the exporter output, and the manual check of all domain controllers states as 10/20/2011 11:45:48 AM
    But the UI from Hyena states lastlogon time stamp as 2/12/2012 2:43:10 AM
    How can i get the lastlogon time stamp in the exporter.
    Thanks
    Pradeep
    pradeep

  5. #5
    Senior Member
    Join Date
    Sep 2000
    Location
    San Antonio, Texas, USA
    Posts
    6,268
    LastLogonTimeStamp is a part of Active Directory whereas LastLogon is local to each domain controller. With Last Logon you have to query each domain controller to find the most recent logon time. You don't have to do that with LastLogonTimeStamp.

    You can add LastLogonTimeStamp to Exporter Pro's user queries, such as Detailed User. It might not be one of the default attributes, so you can enter that in the Other field to add it.

  6. #6
    For a good article on LastLogonTimestamp, visit:

    http://blogs.technet.com/b/askds/arc...-it-works.aspx

    This explains how it works better than I can.
    Kevin Stanush
    SystemTools Software Inc.

  7. #7
    Junior Member
    Join Date
    May 2004
    Posts
    23
    Thanks a lot for the information on lastlogon with exporter pro, can i run this as a scheduled job daily
    pradeep

  8. #8
    Senior Member
    Join Date
    Sep 2000
    Location
    San Antonio, Texas, USA
    Posts
    6,268
    Yes, you can execute Exporter Pro from the command line by using the following syntax:
    stexport.exe /CONFIG=Path\Configuration_File_Name.INI

    Once that is working the way you want, you can then schedule it with Task Scheduler.

  9. #9
    Junior Member
    Join Date
    May 2004
    Posts
    23
    How do I provide the information on which domain to access
    i.e prepare the .dat file
    I can modify the .ini file but i am unable to generate the .dat file
    ObjectFile=
    pradeep

  10. #10
    Senior Member
    Join Date
    Sep 2000
    Location
    San Antonio, Texas, USA
    Posts
    6,268
    The easiest way is to add the domain to the Object List in Exporter Pro. Run Exporter Pro, open the configuration you are using for this and then click Edit->New Object. Add a Windows 2000/2003/2008 Domain object.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •