We help IT Professionals succeed at work.

Find out when a PC was last used through AD

Medium Priority
Last Modified: 2012-05-06
Hi Guys,
Is there any way of finding when a PC or Laptop last connected or interacted with the domain and by who ?
We have around 112 computers in the OU of which i think only 40 are now used. The others i think are older ones that have been destroyed/ removed etc but i need to make sure they haven't been used in any way for a period of time (say 6 months).
I know there used to be an AD command to do something similar but can't remember what it is or if this would work ?
Failing this any 3rd party tool would help

Watch Question



Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

If you are just after expired computer accounts my first link will do the job  If any machine accounts have not contacted AD for six months their computer account passwords will probably have expired in any case!  Saves you $99.  


That response was too quick to be believed !!
Points to ryansoto as we have a windows 2000 native domain and dsquery didn't work. But thanks for the response.

We have Enterprise Security Reproter from www.scriptlogic.com. It's not cheap but can pretty much allow you to run report against your AD almost anyway you want. You can find out all PC not connected to your AD 30, 60, etc days. Of course this product also allow you to run report on a lot of other security related info of your AD objects as well as file server security etc.

Here's a screen capture as to what this product can do for you:

Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.