[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 236
  • Last Modified:

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.
0
mprs
Asked:
mprs
  • 2
  • 2
1 Solution
 
KCTSCommented:
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
0
 
mprsAuthor Commented:
That doesnt seems to work. Some of the computers on this list, is being used right now
0
 
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
0
 
KCTSCommented:
No not directly - if auditing is enabped you could trael the log - but its messy and time-consuming
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now