Results 1 to 2 of 2

Thread: query the last login time of the computer/server

  1. #1
    Join Date
    Jul 2006

    query the last login time of the computer/server

    I want to clear some old computers and Servers account from the domain that we are using. I also want to be able to generate a report to tell me week since used, last logon to that computers/servers or disable or not. I have tried oldcmp.exe, and I am not 100% sure the report is proper since some of the computers lastLogonTimestamp is 2008 which is not proper. Is there anyone who knows about a vb script or tools that can allow me to do this. Thanks.

  2. #2
    Join Date
    Sep 2005

    Re: query the last login time of the computer/server

    Incase you are running computers with older dates then what you expect, I think that you have downed a DC that these machines used to authenticate against. Each DC has its own date of the last logon for each accout. There is a script that list last logon for each user account and that could be modified to use machine account that you can search on the net.

Similar Threads

  1. Replies: 2
    Last Post: 29-11-2011, 08:29 AM
  2. Replies: 2
    Last Post: 25-03-2011, 04:44 AM
  3. Replies: 6
    Last Post: 17-11-2010, 02:26 AM
  4. SQL query for user login
    By Ricky58 in forum Software Development
    Replies: 3
    Last Post: 30-01-2009, 10:18 PM
  5. Replies: 1
    Last Post: 03-08-2008, 05:23 PM

Posting Permissions

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