Solved

how do i change the last login date shown for a user in AD sbs 2003

Posted on 2011-02-10
5
317 Views
Last Modified: 2012-05-11
I need to change the date that appears for a user in Active Directory.  The user is disabled and i just edit the value that is given for last login date.

how can i do this quicky?

thanks!
0
Comment
Question by:jeremycushing
[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
5 Comments
 
LVL 35

Expert Comment

by:Cris Hanna
ID: 34865330
Have tried ADSIEdit?
0
 
LVL 84

Accepted Solution

by:
oBdA earned 500 total points
ID: 34866459
Not possible, sorry. The Last-Logon attribute, like some others, can only be written by the system, it's not an attribute that you are allowed to edit at will.
Note the "Update Privilege: This value is set by the system.".
Last-Logon Attribute
http://msdn.microsoft.com/en-us/library/ms676823(v=VS.85).aspx

In comparison "SAM-Account-Name Attribute", for example: "Update Privilege: Domain administrator"
SAM-Account-Name Attribute
http://msdn.microsoft.com/en-us/library/ms679635(v=VS.85).aspx

You can only "edit" this value to the current date and time by enabling the account, resetting the password, and logging on with it ...
0
 
LVL 1

Author Comment

by:jeremycushing
ID: 34866532
I found that out just now :(
0
 
LVL 16

Expert Comment

by:Ady Foot
ID: 35446381
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Suggested Solutions

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 article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
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.
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

751 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