|
| |||||||||
| Tags: computerserver, login, query |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| query the last login time of the computer/server
Hi Evereyone I would like to clear some old computers / Servers account from our domain ...I 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 , I am not 100% sure the report is accurate some of the computers lastLogonTimestamp is 2008 which is incorrect. has anyone come accross a vb script or tools that can allow me to do this Thanks |
|
#2
| |||
| |||
| Re: query the last login time of the computer/server
If you run across machines with older dates than what you expect, my guess would be 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 account. I have a script that list last logon for each user account and that could be modified to use machine account. It shouldn't be that much effort it is located at: http://www.pbbergs.com/windows/downloads.htm User Account Attributes -- Paul Bergson MVP - Directory Services MCTS, MCT, MCSE, MCSA, Security+, BS CSci 2008, 2003, 2000 (Early Achiever), NT4 Microsoft's Thrive IT Pro of the Month - June 2009 http://www.pbbergs.com Please no e-mails, any questions should be posted in the NewsGroup This posting is provided "AS IS" with no warranties, and confers no rights. "mr555" <mr555@discussions.microsoft.com> wrote in message news:D2BE99BC-EECF-42FB-B820-F0AA45428D8A@microsoft.com... > Hi Evereyone > > I would like to clear some old computers / Servers account from our domain > ..I 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 , I am not 100% sure the report is accurate some > of > the computers lastLogonTimestamp is 2008 which is incorrect. > > has anyone come accross a vb script or tools that can allow me to do this > > Thanks > > > > > > > > > |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "query the last login time of the computer/server" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| error message: cant login This computer date/time is not synchornize with the date/time of network | fazalhassan | Networking & Security | 2 | 29-11-2011 09:29 AM |
| After login to my computer file fwupdate.exe appears every time. | Mustaffa | Operating Systems | 4 | 25-03-2011 05:44 AM |
| 2003 server hangs at Applying Computer Settings - Can't login | mark | Windows Server Help | 6 | 17-11-2010 03:26 AM |
| SQL query for user login | Ricky58 | Software Development | 3 | 30-01-2009 11:18 PM |
| Days Since Last Login IN ADUC Query | NewToTechnet | Active Directory | 6 | 10-03-2008 05:55 PM |