See when a computer last has made a login to the domain?

Is it possible to see in ADUC, when a computer last has made a login to the domain?

The reason for the question is, that I have 156 computer objects, in ADUC and right now im trying to rename them after company standard, and we dont have 156 computers

There is the Colum called modified, but it doesnt seem to be last logon date.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Brian PiercePhotographerCommented:
If the domain is in 2003 functional level (or later) you can use

dsquery computer -inactive X

Replace the  X with the number of WEEKS

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mprsAuthor Commented:
That doesnt seems to work. Some of the computers on this list, is being used right now
mprsAuthor Commented:
and then again, it looks like the list is right.

In ADUC there is a colum called modified, what does it cover?
Is it also possible to see what logonname is used to login to a computer Eg. computer XXX001 is last acces with XXX user
Brian PiercePhotographerCommented:
No not directly - if auditing is enabped you could trael the log - but its messy and time-consuming
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.