Home > Ask the Networking Experts > Network Administration with Michael Gregg Questions & Answers > LastLogon attributes
Ask The Networking Expert: Questions & Answers
EMAIL THIS

LastLogon attributes

Michael Gregg EXPERT RESPONSE FROM: Michael Gregg

Pose a Question
Other Networking Categories
Meet all Networking Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 29 May 2003
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.

>
EXPERT RESPONSE
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


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Network Administration with Michael Gregg
How do I set up a network using a DSL Ethernet cable?
What would the requirements be for a small town leisure services department to integrate and manage data from its various facilities?
Is it possible to broadcast a message to all my network computers using Server 2003?
Can CAT 6 be used to connect two switches at a distance of 550 meters?
Do you have any advice for setting up an online game server?
How do you connect two computers using Ethernet, with no hub or router?
How can I improve LAN speed performance with an HP Pentium processor without adding any memory?
Is it possible to communicate two hosts with the same IP address but different subnet mask without adding a router?
I need help hooking up two Windows XP machines to a peer to peer network.
Why is wireless transmission the least secure?

LANs (Local Area Networks)
College IT department transforms itself with network management tools
Accessing printers on a LAN while connected to a WLAN.
What makes a WAN different from a LAN and MAN?
Losing the war to lock down networks might help enterprises innovate
Prevent unauthorized USB devices with software restriction policies, third-party apps
Can users on my LAN view my computer from other machines?
LAN network design considerations
Configuring VLANs
Can my router configure devices into a LAN environment?
What is interVLAN routing?

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
32-bit IP addressing  (SearchNetworking.com)
ARCNET  (SearchNetworking.com)
master  (SearchNetworking.com)
master/slave  (SearchNetworking.com)
subnet  (SearchNetworking.com)
subnet mask  (SearchNetworking.com)
system administrator  (SearchNetworking.com)
Technical Office Protocol  (SearchNetworking.com)
Telnet  (SearchNetworking.com)
virtual systems management  (SearchNetworking.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Expert networking advice and tips for IT professionals
Visit KnowledgeStorm's comprehensive and easy to use business white paper directory.
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersNetworking Product Trials
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2000 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts