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?
Brian PierceConnect With a Mentor PhotographerCommented:
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
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.