Solved

Last Authentication

Posted on 2007-11-28
3
248 Views
Last Modified: 2010-03-17
I need a script to be able to identify the last time a machine has been authenticated in Active Directory, I am trying to find dormant machines and clean up active directory; I have full rights over just one container of Active Directory, so I am limited in my capabilities, I have however been able to get a script to enable me to find out the last time a user logged on.
0
Comment
Question by:truotsuko
3 Comments
 
LVL 13

Accepted Solution

by:
rhinoceros earned 250 total points
Comment Utility
Dandelions, VCR Clocks, and Last Logon Times: These are a Few of Our Least Favorite Things
http://www.microsoft.com/technet/scriptcenter/topics/win2003/lastlogon.mspx

Or
Get a simple one in logon script, it will write down the date, time and the login name to a text file in the server. (But make sure you append it, not overwrite the text file)
echo %computername% %username% %date% %time% >> \\servername\log\log.txt
0
 
LVL 70

Assisted Solution

by:KCTS
KCTS earned 250 total points
Comment Utility
Try the OldCmp tool http://www.joeware.net/freetools/tools/oldcmp/index.htm from Joeware - it can be used to find/disable/delete unused accounts.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Join & Write a Comment

The saying goes a bad carpenter blames his tools. In the Directory Services world a bad system administrator, well, even with the best tools they’re probably not going to become an all star.  However for the system admin who is willing to spend a li…
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now