Solved

Last Authentication

Posted on 2007-11-28
3
253 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 13

Accepted Solution

by:
rhinoceros earned 250 total points
ID: 20371926
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
ID: 20372044
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
Uncontrolled local administrators groups within any organization pose a huge security risk. Because these groups are locally managed it becomes difficult to audit and maintain them.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

624 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