Solved

Last Authentication

Posted on 2007-11-28
3
249 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
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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Missing Sysvol 13 31
simple AD powershell script 8 79
Global Address List will not update via Powershell or EAC. 2 46
who removed AD Domain ID 9 28
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
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 Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

867 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

22 Experts available now in Live!

Get 1:1 Help Now