Q

LastLogon attributes

Is there a tool that is available that would allow me to see when a computer last logged on to the domain? When...

I look in Server Manager, the computer name is displayed but the computer icon is grey, which means that it is currently not connected to the domain. I'm trying to do a cleanup of the computer names on the server and I want to remove all of the inactive ones. Are we talking about NT or 2k? My first approach would probably be to look for the LastLogon attribute for user and computer objects if it's a 2K AD domain. I don't think that this value is replicated, so you must retrieve the value from each domain controller. If you are comfortable working with scripts check out Microsoft TechNet - Computer Management - Enumerate Computer Accounts

http://www.microsoft.com/technet/scriptcenter

There's also aftermarket software that will accomplish this task. Listed below is several for you to checkout.
http://www.advtoolware.com/t4e/ns/ns_default.htm
http://www.somarsoft.com

This was last published in May 2003

Dig Deeper on LANs (Local Area Networks)

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchSDN

SearchEnterpriseWAN

SearchUnifiedCommunications

SearchMobileComputing

SearchDataCenter

SearchITChannel

Close