Determine Last Date of Computer Logon in AD Domain
I am on a Windows 2003 server and Windows XP clients in AD Domain. Can anyone tell me a way to check when a computer and not a user, last logged into the domain? I have got many inactive computer accounts in the AD that I am on and I want to remove them. Thanks
Re: Determine Last Date of Computer Logon in AD Domain
Have you tried to check the value of the lastLogon property of the computer object?
Re: Determine Last Date of Computer Logon in AD Domain
You should also note taht lastLogon attribute is not replicated, so you will have to check its value on all DCs in the domain. Also, you may consider using lastLogonTimestamp attribute, which is replicated, but keep in mind that its not updated at every logon, this depends on the value of msDS-LogonTimeSyncInterval attribute normally.
Re: Determine Last Date of Computer Logon in AD Domain
Thank you, but where can I find that value?
Re: Determine Last Date of Computer Logon in AD Domain
Thanks for the simple answer, I am going to try that in sometime and let you know the results.