Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2011-02-10
5
Medium Priority
?
321 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
4 Comments
 
LVL 35

Expert Comment

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

Accepted Solution

by:
oBdA earned 2000 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

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Question has a verified solution.

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

This process allows computer passwords to be managed and secured without using LAPS. This is an improvement on an existing process, enhanced to store password encrypted, instead of clear-text files within SQL
Let's recap what we learned from yesterday's Skyport Systems webinar.
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 …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
Suggested Courses

876 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